All of lore.kernel.org
 help / color / mirror / Atom feed
* semanage help
@ 2008-10-23  2:06 LC Bruzenak
  2008-10-23 12:53 ` Stephen Smalley
  0 siblings, 1 reply; 15+ messages in thread
From: LC Bruzenak @ 2008-10-23  2:06 UTC (permalink / raw)
  To: SE-Linux

- get the file context -
[root@v1 ~]# semanage fcontext -l | grep prelude_spool
/var/spool/prelude(/.*)?                           all files          system_u:object_r:prelude_spool_t:s0 
/var/spool/prelude-manager(/.*)?                   all files          system_u:object_r:prelude_spool_t:s0 

So it seems that it knows about this path match.

- set the file range -
[root@v1 ~]# semanage fcontext -m -r s15:c0.c1023  "/var/spool/prelude(/.*)?"
/usr/sbin/semanage: File context for /var/spool/prelude(/.*)? is not defined

[root@v1 ~]# semanage fcontext -m -r s15:c0.c1023 -t prelude_spool_t '/var/spool/prelude(/.*)?'
/usr/sbin/semanage: File context for /var/spool/prelude(/.*)? is not defined

Can someone tell me what I'm doing wrong/how to fix?

Thanks in advance,
LCB.

-- 
LC (Lenny) Bruzenak
lenny@magitekltd.com


--
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] 15+ messages in thread

end of thread, other threads:[~2008-10-31  1:26 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-23  2:06 semanage help LC Bruzenak
2008-10-23 12:53 ` Stephen Smalley
2008-10-23 16:05   ` Daniel J Walsh
2008-10-23 16:29     ` Stephen Smalley
2008-10-23 17:10       ` Daniel J Walsh
2008-10-23 17:18         ` LC Bruzenak
2008-10-23 17:29           ` Daniel J Walsh
2008-10-23 18:00             ` Stephen Smalley
2008-10-23 18:41               ` LC Bruzenak
2008-10-23 18:48                 ` Stephen Smalley
2008-10-30 18:31                   ` Daniel J Walsh
2008-10-30 18:37                     ` Joshua Brindle
2008-10-30 19:36                       ` Daniel J Walsh
2008-10-31  1:26                     ` LC Bruzenak
2008-10-23 17:26       ` Daniel J Walsh

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.