Description of problem: By default empty /etc/updatedb.conf is installed. This means /proc /sys and other useless (for locate feature) directories are scanned. Version-Release number of selected component (if applicable): 1.1.13 How reproducible: 100% Steps to Reproduce: 1. Just let the systemd service run Actual results: /proc /sys added Expected results: Not added Additional info: I have now updatedb.conf from mlocate with some additions: PRUNENAMES = ".git .hg .svn .bzr .arch-ids {arch} CVS" PRUNEFS = "tracefs gvfsd-fuse pstore cgroup2 devtmpfs 9p afs anon_inodefs auto autofs bdev binfmt_misc cgroup cifs coda configfs cpuset debugfs devpts ecryptfs exofs fuse fuse.sshfs fusectl gfs gfs2 gpfs hugetlbfs inotifyfs iso9660 jffs2 lustre mqueue ncpfs nfs nfs4 nfsd pipefs proc ramfs rootfs rpc_pipefs securityfs selinuxfs sfs sockfs sysfs tmpfs ubifs udf usbfs ceph fuse.ceph" (not sure is gvfsd-fuse needed or does fuse include it) Or ship config file with PRUNENAMES PRUNEPATHS PRUNE_BIND_MOUNTS options commented?
Indeed, /sys and /proc are indexed. This should be forwarded upstream… I don't think it is a good default to index /sys or /proc, but maybe there's some reasoning behind this.
FEDORA-2022-70a7ad982a has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2022-70a7ad982a
FEDORA-2022-70a7ad982a has been pushed to the Fedora 38 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2022-af20cf06e0 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2022-af20cf06e0
FEDORA-2022-af20cf06e0 has been pushed to the Fedora 37 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2022-06b128cd5f has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2022-06b128cd5f
FEDORA-2022-c2e36d044e has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-c2e36d044e
FEDORA-2022-c2e36d044e has been pushed to the Fedora 36 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-c2e36d044e` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-c2e36d044e See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2022-06b128cd5f has been pushed to the Fedora 35 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-06b128cd5f` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-06b128cd5f See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2022-c2e36d044e has been pushed to the Fedora 36 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2022-06b128cd5f has been pushed to the Fedora 35 stable repository. If problem still persists, please make note of it in this bug report.