Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 828060 - net-dns/ddclient-3.9.1 - missing 'selinux' use flag (for sec-policy/selinux-ddclient package)
Summary: net-dns/ddclient-3.9.1 - missing 'selinux' use flag (for sec-policy/selinux-d...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: SELinux (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: SE Linux Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-12-03 07:52 UTC by Bogdan
Modified: 2021-12-03 22: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 Bogdan 2021-12-03 07:52:45 UTC
I have ddclient installed.
net-dns/ddclient package automatically install acct-group/ddclient and acct-user/ddclient packages.

Problem:
I have 'selinux' use flag activated globally. I expect, that package sec-policy/selinux-ddclient must be installed with net-dns/ddclient.
But selinux profile does not installed automatically. This is because net-dns/ddclient ebuild have no 'selinux' use flag and does not install sec-policy/selinux-ddclient package.

Solution:
Modify ebuild:
- add 'selinux' to ISUE variable;
- add 'selinux? ( sec-policy/selinux-ddclient )' to RDEPEND variable.
Comment 1 Larry the Git Cow gentoo-dev 2021-12-03 19:35:18 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36e714ac7837b90fc4c797d05fd64b1b9fe50a65

commit 36e714ac7837b90fc4c797d05fd64b1b9fe50a65
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-12-03 19:34:52 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-12-03 19:35:11 +0000

    net-dns/ddclient: add missing SELinux policy (selinux-ddclient) dependency
    
    Closes: https://bugs.gentoo.org/828060
    Signed-off-by: Sam James <sam@gentoo.org>

 net-dns/ddclient/{ddclient-3.9.1.ebuild => ddclient-3.9.1-r1.ebuild} | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Comment 2 Conrad Kostecki gentoo-dev 2021-12-03 22:33:36 UTC
Thank you.