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

Bug 379087

Summary: sec-policy/selinux-bluez and sec-policy/selinux-bluetooth - file collision
Product: Gentoo Linux Reporter: Andreis Vinogradovs ( slepnoga ) <andreis.vinogradovs>
Component: New packagesAssignee: Sven Vermeulen (RETIRED) <swift>
Status: VERIFIED FIXED    
Severity: normal CC: selinux
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Andreis Vinogradovs ( slepnoga ) 2011-08-13 16:29:56 UTC
* two packages install the same file(s). Once again, please do NOT file
 * a bug report unless you have completely understood the above message.
 * 
 * Detected file collision(s):
 * 
 *      /usr/share/selinux/strict/bluetooth.pp
 *      /usr/share/selinux/targeted/bluetooth.pp
 * 
 * Searching all installed packages for file collisions...
 * 
 * Press Ctrl-C to Stop
 * 
 * sec-policy/selinux-bluez-2.20101213
 *      /usr/share/selinux/strict/bluetooth.pp
 *      /usr/share/selinux/targeted/bluetooth.pp
 * 
 * Package 'sec-policy/selinux-bluetooth-2.20110726' NOT merged due to
 * file collisions. If necessary, refer to your elog messages for the
 * whole content of the above message.
 * 
 * The following 2 packages have failed to build or install:
 * 
 *  (sec-policy/selinux-bluez-2.20110726::hardened-dev, ebuild scheduled for merge), Log file:
 *   '/var/tmp/portage/sec-policy/selinux-bluez-2.20110726/temp/build.log'
 *  (sec-policy/selinux-bluetooth-2.20110726::hardened-dev, ebuild scheduled for merge), Log file:
 *   '/var/tmp/portage/sec-policy/selinux-bluetooth-2.20110726/temp/build.log'
 * 


Reproducible: Always
Comment 1 Andreis Vinogradovs ( slepnoga ) 2011-08-13 16:32:21 UTC
I'm also build this policy in hardened-overlay; result is the same
Comment 2 Sven Vermeulen (RETIRED) gentoo-dev 2011-08-15 17:15:15 UTC
Can you retry the builds in hardened-dev? 

selinux-bluez-2.20110726 now depends on selinux-bluetooth-2.20110726 and doesn't provide any files itself
selinux-bluetooth-2.20110726 provides the files, and also blocks on selinux-bluez with version lower than 2.20110726
Comment 3 Sven Vermeulen (RETIRED) gentoo-dev 2011-08-19 20:53:14 UTC
Should be fixed now (apparently I need to use RDEPENDs for proper handling here)
Comment 4 Sven Vermeulen (RETIRED) gentoo-dev 2011-08-29 09:21:07 UTC
In portage tree (~arch)