From: Daniel J Walsh <dwalsh@redhat.com>
To: Stephen Smalley <sds@epoch.ncsc.mil>, SELinux <SELinux@tycho.nsa.gov>
Subject: Problem with mount context.
Date: Mon, 28 Feb 2005 12:19:42 -0500 [thread overview]
Message-ID: <422352AE.8070705@redhat.com> (raw)
https://bugzilla.redhat.com/beta/show_bug.cgi?id=149815
How useful is the mount fscontext stuff? Basically trying to get
policy to work with a non extended attribute file system,
doing a mount fscontext seems like a nice solution. The problem is that
the policy does not allow all file types to associate to
themselves.
SO in the bug above we end up telling the user to mount the directory as
squid_cache_t and now he has breakage of
kernel: audit(1109609802.473:0): avc: denied { associate } for
pid=4340 exe=/usr/sbin/squid name=00
scontext=root:object_r:squid_cache_t
tcontext=system_u:object_r:squid_cache_t tclass=filesystem
What do you think of adding some kind of rule?
allow rwdirs self:fileystem associate;
Then add a this attribute to file_types that allow writing? Need better
name for attribute.
Or is this too broad a rule change.
ideas?
Dan
--
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:[~2005-02-28 17:19 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=422352AE.8070705@redhat.com \
--to=dwalsh@redhat.com \
--cc=SELinux@tycho.nsa.gov \
--cc=sds@epoch.ncsc.mil \
/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.