Security Enhanced Linux
What's New
Frequently Asked Questions
Background
Documents
License
Download
Participating
Mail List
Archives
Remaining Work
Contributors
Related Work
Press Releases
Information Assurance Research
NIARL In-house Research Areas
Mathematical Sciences Program
Sabbaticals
Computer & Information Sciences Research
Technology Transfer
Advanced Computing
Advanced Mathematics
Communications & Networking
Information Processing
Microelectronics
Other Technologies
Technology Fact Sheets
Publications
Related Links
|
SELinux Mailing ListRe: Added is_context_configurable function
From: Colin Walters <walters_at_redhat.com>
Date: Tue, 11 Jan 2005 17:10:40 -0500
I've said this before, but I don't like the idea of having to edit file_contexts whenever I want to change the labels. I feel that the on-disk version should be canonical, and the file_contexts only used for system initialization. One major reason for this is that right now, practically speaking, it's difficult to maintain a local system policy delta, *particularly* with files/file_contexts. file_contexts is a machine-generated file; in Fedora it's included in the selinux-policy-targeted package. If you change it you get .rpmnew files which you have to manually merge on every package update. This could be solved to some extent if we also had matchpathcon read from file_contexts.local or something. Even if we implemented that though, it is still painful for administrators to e.g. use a non-default Apache DocumentRoot; they will have to remember to create an entry in their file_contexts.local file with a regexp matching the path and all of the possible alternate types, which is pretty unintuitive. Although the obvious merge conflict is gone, you still have to manually keep this line in sync with any Apache policy updates.
> Failing to associate the context with a location in any manner means To say the least.
> but running fixfiles relabel will no longer correct If your /etc/shadow is somehow mislabeled, I would think that you likely have larger problems than a fixfiles relabel could solve; e.g. you accidentally untarred an old system snapshot onto /.
> BTW, customizable or alternatives seems better than configurable. Yeah, I like customizable, but it's not a strong preference. -- 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.Received on Tue 11 Jan 2005 - 17:10:54 EST |
|
Date Posted: Jan 15, 2009 | Last Modified: Jan 15, 2009 | Last Reviewed: Jan 15, 2009 |