diff --git a/mlocate.cron b/mlocate.cron index ffd1a07..2fed430 100644 --- a/mlocate.cron +++ b/mlocate.cron @@ -1,5 +1,5 @@ #!/bin/sh -nodevs=$(< /proc/filesystems awk '$1 == "nodev" && $2 != "rootfs" { print $2 }') +nodevs=$(< /proc/filesystems awk '$1 == "nodev" && $2 != "rootfs" && $2 != "zfs" { print $2 }') renice +19 -p $$ >/dev/null 2>&1 ionice -c2 -n7 -p $$ >/dev/null 2>&1 /usr/bin/updatedb -f "$nodevs" diff --git a/mlocate.spec b/mlocate.spec index 1d1f344..5c49f37 100644 --- a/mlocate.spec +++ b/mlocate.spec @@ -3,7 +3,7 @@ Summary: An utility for finding files by name Name: mlocate Version: 0.26 -Release: 5%{?dist} +Release: 6%{?dist} License: GPLv2 URL: https://fedorahosted.org/mlocate/ Group: Applications/System @@ -62,6 +62,9 @@ fi %ghost %{_localstatedir}/lib/mlocate/mlocate.db %changelog +* Fri Jul 25 2014 Michal Sekletar - 0.26-6 +- Don't add zfs to PRUNEFS when calling updatedb from cron (#1065366) + * Sat Jun 07 2014 Fedora Release Engineering - 0.26-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild