Files
plocate/updatedb.conf
Dirk Stoecker eeb80baf09 Accepting request 1108124 from home:manfred999
plocate is vastly superior (speed and database size) to mlocate while still being compatible. Mlocate is not developed since years, most major distributions switched to plocate a long time ago.

This SR adjusts plocate to be compatible to the SUSE version
of mlocate: no setgid, run as nobody, visibility check disabled.
The intention is to have a drop-in replacement for mlocate.

I tested both the RUN_UPDATEDB_AS=nobody and
RUN_UPDATEDB_AS=root variants, works for me (TM). After some
simmering in server:search a submit to Factory is intended.

Second submission, changes see changelog.

OBS-URL: https://build.opensuse.org/request/show/1108124
OBS-URL: https://build.opensuse.org/package/show/server:search/plocate?expand=0&rev=1
2023-09-21 07:04:56 +00:00

19 lines
1.1 KiB
Plaintext

# /etc/updatedb.conf: config file for plocate
# This file sets variables that are used by updatedb.
# For more info, see the updatedb.conf(5) manpage.
# Filesystems that are pruned from updatedb database
PRUNEFS="9p afs anon_inodefs auto autofs bdev binfmt binfmt_misc ceph fuse.ceph cgroup cifs coda configfs cramfs cpuset debugfs devfs devpts devtmps ecryptfs eventpollfs exofs futexfs ftpfs fuse fusectl gfs gfs2 gpfs hostfs hugetlbfs inotifyfs iso9660 jffs2 lustre misc mqueue ncpfs nfs NFS nfs4 nfsd nnpfs ocfs ocfs2 pipefs proc ramfs rpc_pipefs securityfs selinuxfs sfs shfs smbfs sockfs spufs sshfs subfs supermount sysfs tmpfs ubifs udf usbfs vboxsf vperfctrfs"
# Paths which are pruned from updatedb database
PRUNEPATHS="/tmp /var/tmp /var/cache /var/lock /var/run /var/spool /mnt /cdrom /usr/tmp /proc /media /sys /.snapshots /var/run/media"
# Folder names that are pruned from updatedb database
PRUNENAMES = ".git .hg .svn .bzr .arch-ids {arch} CVS"
# Skip bind mounts
# DISABLED for bnc#994663 (probably still valid for plocate?)
# and to avoid btrfs subvolume issues
PRUNE_BIND_MOUNTS="no"