containers module in refpolicy
At this time refpolicy does not have much (if any) support for various container runtimes such as docker or podman. An issue was raised on container-selinux[1] about the possibility of allowing it to be built against refpolicy, but the question came up of whether or not it would be a better idea to instead introduce such a module specifically in refpolicy. Upstream seems to be open to the idea of making container-selinux work with refpolicy, but I worry that the task of maintaining the module will be more work in the long run.
What are your thoughts?
Quoted 10 lines · AEST Kenton Groombridge
At this time refpolicy does not have much (if any) support for various container runtimes such as docker or podman. An issue was raised on container-selinux[1] about the possibility of allowing it to be built against refpolicy, but the question came up of whether or not it would be a better idea to instead introduce such a module specifically in refpolicy. Upstream seems to be open to the idea of making container-selinux work with refpolicy, but I worry that the task of maintaining the module will be more work in the long run.
What are your thoughts?
We have more than a few policy modules that aren't used by the regular contributors to refpolicy and which aren't well maintained. Adding one more is no big deal.
Generally having a module in upstream policy that does most of what you want is better than nothing, you can just have a local module to do the remainder. When the types needed are defined it removes the potential compatibility issues of different implementations.
Where is the [1] reference?
Signature · 2 lines
My Main Blog http://etbe.coker.com.au/ My Documents Blog http://doc.coker.com.au/
Quoted 16 lines · Russell Coker
Quoted 10 lines · AEST Kenton Groombridge
At this time refpolicy does not have much (if any) support for various container runtimes such as docker or podman. An issue was raised on container-selinux[1] about the possibility of allowing it to be built against refpolicy, but the question came up of whether or not it would be a better idea to instead introduce such a module specifically in refpolicy. Upstream seems to be open to the idea of making container-selinux work with refpolicy, but I worry that the task of maintaining the module will be more work in the long run.
What are your thoughts?
We have more than a few policy modules that aren't used by the regular contributors to refpolicy and which aren't well maintained. Adding one more is no big deal.
Quoted 6 lines
Generally having a module in upstream policy that does most of what you want is better than nothing, you can just have a local module to do the remainder. When the types needed are defined it removes the potential compatibility issues of different implementations.
Where is the [1] reference?
Looks like I forgot to include it. The upstream issue is here:
https://github.com/containers/container-selinux/issues/113
Quoted 5 lines
Signature · 3 lines
-- My Main Blog http://etbe.coker.com.au/ My Documents Blog http://doc.coker.com.au/