Jump to Navigation

SELinux cupshplippatch README and INSTALL

The hpssd daemon (from the hplip package) in Debian etch does not work correctly with the selinux policies in etch. There are several reasons for this. This package contains a module to correct these issues.

The module in this package is called cupshplippatch, and it depends on the cups module.

See also Debian bug 443177.

The Makefile should work in a Debian environment. It is untested in other environments, but it should not be too hard to get it to work on relatively recent selinux distributions.

After running the Makefile, do a semodule -i cupspatch.pp. You may need to insert the default cips module first:

semodule -i /usr/share/selinux/refpolicy-targeted/cups.pp

or

semodule -i /usr/share/selinux/refpolicy-strict/cups.pp

Paths may be different on your distribution.

Finally, you have to relabel the hpssd.python file:

fixfiles restore /usr/lib/hplip/hpssd.py


General_article | by Dr. Radut