cron: don't add zfs to PRUNEFS

Resolves: #1065366
This commit is contained in:
Michal Sekletar 2014-07-25 20:19:43 +02:00
parent 92a088d5e8
commit 6f379f79f0
2 changed files with 5 additions and 2 deletions

View File

@ -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"

View File

@ -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 <msekleta@redhat.com> - 0.26-6
- Don't add zfs to PRUNEFS when calling updatedb from cron (#1065366)
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.26-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild