Skip to contentSkip to conversation

semanage fcontext - policy loading

DISCUSSION Russell Coker 2 participants 2 messages Sep 10, 2008 SELinux security module

lore
Share & tools
lore
#0 lore raw

Is there some good reason for rebuilding and loading the policy as part of the process of running "semanage fcontext"?

It makes the process take a long time and doesn't seem to serve any purpose.

Signature · 9 lines
[email protected]
http://etbe.coker.com.au/          My Blog

http://www.coker.com.au/sponsorship.html Sponsoring Free Software development

--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.
#1 lore raw
Quoted 4 lines · Russell Coker

Is there some good reason for rebuilding and loading the policy as part of the process of running "semanage fcontext"?

It makes the process take a long time and doesn't seem to serve any purpose.

See the FIXME comment in libsemanage/src/direct_api.c, and Dan's patch and subsequent discussion:
http://marc.info/?l=selinux&m=121874340121830&w=2

Unfortunately there remain some problems with the patch, as discussed there.

Signature · 8 lines
Stephen Smalley
National Security Agency


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.