building rpms with custom contexts

Fritz Elfert fritz.elfert at millenux.com
Sat Jul 3 01:17:54 UTC 2004


Hi,

I want to build several rpms for Fedora Core 2 which should install/use
some custom domains/file-contexts. Is there any doc or how-to for
this. Do i have to load the custom policy on the build-machine
at build-time or is there something similar like the %attr(...) macro for 
setting file-contexts in the %files section of a spec? How are new
policies installed _without_ having policy-sources installed on the
target machine?

Thanks for any hint
 -Fritz



More information about the selinux mailing list