Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 836571 - app-containers/docker .ebuild does not reference corresponding sec-policy/selinux-docker selinux policy
Summary: app-containers/docker .ebuild does not reference corresponding sec-policy/sel...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: William Hubbs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-04-01 02:29 UTC by genBTC
Modified: 2022-04-04 21:33 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description genBTC 2022-04-01 02:29:27 UTC
New selinux policies were recently added to the gentoo repo, and the programs they go along with need to be updated to refer and pull in the selinux policy with the RDEPENDS. 
I have found 2 so far, and some more exhaustive checking should be done to confirm any newly added policy packages are tied to their parent program.

app-containers/docker
sec-policy/selinux-docker

and

app-containers/podman
sec-policy/selinux-podman

Reproducible: Always
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-04-01 03:57:29 UTC
I would've filed bugs for the others individually given they have different maintainers, but I'll just handle it all now anyway.
Comment 2 Kenton Groombridge gentoo-dev 2022-04-01 17:39:00 UTC
sys-apps/rootlesskit
sec-policy/selinux-rootlesskit

as well, however selinux-rootlesskit is not currently being packaged.
Comment 3 Larry the Git Cow gentoo-dev 2022-04-04 21:33:13 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43ad77d2ef5532ca85b0293e21a023defbea4678

commit 43ad77d2ef5532ca85b0293e21a023defbea4678
Author:     William Hubbs <williamh@gentoo.org>
AuthorDate: 2022-04-04 21:20:38 +0000
Commit:     William Hubbs <williamh@gentoo.org>
CommitDate: 2022-04-04 21:24:33 +0000

    app-containers/docker:
    
    Closes: https://bugs.gentoo.org/836571
    Signed-off-by: William Hubbs <williamh@gentoo.org>
    
    sec-policy dependency for selinux

 app-containers/docker/docker-20.10.14.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)