* [refpolicy] [patch 2/2] namespace: new policy for namespace.init script
@ 2011-03-03 10:44 Miroslav Grepl
2011-03-21 14:44 ` Christopher J. PeBenito
0 siblings, 1 reply; 4+ messages in thread
From: Miroslav Grepl @ 2011-03-03 10:44 UTC (permalink / raw)
To: refpolicy
http://mgrepl.fedorapeople.org/F15/apps_namespace_p2.patch
* adds polydomain attribute for login programs
* namespace.init runs restorecon
* make ssh_home_t parent of polyinstantiated directory since
pam_namespace.so can be used for ssh
* make user_tmp_t parent of polyinstantiated directory
^ permalink raw reply [flat|nested] 4+ messages in thread
* [refpolicy] [patch 2/2] namespace: new policy for namespace.init script
2011-03-03 10:44 [refpolicy] [patch 2/2] namespace: new policy for namespace.init script Miroslav Grepl
@ 2011-03-21 14:44 ` Christopher J. PeBenito
2011-03-22 12:25 ` Daniel J Walsh
0 siblings, 1 reply; 4+ messages in thread
From: Christopher J. PeBenito @ 2011-03-21 14:44 UTC (permalink / raw)
To: refpolicy
On 03/03/11 05:44, Miroslav Grepl wrote:
> http://mgrepl.fedorapeople.org/F15/apps_namespace_p2.patch
>
> * adds polydomain attribute for login programs
I'm unsure why this is necessary.
> * namespace.init runs restorecon
> * make ssh_home_t parent of polyinstantiated directory since
> pam_namespace.so can be used for ssh
I don't think I follow. Wouldn't the whole home directory be
polyinstantiated, not just the .ssh dir?
> * make user_tmp_t parent of polyinstantiated directory
This also seems odd.
--
Chris PeBenito
Tresys Technology, LLC
www.tresys.com | oss.tresys.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* [refpolicy] [patch 2/2] namespace: new policy for namespace.init script
2011-03-21 14:44 ` Christopher J. PeBenito
@ 2011-03-22 12:25 ` Daniel J Walsh
2011-03-23 13:39 ` Christopher J. PeBenito
0 siblings, 1 reply; 4+ messages in thread
From: Daniel J Walsh @ 2011-03-22 12:25 UTC (permalink / raw)
To: refpolicy
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 03/21/2011 10:44 AM, Christopher J. PeBenito wrote:
> On 03/03/11 05:44, Miroslav Grepl wrote:
>> http://mgrepl.fedorapeople.org/F15/apps_namespace_p2.patch
>>
>> * adds polydomain attribute for login programs
>
> I'm unsure why this is necessary.
>
>> * namespace.init runs restorecon
>> * make ssh_home_t parent of polyinstantiated directory since
>> pam_namespace.so can be used for ssh
>
> I don't think I follow. Wouldn't the whole home directory be
> polyinstantiated, not just the .ssh dir?
>
>> * make user_tmp_t parent of polyinstantiated directory
>
> This also seems odd.
>
>
Lets examine what is going on. We want to allow the login programs to
populate a newly created directory from /etc/skel with proper labelling.
If the admin puts /etc/skel/.ssh then this directory needs to be
created by namespace.init with ssh_home_t.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/
iEYEARECAAYFAk2IlVAACgkQrlYvE4MpobOedACdGyOxOGaCDh0yOB6ZR5Y+H+l3
S2gAn0KznF2knaYqioTEpwy1K0uRtzsX
=x2t/
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 4+ messages in thread
* [refpolicy] [patch 2/2] namespace: new policy for namespace.init script
2011-03-22 12:25 ` Daniel J Walsh
@ 2011-03-23 13:39 ` Christopher J. PeBenito
0 siblings, 0 replies; 4+ messages in thread
From: Christopher J. PeBenito @ 2011-03-23 13:39 UTC (permalink / raw)
To: refpolicy
On 03/22/11 08:25, Daniel J Walsh wrote:
> On 03/21/2011 10:44 AM, Christopher J. PeBenito wrote:
>> On 03/03/11 05:44, Miroslav Grepl wrote:
>>> http://mgrepl.fedorapeople.org/F15/apps_namespace_p2.patch
>>>
>>> * adds polydomain attribute for login programs
>
>> I'm unsure why this is necessary.
>
>>> * namespace.init runs restorecon
>>> * make ssh_home_t parent of polyinstantiated directory since
>>> pam_namespace.so can be used for ssh
>
>> I don't think I follow. Wouldn't the whole home directory be
>> polyinstantiated, not just the .ssh dir?
>
>>> * make user_tmp_t parent of polyinstantiated directory
>
>> This also seems odd.
>
> Lets examine what is going on. We want to allow the login programs to
> populate a newly created directory from /etc/skel with proper labelling.
> If the admin puts /etc/skel/.ssh then this directory needs to be
> created by namespace.init with ssh_home_t.
Yes, I know thats what happens. I just got polydir and polyparent mixed up.
--
Chris PeBenito
Tresys Technology, LLC
www.tresys.com | oss.tresys.com
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-03-23 13:39 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-03 10:44 [refpolicy] [patch 2/2] namespace: new policy for namespace.init script Miroslav Grepl
2011-03-21 14:44 ` Christopher J. PeBenito
2011-03-22 12:25 ` Daniel J Walsh
2011-03-23 13:39 ` Christopher J. PeBenito
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.