[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: SELinux settings in SPEC file



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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]