Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 509740

Summary: several packages do not pull in the selinux policy package
Product: Gentoo Linux Reporter: Jason Zaman <perfinion>
Component: SELinuxAssignee: Sven Vermeulen (RETIRED) <swift>
Status: RESOLVED FIXED    
Severity: normal CC: selinux
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Jason Zaman gentoo-dev 2014-05-06 21:28:09 UTC
several of the sec-policy/ packages are not depended on by the package they are for.


sec-policy/selinux-avahi
 - should be pulled in by net-dns/avahi
sec-policy/selinux-googletalk
 - should be pulled in by www-plugins/google-talkplugin
sec-policy/selinux-ifplugd
 - sys-apps/ifplugd
sec-policy/selinux-java
 - virtual/{jdk,jre} probably. or should it be eg dev-java/sun-jdk?
sec-policy/selinux-kerberos
 - app-crypt/mit-krb5
sec-policy/selinux-mozilla
 - www-client/firefox-bin
sec-policy/selinux-mpd
 - media-sound/mpd
sec-policy/selinux-mplayer
 - media-video/mplayer
sec-policy/selinux-screen
 - app-misc/tmux
sec-policy/selinux-shutdown
 - sys-apps/sysvinit probably?
sec-policy/selinux-sysstat
 - app-admin/sysstat
sec-policy/selinux-timidity
 - media-sound/timidity++
sec-policy/selinux-vpn
 - net-misc/vpnc



Reproducible: Always

Steps to Reproduce:
1. emerge one of the packages with the selinux use-flag globally set
2. 
3.
Actual Results:  
the sec-policy/selinux- package are not pulled in

Expected Results:  
the sec-policy/selinux- package should be pulled in too
Comment 1 Sven Vermeulen (RETIRED) gentoo-dev 2014-05-16 19:19:12 UTC
Still to do:

sec-policy/selinux-kerberos
 - app-crypt/mit-krb5
sec-policy/selinux-mozilla
 - www-client/firefox-bin
sec-policy/selinux-mpd
 - media-sound/mpd
sec-policy/selinux-mplayer
 - media-video/mplayer
sec-policy/selinux-screen
 - app-misc/tmux
sec-policy/selinux-shutdown
 - sys-apps/sysvinit probably?
sec-policy/selinux-sysstat
 - app-admin/sysstat
sec-policy/selinux-timidity
 - media-sound/timidity++
sec-policy/selinux-vpn
 - net-misc/vpnc

The java one is done on the individual java packages (not all of them yet though) as not all users install virtual/jre but a specific jre immediately.
Comment 2 Sven Vermeulen (RETIRED) gentoo-dev 2014-05-17 15:15:53 UTC
Dependencies added
Comment 3 Michael Mair-Keimberger (iamnr3) 2014-05-17 16:28:39 UTC
(In reply to Sven Vermeulen from comment #2)
> Dependencies added

You might want to have a look at bug 441908 aswell. Apart from the already listed missing deps of various packages there is also app-emulation/spice-vdagent which should depend on sec-policy/selinux-vdagent.