https://bugzilla.novell.com/show_bug.cgi?id=816477 https://bugzilla.novell.com/show_bug.cgi?id=816477#c0 Summary: updatedb does not read UPDATEDB_PRUNEPATHS in /etc/sysconfig/locate Classification: openSUSE Product: openSUSE Factory Version: 13.1 Milestone 0 Platform: x86-64 OS/Version: SUSE Other Status: NEW Severity: Minor Priority: P5 - None Component: Basesystem AssignedTo: pth@suse.com ReportedBy: vdziewiecki@suse.com QAContact: qa-bugs@suse.de Found By: Development Blocker: No Steps to reproduce: 1. Put a file in one of the folders mentioned in UPDATEDB_PRUNEPATHS in /etc/sysconfig/locate, for example: ":> /mnt/secret_file" 2. Run "updatedb" 3. Check what updatedb is doing using "ps axv |grep find", then run "locate secret_file" Actual results: - "locate secret_file" locates /mnt/secret_file - "ps axv |grep find" lists this find command: /usr/bin/find / -type d ( -fstype nfs -o -fstype nfs4 -o -fstype NFS -o -fstype proc -o -fstype afs -o -fstype smbfs -o -fstype autofs -o -fstype iso9660 -o -fstype ncpfs -o -fstype coda -o -fstype devpts -o -fstype ftpfs -o -fstype devfs -o -fstype mfs -o -fstype sysfs -o -fstype shfs -o -fstype cifs -o -fstype 9P -o -fstype unknown -o -regex \(^/tmp$\)\|\(^/usr/tmp$\)\|\(^/var/tmp$\)\|\(^/afs$\)\|\(^/amd$\)\|\(^/sfs$\)\|\(^/proc$\)\|\(^/var/spool$\) ) -prune -o -print0 Expected results: - locate secret_file does not locate files in /mnt - for each pruned directory there should be a regex in that find command. OR /etc/sysconfig/locate should be removed if it is not used anyway, to avoid confusion. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.