Skip to contentSkip to conversation

Rebasing fedora selinux-policy with refpolicy upstream

refpolicy Lukas Vrabec 2 participants 3 messages Mar 9, 2018 – Mar 12, 2018

lore
Share & tools
lore
#0 lore raw

Hi All,

As a maintainer of SELinux distribution policy for Fedora, I would like to start with rebasing SELinux modules with upstream refpolicy.

Unfortunately refpolicy and fedora selinux-policy quite diverged during the time. Do the full rebase will be probably really messy action. I prefer start with smaller modules from contrib branch/repo.

However I have few questions here. SELinux policy in Fedora cover more setups then refpolicy (contain more allow/generic rules). I'll merge allow rules from refpolicy which are missing in Fedora selinux-policy, but would you like to see allow rules from fedora selinux-policy in refpolicy upstream? Lot of these rules could be Fedora/RHEL specific. Should I start sending patches and you will decide which should be merged?

Thanks,
Lukas.

Signature · 11 lines
Lukas Vrabec
Software Engineer, Security Technologies
Red Hat, Inc.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
Url : http://oss.tresys.com/pipermail/refpolicy/attachments/20180309/2bf3bfc9/attachment.bin 
#1 lore raw
Quoted 7 lines · Lukas Vrabec via refpolicy

As a maintainer of SELinux distribution policy for Fedora, I would like to start with rebasing SELinux modules with upstream refpolicy.

Unfortunately refpolicy and fedora selinux-policy quite diverged during the time. Do the full rebase will be probably really messy action. I prefer start with smaller modules from contrib branch/repo.

Quoted 7 lines

However I have few questions here. SELinux policy in Fedora cover more setups then refpolicy (contain more allow/generic rules). I'll merge allow rules from refpolicy which are missing in Fedora selinux-policy, but would you like to see allow rules from fedora selinux-policy in refpolicy upstream? Lot of these rules could be Fedora/RHEL specific. Should I start sending patches and you will decide which should be merged?

I have not looked at the Fedora policy in some time, so I don't know of anything specific that would be problematic. My suggestion would be to start with small changes in contrib that will hopefully not be contentious.

Signature · 1 line
Chris PeBenito
#2 lore raw
Quoted 16 lines · Chris PeBenito
Quoted 7 lines · Lukas Vrabec via refpolicy

As a maintainer of SELinux distribution policy for Fedora, I would like to start with rebasing SELinux modules with upstream refpolicy.

Unfortunately refpolicy and fedora selinux-policy quite diverged during the time. Do the full rebase will be probably really messy action. I prefer start with smaller modules from contrib branch/repo.

Quoted 7 lines

However I have few questions here. SELinux policy in Fedora cover more setups then refpolicy (contain more allow/generic rules). I'll merge allow rules from refpolicy which are missing in Fedora selinux-policy, but would you like to see allow rules from fedora selinux-policy in refpolicy upstream? Lot of these rules could be Fedora/RHEL specific. Should I start sending patches and you will decide which should be merged?

Quoted 4 lines

I have not looked at the Fedora policy in some time, so I don't know of anything specific that would be problematic.? My suggestion would be to start with small changes in contrib that will hopefully not be contentious.

Understand, I'll start with rebasing small SELinux modules.

Thanks,
Lukas.

Signature · 11 lines
Lukas Vrabec
Software Engineer, Security Technologies
Red Hat, Inc.

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