All of lore.kernel.org
 help / color / mirror / Atom feed
* Running racoon from init_t?
@ 2007-03-09 17:09 Paul Moore
  2007-03-09 17:36 ` Stephen Smalley
  0 siblings, 1 reply; 5+ messages in thread
From: Paul Moore @ 2007-03-09 17:09 UTC (permalink / raw)
  To: SE Linux; +Cc: Daniel J Walsh, Christopher J.PeBenito

This is in regards to RHEL5 and the MLS policy.

I'm trying to run racoon at startup, from within the rc.local script, which 
means it is being run from init/init_t.  Whenever I try to do this I see the 
following AVC denials:

***
type=AVC msg=audit(1173457995.784:305): avc:  denied  { use } for  pid=2105 
comm="racoon" name="console" dev=tmpfs ino=725 
scontext=system_u:system_r:racoon_t:s0-s15:c0.c1023 
tcontext=system_u:system_r:init_t:s0-s15:c0.c1023 tclass=fd
type=AVC msg=audit(1173457995.784:305): avc:  denied  { use } for  pid=2105 
comm="racoon" name="console" dev=tmpfs ino=725 
scontext=system_u:system_r:racoon_t:s0-s15:c0.c1023 
tcontext=system_u:system_r:init_t:s0-s15:c0.c1023 tclass=fd
type=AVC msg=audit(1173457995.784:305): avc:  denied  { use } for  pid=2105 
comm="racoon" name="console" dev=tmpfs ino=725 
scontext=system_u:system_r:racoon_t:s0-s15:c0.c1023 
tcontext=system_u:system_r:init_t:s0-s15:c0.c1023 tclass=fd
***

I suspect this can fixed by adding the following to the policy, suggestions?

 init_use_fds(racoon_t)

-- 
paul moore
linux security @ hp

--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-03-09 21:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-09 17:09 Running racoon from init_t? Paul Moore
2007-03-09 17:36 ` Stephen Smalley
2007-03-09 17:40   ` Stephen Smalley
2007-03-09 19:31     ` Paul Moore
2007-03-09 21:30     ` Christopher J. PeBenito

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.