All of lore.kernel.org
 help / color / mirror / Atom feed
From: LC Bruzenak <lenny@MagitekLtd.com>
To: SE-Linux <selinux@tycho.nsa.gov>
Subject: semanage help
Date: Wed, 22 Oct 2008 21:06:52 -0500	[thread overview]
Message-ID: <1224727612.14755.244.camel@homeserver> (raw)

- 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.

             reply	other threads:[~2008-10-23  2:06 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-23  2:06 LC Bruzenak [this message]
2008-10-23 12:53 ` semanage help 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1224727612.14755.244.camel@homeserver \
    --to=lenny@magitekltd.com \
    --cc=selinux@tycho.nsa.gov \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.