All of lore.kernel.org
 help / color / mirror / Atom feed
* Filesystem module
@ 2013-03-25 21:14 Rob Shelley
  2013-03-26 16:56 ` Christopher J. PeBenito
  0 siblings, 1 reply; 5+ messages in thread
From: Rob Shelley @ 2013-03-25 21:14 UTC (permalink / raw)
  To: selinux@tycho.nsa.gov

I am evaluating OCFS2 on a CentOS 6.3 cluster and have run into a little bit of a snag with SELinux.  After the OCFS2 partition is mounted no writes can be performed to the shared device from either node because they are being blocked by SELinux.  The core of the issue is that the CentOS default policy does not list OCFS2 as a filesystem that supports xattrs in filesystem.te.  It's a one line fix:

fs_use_xattr ocfs2 gen_context(system_u:object_r:fs_t,s0);

However, it would seem that the only way to implement this change in filesystem.te is by rebuilding the base policy.  (I have not found a way to just reload the filesytem module of the base policy.)  And even if there were an easy way to reload just the filesystem module of the base policy I believe this would be overwritten if an update is released.

So, I was wondering if there was a way to incorporate this line into a module, say ocfs2.te.  My initial attempts have failed, but I am assuming that is because I do not have the correct dependencies listed in the require section.

Any suggestions?

Rob 




--
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:[~2013-04-01 17:38 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-25 21:14 Filesystem module Rob Shelley
2013-03-26 16:56 ` Christopher J. PeBenito
2013-03-26 18:56   ` Daniel J Walsh
2013-03-28 14:13     ` David Quigley
2013-04-01 17:38       ` Eric Paris

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.