All of lore.kernel.org
 help / color / mirror / Atom feed
* Labeling home directories in refpolicy
@ 2010-05-12 14:04 Alan Rouse
  2010-05-12 14:11   ` [refpolicy] " Stephen Smalley
  0 siblings, 1 reply; 13+ messages in thread
From: Alan Rouse @ 2010-05-12 14:04 UTC (permalink / raw)
  To: selinux@tycho.nsa.gov

[-- Attachment #1: Type: text/plain, Size: 892 bytes --]

I'm trying to adapt a recent refpolicy snapshot (May 4) to OpenSUSE.  (Previously I adapted the Fedora 12 policy, more as a learning exercise.)  Now I'm finding that the refpolicy is not labeling home directories properly (they all end up as default_t after "fixfiles -F relabel").   I'm running unprivileged users as user_u and root as sysadm_u, so I expect corresponding labels on files in the home directory.  Is there a special mechanism for getting the home dirs labeled consistent with the corresponding selinux user, or do I need to define labeling for the files individually in a new module?   And how do files in the home dir such as .ssh (which should have a type other than user_t) get their types?

Or perhaps something is broken in the distribution that is causing labels from the refpolicy not to be applied in the home dir?

Any insights would be appreciated!

Alan



[-- Attachment #2: Type: text/html, Size: 1442 bytes --]

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

end of thread, other threads:[~2010-05-12 17:52 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-12 14:04 Labeling home directories in refpolicy Alan Rouse
2010-05-12 14:11 ` Stephen Smalley
2010-05-12 14:11   ` [refpolicy] " Stephen Smalley
2010-05-12 14:31   ` Justin P. Mattock
2010-05-12 14:31     ` Justin P. Mattock
2010-05-12 14:48     ` Stephen Smalley
2010-05-12 14:48       ` Stephen Smalley
2010-05-12 16:44       ` Alan Rouse
2010-05-12 16:44         ` Alan Rouse
2010-05-12 17:40         ` Justin P. Mattock
2010-05-12 17:40           ` Justin P. Mattock
2010-05-12 17:52         ` [refpolicy] Labeling home directories in refpolicy (SOLVED) Alan Rouse
2010-05-12 17:52           ` Alan Rouse

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.