From: Joshua Brindle <jbrindle@tresys.com>
To: Karl MacMillan <kmacmillan@mentalrootkit.com>
Cc: Stephen Smalley <sds@tycho.nsa.gov>,
Todd Miller <tmiller@tresys.com>,
selinux@tycho.nsa.gov
Subject: Re: [patch 0/4] libsemanage: genhomedircon replacement
Date: Wed, 15 Aug 2007 17:40:17 -0400 [thread overview]
Message-ID: <46C372C1.2000208@tresys.com> (raw)
In-Reply-To: <6FE441CD9F0C0C479F2D88F959B01588EDEBAB@exchange.columbia.tresys.com>
Joshua Brindle wrote:
> Karl MacMillan wrote:
>> On Wed, 2007-08-15 at 16:47 -0400, Joshua Brindle wrote:
>>> Karl MacMillan wrote:
>>>> On Wed, 2007-08-15 at 16:31 -0400, Stephen Smalley wrote:
>>>>
>>>> So I vote for removing genhomedircon entirely unless some other
>>>> objection comes up. Anyone that wants that behavior could certainly
>>>> set something up fairly easily.
>>>>
>>> You haven't addressed the other concerns (policy server
>> Until this is available upstream or it is certain that it
>> will be merged I don't think we can make decisions around the
>> policy server. It is simply too much of an unknown.
>>
>> Your question didn't make it to this list - here it is for others:
>>
>> "They are needed for policy server to allow users to make
>> changes to their policy. We need something like
>>
>> Type httpd_ROLE_script_ra system_u:object_r:httpd_ROLE_types_t
>> Type httpd_ROLE_script_ro system_u:object_r:httpd_ROLE_types_t
>>
>> So that users can be granted access to use those types in modules:
>>
>> Allow user_t httpd_user_types_t: type { add use };
>>
>> And can create new types in their type space for finer
>> grained access control."
>>
>> Role expansion can happen during the policy build - it
>> doesn't depend on system information (especially since role
>> expansion doesn't work for modules).
>>
>>> user labeling
>>> of home directories, etc).
>> The current method simply does not scale - it can't possibly
>> work on systems with users in LDAP (enumeration of all users
>> is just too expensive). So genhomedircon is not an answer to this.
>>
>> The options that we have are:
>>
>> 1) Have restorecon set this at runtime for home directories
>> (it has all of the needed informaiton - there is no reason to
>> do an expansion like genhomedircon does).
>>
>> 2) Abandon automatic user re-labeling for home directories by default.
>> The initial label could be set and inherited on the home
>> directory at creation (or done explicitly by the admin) and
>> restorecon will just not reset the user part of the context
>> (I believe this is the current default).
>>
>>> It needs to stay and people that don't want it don't have to use it.
>>>
>> a) there is no real way to not use it currently and
>> b) every time there is a choice like this it has a huge
>> impact on maintenance and usability.
>>
>> I think we should make a choice and support one standard way
>> of doing things. People are still free to customize, but the
>> upstream should have one standard.
>>
>
> Then the upstream should have it available. RH doesn't have to use it
> but like I told you off list we have systems that use it and need it.
>
Targeted policy doesn't need it at all and it just slows down otherwise
faster operations. We can add a flag to disable it in this patchset if
that is desired.
--
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.
next prev parent reply other threads:[~2007-08-15 21:40 UTC|newest]
Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-15 20:44 [patch 0/4] libsemanage: genhomedircon replacement tmiller
2007-08-15 15:10 ` Karl MacMillan
2007-08-15 15:29 ` Joshua Brindle
2007-08-15 15:47 ` Karl MacMillan
2007-08-15 15:57 ` Joshua Brindle
2007-08-15 17:22 ` Stephen Smalley
2007-08-15 17:37 ` Joshua Brindle
2007-08-15 19:21 ` Karl MacMillan
2007-08-15 19:16 ` Karl MacMillan
2007-08-15 19:56 ` Stephen Smalley
2007-08-15 20:17 ` Karl MacMillan
2007-08-15 20:31 ` Stephen Smalley
2007-08-15 20:41 ` Karl MacMillan
2007-08-15 20:47 ` Joshua Brindle
2007-08-15 21:09 ` Karl MacMillan
2007-08-15 21:12 ` Joshua Brindle
2007-08-15 21:40 ` Joshua Brindle [this message]
2007-08-17 13:33 ` Karl MacMillan
2007-08-16 16:01 ` Stephen Smalley
2007-08-17 13:31 ` Karl MacMillan
2007-08-17 18:20 ` Joshua Brindle
2007-08-27 17:50 ` Daniel J Walsh
2007-08-28 14:21 ` Joshua Brindle
2007-08-28 14:30 ` Stephen Smalley
2007-08-28 14:46 ` Karl MacMillan
2007-08-28 16:37 ` Daniel J Walsh
2007-09-06 18:51 ` Stephen Smalley
2007-09-06 18:56 ` Karl MacMillan
2007-09-06 20:33 ` Daniel J Walsh
2007-09-07 13:48 ` Karl MacMillan
2007-08-15 20:44 ` Joshua Brindle
2007-08-15 20:44 ` [patch 1/4] libsemanage: genhomedircon initial cleanup tmiller
2007-08-15 20:44 ` [patch 2/4] libsemanage: genhomedircon replacement tmiller
2007-08-16 19:31 ` Stephen Smalley
2007-08-15 20:44 ` [patch 3/4] libsemanage: test functions tmiller
2007-08-15 20:44 ` [patch 4/4] libsemanage: remove genhomedircon python script tmiller
-- strict thread matches above, loose matches on Subject: below --
2007-09-06 19:16 [patch 0/4] libsemanage: genhomedircon replacement Todd C. Miller
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=46C372C1.2000208@tresys.com \
--to=jbrindle@tresys.com \
--cc=kmacmillan@mentalrootkit.com \
--cc=sds@tycho.nsa.gov \
--cc=selinux@tycho.nsa.gov \
--cc=tmiller@tresys.com \
/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.