refpolicy - add "Yocto" distro upstream
Hi, folks
meta-selinux carries dozens of Yocto-specific RefPolicy patches [1].
I opened an issue upstream to evaluate adding a "Yocto" distribution [2].
Looking at another recipe [3] with similar upstream considerations, there is a reference to "openembedded" [4].
Please share any thoughts or concerns.
[1] https://git.yoctoproject.org/meta-selinux/tree/recipes-security/refpolicy/refpolicy
[2] https://github.com/SELinuxProject/refpolicy/issues/905
[3] https://git.yoctoproject.org/meta-security/tree/recipes-compliance/scap-security-guide
[4] https://github.com/ComplianceAsCode/content/tree/master/products/openembedded
--
Clayton Casciato
From the upstream maintainer, Chris PeBenito:
"I'm not opposed to this, as long as meta-selinux maintainers are willing to maintain/contribute to distro-yocto sections."
Are the maintainers and wider community open to this?
Thanks!
--
Clayton Casciato
Quoted 5 lines · Clayton Casciato
Quoted 1 line
From the upstream maintainer, Chris PeBenito:
"I'm not opposed to this, as long as meta-selinux maintainers are willing to maintain/contribute to distro-yocto sections."
Are the maintainers and wider community open to this?
Hi Clayton,
Thanks for your work. I have no objection. I think it is a good thing for both upstream and meta-selinux.
//Yi
Quoted 5 lines
Thanks!
--
Clayton Casciato
Quoted 6 lines · Clayton Casciato
Quoted 4 lines
Quoted 1 line
From the upstream maintainer, Chris PeBenito:
"I'm not opposed to this, as long as meta-selinux maintainers are willing to maintain/contribute to distro-yocto sections."
Quoted 7 lines
Quoted 1 line
Are the maintainers and wider community open to this?
Hi Clayton,
Thanks for your work. I have no objection. I think it is a good thing for both upstream and meta-selinux.
Thank you, Yi!
I will leave (at least) the first commit to the maintainers to allow for:
* a decision on the name (e.g. "yocto" or "openembedded")
* prioritization/timing of this effort
* use of historical knowledge and potential patch culling
Clayton Casciato
Quoted 13 lines
Quoted 6 lines · Clayton Casciato
Quoted 4 lines
Quoted 1 line
From the upstream maintainer, Chris PeBenito:
"I'm not opposed to this, as long as meta-selinux maintainers are willing to maintain/contribute to distro-yocto sections."
Quoted 7 lines
Quoted 1 line
Are the maintainers and wider community open to this?
Hi Clayton,
Thanks for your work. I have no objection. I think it is a good thing for both upstream and meta-selinux.
Quoted 8 lines
Thank you, Yi!
I will leave (at least) the first commit to the maintainers to allow for:
* a decision on the name (e.g. "yocto" or "openembedded")
* prioritization/timing of this effort
* use of historical knowledge and potential patch cullingClayton Casciato
Hi, Yi
Is this still on your radar?
--
Clayton Casciato
Quoted 20 lines
Quoted 20 lines
Quoted 6 lines · Clayton Casciato
Quoted 4 lines
Quoted 1 line
From the upstream maintainer, Chris PeBenito:
"I'm not opposed to this, as long as meta-selinux maintainers are willing to maintain/contribute to distro-yocto sections."
Quoted 7 lines
Quoted 1 line
Are the maintainers and wider community open to this?
Hi Clayton,
Thanks for your work. I have no objection. I think it is a good thing for both upstream and meta-selinux.
Thank you, Yi!
I will leave (at least) the first commit to the maintainers to allow for:
* a decision on the name (e.g. "yocto" or "openembedded")
* prioritization/timing of this effort
* use of historical knowledge and potential patch culling
Quoted 7 lines
Quoted 1 line
Clayton Casciato
Hi, Yi
Is this still on your radar?
--
Clayton Casciato
Thank you for taking on the maintainer role, Qi!
There is an open opportunity to upstream meta-selinux's RefPolicy patches [1].
[1] https://lists.yoctoproject.org/g/yocto-patches/topic/113634417
Hi Clayton,
I'm very glad to see this! This is exactly what I was thinking.
I haven't started this because I need to do the following work first:
1) Upgrade all recipes to latest versions. In particular, refpolicy needs to be upgraded to latest tip of master branch.
2) Establisth OEQA for meta-selinux. I've added some runtime tests recently. But there need more.
3) Fix things for latest master to ensure there's no AVC error for some selected images.
When the above work items are finished, we'll get a good baseline + automatic test cases (OEQA).
With this baseline + OEQA, we can sync with refpolicy upstream and maintain the refpolicy Yocto distro in a much easier manner.
Any help is greatly appreciated.
Regards,
Qi
Quoted 30 lines · Clayton Casciato
Quoted 18 lines
Quoted 18 lines
Quoted 11 lines · Clayton Casciato
Quoted 5 lines
Quoted 1 line
From the upstream maintainer, Chris PeBenito:
"I'm not opposed to this, as long as meta-selinux maintainers are willing to maintain/contribute to distro-yocto sections."
Are the maintainers and wider community open to this?
Hi Clayton,
Thanks for your work. I have no objection. I think it is a good thing for both upstream and meta-selinux.
Thank you, Yi!
I will leave (at least) the first commit to the maintainers to allow for:
* a decision on the name (e.g. "yocto" or "openembedded")
* prioritization/timing of this effort
* use of historical knowledge and potential patch cullingQuoted 7 lines
Quoted 1 line
Clayton Casciato
Hi, Yi
Is this still on your radar?
--
Clayton CasciatoThank you for taking on the maintainer role, Qi!
There is an open opportunity to upstream meta-selinux's RefPolicy patches [1].
[1] https://lists.yoctoproject.org/g/yocto-patches/topic/113634417