2010-06-02 20:07:06

by Daniel Walsh

[permalink] [raw]
Subject: [refpolicy] apps_livecd.patch

http://people.fedoraproject.org/~dwalsh/SELinux/F14/apps_livecd.patch

Policy for livecd tool to allow it to build alternate livecd for
different os and policy versions.


2010-07-07 14:29:03

by cpebenito

[permalink] [raw]
Subject: [refpolicy] apps_livecd.patch

On 06/02/10 16:07, Daniel J Walsh wrote:
> http://people.fedoraproject.org/~dwalsh/SELinux/F14/apps_livecd.patch
>
> Policy for livecd tool to allow it to build alternate livecd for
> different os and policy versions.

Merged.

--
Chris PeBenito
Tresys Technology, LLC
http://www.tresys.com | oss.tresys.com

2010-07-07 14:31:38

by domg472

[permalink] [raw]
Subject: [refpolicy] apps_livecd.patch

On 07/07/2010 04:29 PM, Christopher J. PeBenito wrote:
> On 06/02/10 16:07, Daniel J Walsh wrote:
>> http://people.fedoraproject.org/~dwalsh/SELinux/F14/apps_livecd.patch
>>
>> Policy for livecd tool to allow it to build alternate livecd for
>> different os and policy versions.
>
> Merged.
>

This policy has a bug:

+seutil_domtrans_setfiles_mac(livecd_t)

should be: seutil_run_setfiles_mac(livecd_t, system_r)

Because else you will hit a constraint (no role is allowed the
setfiles_mac_t domain)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 261 bytes
Desc: OpenPGP digital signature
Url : http://oss.tresys.com/pipermail/refpolicy/attachments/20100707/214aa44c/attachment.bin

2010-07-12 14:43:14

by Daniel Walsh

[permalink] [raw]
Subject: [refpolicy] apps_livecd.patch

On 07/07/2010 10:31 AM, Dominick Grift wrote:
> On 07/07/2010 04:29 PM, Christopher J. PeBenito wrote:
>> On 06/02/10 16:07, Daniel J Walsh wrote:
>>> http://people.fedoraproject.org/~dwalsh/SELinux/F14/apps_livecd.patch
>>>
>>> Policy for livecd tool to allow it to build alternate livecd for
>>> different os and policy versions.
>>
>> Merged.
>>
>
> This policy has a bug:
>
> +seutil_domtrans_setfiles_mac(livecd_t)
>
> should be: seutil_run_setfiles_mac(livecd_t, system_r)
>
Actually, it should be removed since the proper code is in livecd_run.

Currently we don't allow system (init) processes to run this domain.

> Because else you will hit a constraint (no role is allowed the
> setfiles_mac_t domain)
>
>
>
>
> _______________________________________________
> refpolicy mailing list
> refpolicy at oss.tresys.com
> http://oss.tresys.com/mailman/listinfo/refpolicy

2010-07-12 14:51:34

by domg472

[permalink] [raw]
Subject: [refpolicy] apps_livecd.patch

On 07/12/2010 04:43 PM, Daniel J Walsh wrote:
> On 07/07/2010 10:31 AM, Dominick Grift wrote:
>> On 07/07/2010 04:29 PM, Christopher J. PeBenito wrote:
>>> On 06/02/10 16:07, Daniel J Walsh wrote:
>>>> http://people.fedoraproject.org/~dwalsh/SELinux/F14/apps_livecd.patch
>>>>
>>>> Policy for livecd tool to allow it to build alternate livecd for
>>>> different os and policy versions.
>>>
>>> Merged.
>>>
>>
>> This policy has a bug:
>>
>> +seutil_domtrans_setfiles_mac(livecd_t)
>>
>> should be: seutil_run_setfiles_mac(livecd_t, system_r)
>>
> Actually, it should be removed since the proper code is in livecd_run.

Then what is this for:
role system_r types livecd_t;

Also:

http://lists.fedoraproject.org/pipermail/selinux/2010-June/012699.html


> Currently we don't allow system (init) processes to run this domain.
>
>> Because else you will hit a constraint (no role is allowed the
>> setfiles_mac_t domain)
>>
>>
>>
>>
>> _______________________________________________
>> refpolicy mailing list
>> refpolicy at oss.tresys.com
>> http://oss.tresys.com/mailman/listinfo/refpolicy
>


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 261 bytes
Desc: OpenPGP digital signature
Url : http://oss.tresys.com/pipermail/refpolicy/attachments/20100712/99a8910c/attachment.bin

2010-07-12 17:33:40

by Daniel Walsh

[permalink] [raw]
Subject: [refpolicy] apps_livecd.patch

On 07/12/2010 10:51 AM, Dominick Grift wrote:
> On 07/12/2010 04:43 PM, Daniel J Walsh wrote:
>> On 07/07/2010 10:31 AM, Dominick Grift wrote:
>>> On 07/07/2010 04:29 PM, Christopher J. PeBenito wrote:
>>>> On 06/02/10 16:07, Daniel J Walsh wrote:
>>>>> http://people.fedoraproject.org/~dwalsh/SELinux/F14/apps_livecd.patch
>>>>>
>>>>> Policy for livecd tool to allow it to build alternate livecd for
>>>>> different os and policy versions.
>>>>
>>>> Merged.
>>>>
>>>
>>> This policy has a bug:
>>>
>>> +seutil_domtrans_setfiles_mac(livecd_t)
>>>
>>> should be: seutil_run_setfiles_mac(livecd_t, system_r)
>>>
>> Actually, it should be removed since the proper code is in livecd_run.
>
> Then what is this for:
> role system_r types livecd_t;
>
Probably should not be there. sepolgen added it. I guess we could
allow some tool to generate livecd via init scripts. cobbler? But the
policy should then be livecd_run(cobbler_t, system_r)


> Also:
>
> http://lists.fedoraproject.org/pipermail/selinux/2010-June/012699.html
>
>
>> Currently we don't allow system (init) processes to run this domain.
>>
>>> Because else you will hit a constraint (no role is allowed the
>>> setfiles_mac_t domain)
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> refpolicy mailing list
>>> refpolicy at oss.tresys.com
>>> http://oss.tresys.com/mailman/listinfo/refpolicy
>>
>
>