Red Hat Bugzilla – Bug 147486
Postinstall script is very slow
Last modified: 2007-11-30 17:10:59 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5)
Gecko/20041228 Firefox/1.0 Fedora/1.0-8
Description of problem:
fixfiles -C /etc/selinux/strict/contexts/file/file_contexts.pre restore
There's no such directory.
Also, is the filename correct (.pre?)
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. See summary
Fixed in selinux-policy-strict-1.21.9-1
Reopening to track a related problem.
I feel that there's something wrong with the postinstall script,
because it takes an absurdly long amount of time now.
It is definitely working, but it seems to me that it is relabeling the whole
filesystem - it's just way too slow.
Could this have something to do with the interplay between the
binary and source packages (I have both installed, for both policies
actually)? If the .pre file is gone for some reason
due to those scripts, I assume fixfiles -C will go and relabel everything..
In any case, it takes way too long, which is a bug.
Grr... testing with rpm alone shows run times as acceptable.
This might be a yum issue, or a config issue. I don't know what's
going on, so closing again until I find out.