policycoreutils/policycoreutils-rhat.patch
Daniel J Walsh 86ff526165 * Thu Feb 17 2005 Dan Walsh <dwalsh@redhat.com> 1.21.17-2
- Only restorecon on ext[23], reiser and xfs
2005-02-18 00:39:08 +00:00

12 lines
603 B
Diff

--- policycoreutils-1.21.17/scripts/fixfiles~ 2005-02-17 19:16:10.000000000 -0500
+++ policycoreutils-1.21.17/scripts/fixfiles 2005-02-17 19:20:14.000000000 -0500
@@ -78,7 +78,7 @@
esac; \
fi; \
done | \
- while read pattern ; do find $pattern -maxdepth 0 ! -fstype nfs ! -fstype tmpfs -print; done 2> /dev/null | \
+ while read pattern ; do find $pattern -maxdepth 0 -fstype ext2 -fstype ext3 -fstype reiserfs -fstype xfs -print; done 2> /dev/null | \
${RESTORECON} -R $2 -v -e /root -e /home -e /tmp -e /var/tmp -e /dev -f -
rm -f ${TEMPFILE}
fi