Bug 1410214

Summary: Unable to remove module docker at priority 200
Product: Red Hat Enterprise Linux 7 Reporter: Qian Cai <qcai>
Component: dockerAssignee: Lokesh Mandvekar <lsm5>
Status: CLOSED CURRENTRELEASE QA Contact: atomic-bugs <atomic-bugs>
Severity: medium Docs Contact:
Priority: high    
Version: 7.3CC: amurdaca, lsm5
Target Milestone: rcKeywords: Extras
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-03-03 15:13:31 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Qian Cai 2017-01-04 19:06:32 UTC
Description of problem:
Trying to install docker from scratch, and then those ugly things pop up.

  Installing : 2:container-selinux-1.10.3-59.el7.x86_64                   10/12 
libsemanage.semanage_direct_remove_key: Unable to remove module docker at priority 200. (No such file or directory).
libsemanage.semanage_direct_remove_key: Unable to remove module docker at priority 400. (No such file or directory).

Looking at the spec file's post section.

%{_sbindir}/semodule -n -X 200 -s %{selinuxtype} -i $MODULES > /dev/null

Probably need to filter out the stderr as well.

Version-Release number of selected component (if applicable):
docker-1.12.5-8.el7

How reproducible:
always

Comment 1 Daniel Walsh 2017-01-04 19:08:33 UTC
Yes we should filter stderror.  More so then stdout.

Comment 3 Qian Cai 2017-02-27 22:10:54 UTC
Lokesh, any update?

Comment 4 Qian Cai 2017-02-27 22:57:14 UTC
This is working fine now with container-selinux-2.9-4.el7.