Bug 1283815 - [f23] selinux-policy-minimum missing requires on provider of /usr/sbin/semanage
Summary: [f23] selinux-policy-minimum missing requires on provider of /usr/sbin/semanage
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 23
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-11-20 01:33 UTC by Dusty Mabe
Modified: 2015-12-13 04:22 UTC (History)
5 users (show)

Fixed In Version: selinux-policy-3.13.1-156.fc23 selinux-policy-3.13.1-157.fc23
Clone Of:
Environment:
Last Closed: 2015-12-13 04:22:28 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Dusty Mabe 2015-11-20 01:33:18 UTC
Description of problem:

If you install selinux-policy-minimum in a container that is based on fedora:23 you will get errors because /usr/sbin/semanage isn't there. 

  Installing  : selinux-policy-minimum-3.13.1-154.fc23.noarch             16/16 
/var/tmp/rpm-tmp.1cC9pn: line 13: /usr/sbin/semanage: No such file or directory

It seems that semanage recently became owned by  policycoreutils-python-utils rather than policycoreutils-python like it was in the past:

[root@f23 tmp]$ rpm -qf /usr/sbin/semanage 
policycoreutils-python-utils-2.4-15.fc23.x86_64



Steps to Reproduce:
# cat <<EOF > Dockerfile
FROM fedora:23
RUN dnf install -y --enablerepo=updates-testing selinux-policy-minimum
EOF
# docker build -t foo .

OBSERVE ERROR

Comment 1 Fedora Update System 2015-12-09 13:38:04 UTC
selinux-policy-3.13.1-157.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2015-b4167d5fd0

Comment 2 Fedora Update System 2015-12-10 04:55:08 UTC
selinux-policy-3.13.1-157.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
$ su -c 'dnf --enablerepo=updates-testing update selinux-policy'
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-b4167d5fd0

Comment 3 Fedora Update System 2015-12-13 04:22:10 UTC
selinux-policy-3.13.1-157.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.