Skip to contentSkip to conversation

apps_livecd.patch

refpolicy Daniel J Walsh 3 participants 6 messages Jun 2, 2010 – Jul 12, 2010

lore
Share & tools
lore
#2 lore raw
Quoted 8 lines · Christopher J. PeBenito
Quoted 4 lines · Daniel J Walsh

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

#3 lore raw
Quoted 7 lines · Dominick Grift
Quoted 6 lines · Christopher J. PeBenito
Quoted 4 lines · Daniel J Walsh

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.

Quoted 9 lines
Quoted 2 lines

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.

Quoted 10 lines

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

#4 lore raw
Quoted 11 lines · Daniel J Walsh
Quoted 10 lines · Dominick Grift
Quoted 8 lines · Christopher J. PeBenito
Quoted 4 lines · Daniel J Walsh

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.

Quoted 7 lines
Quoted 6 lines

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

Quoted 13 lines

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

Quoted 10 lines

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

#5 lore raw
Quoted 14 lines · Dominick Grift
Quoted 13 lines · Daniel J Walsh
Quoted 12 lines · Dominick Grift
Quoted 8 lines · Christopher J. PeBenito
Quoted 4 lines · Daniel J Walsh

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:

Quoted 9 lines
Quoted 5 lines
Quoted 4 lines

+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)

Quoted 20 lines

Also:

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

Quoted 13 lines

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

Quoted 10 lines

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