Description of problem:
On upgrading our central log server took almost 2 hours to run restorecon as a result of an selinux policy pkg update.
It would be wonderful to backport the ability to exclude relabeling of certain dirs from the fedora fixfiles to the rhel6.4 fixfiles.
our log server has A LOT of file in /var/log - files for every host, multiple per day, spanning back years. We'd like to not relabel all of them on each update.
Try running restorecon on a massive dir with lots of files and time it. That's how long the yum process runs.
Backported fixfiles script from Fedora
Add /var/log to /etc/selinux/fixfiles_exclude_dirs should stop fixfiles and selinux-policy updates from looking at this directory.
Is this issue really fixed? I haven't found this in Changelog, man pages nor in git commits.
Fixed in policycoreutils-2.0.83-19.33.el6
Yes, it seems to be ok to me too.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.