Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 622102 - sys-apps/selinux-python-2.7 file collisions with sys-apps/policycoreutils
Summary: sys-apps/selinux-python-2.7 file collisions with sys-apps/policycoreutils
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: SELinux (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: SE Linux Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-18 14:26 UTC by Sven Vermeulen (RETIRED)
Modified: 2018-10-03 21:02 UTC (History)
1 user (show)

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


Attachments
build.log (selinux-python-2.7-build.log,67.23 KB, text/plain)
2017-12-08 09:49 UTC, Chí-Thanh Christopher Nguyễn
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sven Vermeulen (RETIRED) gentoo-dev 2017-06-18 14:26:39 UTC
At the time of writing, sys-apps/policycoreutils-2.7_rc1 (from now on "policycoreutils") has a PDEPEND on sys-apps/selinux-python. This is needed because some of the logic previously part of policycoreutils is now moved into a separate package.

However, when trying to upgrade policycoreutils, the used dependency tree fails as it tries to install sys-apps/selinux-python-2.7_rc1 (from now on "selinux-python") first, which causes file collisions.

This is to be expected, as PDEPEND does not guarantee post-deployment installation. To accomplish that, a blocker needs to be put in place, so that selinux-python explicitly mentions it cannot be installed alongside an older policycoreutils.

Small remark: Portage seems to use a different ordering based on the used command:

~# emerge -u policycoreutils -p
~# emerge -u policycoreutils -pt

In the first situation, it tried to install selinux-python first, while in the second one it tried to upgrade policycoreutils first.
Comment 1 Sven Vermeulen (RETIRED) gentoo-dev 2017-06-18 14:36:07 UTC
Blocker put in place

See https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b169bf26e1cde951a1b123d4a390a38694f18971
Comment 2 Chí-Thanh Christopher Nguyễn gentoo-dev 2017-12-08 09:49:33 UTC
Created attachment 508780 [details]
build.log

The issue seems not fixed, I just hit this when upgrading a system
Comment 3 Mira Ressel 2018-10-03 21:02:14 UTC
2.6 has been dropped from the tree half a year ago, no need to worry about minor migration issues anymore.