SELinux settings in SPEC file

Aurelien Bompard gauret at free.fr
Fri Apr 14 09:49:13 UTC 2006


Enrico Scholz wrote:
> You should add a '|| :' after each command to avoid problems when SELinux
> is disabled or when /usr is mounted read-only.

Right. The semanage call will also fail on upgrades, since the policy is
already defined. So you'll have to add 2>/dev/null too.


Aurélien.
-- 
http://aurelien.bompard.org  ~~~~  Jabber : abompard at jabber.fr
"Unix was not designed to stop you from doing stupid things, because that
would also stop you from doing clever things." -- Doug Gwyn





More information about the fedora-extras-list mailing list