Hello community, here is the log from the commit of package mlocate for openSUSE:Factory checked in at 2016-01-21 23:44:46 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/mlocate (Old) and /work/SRC/openSUSE:Factory/.mlocate.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "mlocate" Changes: -------- --- /work/SRC/openSUSE:Factory/mlocate/mlocate.changes 2015-08-23 17:44:41.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.mlocate.new/mlocate.changes 2016-01-22 01:10:29.000000000 +0100 @@ -1,0 +2,12 @@ +Wed Jan 20 10:58:56 UTC 2016 - tchvatal@suse.com + +- Cron file updates: + - Remove the ac/battery detection that does not work + - Exit with 1 when the updatedb is not executable + +------------------------------------------------------------------- +Wed Jan 20 10:53:55 UTC 2016 - tchvatal@suse.com + +- Add more mounts to exclude in updatedb.conf + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ mlocate.spec ++++++ --- /var/tmp/diff_new_pack.VoWHxe/_old 2016-01-22 01:10:31.000000000 +0100 +++ /var/tmp/diff_new_pack.VoWHxe/_new 2016-01-22 01:10:31.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package mlocate # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed ++++++ mlocate.cron ++++++ --- /var/tmp/diff_new_pack.VoWHxe/_old 2016-01-22 01:10:31.000000000 +0100 +++ /var/tmp/diff_new_pack.VoWHxe/_new 2016-01-22 01:10:31.000000000 +0100 @@ -4,15 +4,6 @@ # ensure we have proper umask bnc#941296 umask 0022 -# check if we run on battery and if so then don't run -if which on_ac_power >/dev/null 2>&1; then - ON_BATTERY=0 - on_ac_power >/dev/null 2>&1 || ON_BATTERY=$? - if [ "${ON_BATTERY}" -eq 1 ]; then - exit 0 - fi -fi - # check if we are already running (lockfile) LOCKFILE="/var/lock/mlocate.daily.lock" if [ -e "${LOCKFILE}" ]; then @@ -68,5 +59,5 @@ /usr/bin/su "${RUN_UPDATEDB_AS}" -c "/usr/bin/updatedb ${NODEVS} ${UPDATEDB_PRUNEFS} ${UPDATEDB_PRUNEPATHS}" else echo >&2 "Warning: \"/usr/bin/updatedb\" is not executable, unable to run updatedb." - exit 0 + exit 1 fi ++++++ updatedb.conf ++++++ --- /var/tmp/diff_new_pack.VoWHxe/_old 2016-01-22 01:10:31.000000000 +0100 +++ /var/tmp/diff_new_pack.VoWHxe/_new 2016-01-22 01:10:31.000000000 +0100 @@ -4,13 +4,13 @@ # For more info, see the updatedb.conf(5) manpage. # Filesystems that are pruned from updatedb database -PRUNEFS="afs anon_inodefs auto autofs bdev binfmt binfmt_misc cgroup cifs coda configfs cramfs cpuset debugfs devfs devpts devtmps ecryptfs eventpollfs exofs futexfs ftpfs fuse fusectl gfs gfs2 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" +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 CVS" +PRUNENAMES = ".git .hg .svn .bzr .arch-ids {arch} CVS" # Skip bind mounts. PRUNE_BIND_MOUNTS="yes"