RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1422637 - docker-1.12.6 and container-selinux-2.9 are installed together but are not compatible
Summary: docker-1.12.6 and container-selinux-2.9 are installed together but are not co...
Keywords:
Status: CLOSED DUPLICATE of bug 1420591
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: docker
Version: 7.3
Hardware: Unspecified
OS: Linux
unspecified
urgent
Target Milestone: rc
: ---
Assignee: Lokesh Mandvekar
QA Contact: atomic-bugs@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-02-15 18:15 UTC by Steve Kuznetsov
Modified: 2019-03-06 00:55 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-02-16 16:30:31 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Steve Kuznetsov 2017-02-15 18:15:45 UTC
When installing Docker 1.12.6, we see

# yum history info 70
Loaded plugins: amazon-id, rhui-lb, search-disabled-repos
Transaction ID : 70
Begin time     : Tue Feb 14 13:54:51 2017
Begin rpmdb    : 715:aeb717a8ef79c3a5e1ad81c7f32c44148ccdf0c6
End time       :            13:55:28 2017 (37 seconds)
End rpmdb      : 725:b6778337a64f346439e98a8de54220405f28f85b
User           : Cloud User <ec2-user>
Return-Code    : Success
Command Line   : -d 2 -y --disablerepo=* --enablerepo=oso-rhui-rhel-server-extras,oso-rhui-rhel-server-releases,oso-rhui-rhel-server-releases-optional,customrepo install docker-1.12.6
Transaction performed with:
    Installed     rpm-4.11.3-21.el7.x86_64 @oso-rhui-rhel-server-releases
    Installed     yum-3.4.3-150.el7.noarch @oso-rhui-rhel-server-releases
Packages Altered:
    Dep-Install container-selinux-2:2.9-2.el7.noarch                @customrepo
    Install     docker-2:1.12.6-3.el7.x86_64                        @customrepo
    Dep-Install docker-client-2:1.12.6-3.el7.x86_64                 @customrepo
    Dep-Install docker-common-2:1.12.6-3.el7.x86_64                 @customrepo
    Dep-Install docker-rhel-push-plugin-2:1.12.6-3.el7.x86_64       @customrepo
    Dep-Install libseccomp-2.3.1-2.el7.x86_64                       @oso-rhui-rhel-server-releases
    Dep-Install oci-register-machine-1:0-1.11.gitdd0daef.el7.x86_64 @oso-rhui-rhel-server-extras
    Dep-Install oci-systemd-hook-1:0.1.4-9.git671c428.el7.x86_64    @oso-rhui-rhel-server-extras
    Dep-Install skopeo-containers-1:0.1.17-1.el7.x86_64             @oso-rhui-rhel-server-extras
    Dep-Install yajl-2.0.4-4.el7.x86_64                             @oso-rhui-rhel-server-releases
Scriptlet output:
   1 Failed to resolve typeattributeset statement at /etc/selinux/targeted/tmp/modules/200/container/cil:130
   2 /usr/sbin/semodule:  Failed!
history info


In addition to this failure on install, we see

# systemctl status docker
● docker.service - Docker Application Container Engine
   Loaded: loaded (/usr/lib/systemd/system/docker.service; enabled; vendor preset: disabled)
   Active: inactive (dead)
     Docs: http://docs.docker.com

Feb 14 13:55:43 ip-172-18-4-57.ec2.internal systemd[1]: Dependency failed for Docker Application Container Engine.
Feb 14 13:55:43 ip-172-18-4-57.ec2.internal systemd[1]: Job docker.service/start failed with result 'dependency'.
# systemctl status rhel-push-plugin.socket
● rhel-push-plugin.socket - Docker Block RHEL push plugin Socket for the API
   Loaded: loaded (/usr/lib/systemd/system/rhel-push-plugin.socket; disabled; vendor preset: disabled)
   Active: failed (Result: resources)
     Docs: man:rhel-push-plugin(8)
   Listen: /run/docker/plugins/rhel-push-plugin.sock (Stream)

Feb 14 13:55:43 ip-172-18-4-57.ec2.internal systemd[1]: rhel-push-plugin.socket failed to listen on sockets: Invalid argument
Feb 14 13:55:43 ip-172-18-4-57.ec2.internal systemd[1]: Failed to listen on Docker Block RHEL push plugin Socket for the API.
Feb 14 13:55:43 ip-172-18-4-57.ec2.internal systemd[1]: Unit rhel-push-plugin.socket entered failed state.
Feb 14 13:55:43 ip-172-18-4-57.ec2.internal systemd[1]: Starting Docker Block RHEL push plugin Socket for the API.

The following messages come from systemd:

systemd: Failed to set SELinux security context system_u:object_r:docker_var_run_t:s0 for /run/docker: Invalid argument
systemd: Failed to set SELinux security context system_u:object_r:docker_plugin_var_run_t:s0 for /run/docker/plugins/rhel-push-plugin.sock: Invalid argument

Comment 1 Alex Jia 2017-02-16 02:02:38 UTC
(In reply to Steve Kuznetsov from comment #0)
> When installing Docker 1.12.6, we see
> 
> # yum history info 70
> Loaded plugins: amazon-id, rhui-lb, search-disabled-repos
> Transaction ID : 70
> Begin time     : Tue Feb 14 13:54:51 2017
> Begin rpmdb    : 715:aeb717a8ef79c3a5e1ad81c7f32c44148ccdf0c6
> End time       :            13:55:28 2017 (37 seconds)
> End rpmdb      : 725:b6778337a64f346439e98a8de54220405f28f85b
> User           : Cloud User <ec2-user>
> Return-Code    : Success
> Command Line   : -d 2 -y --disablerepo=*
> --enablerepo=oso-rhui-rhel-server-extras,oso-rhui-rhel-server-releases,oso-
> rhui-rhel-server-releases-optional,customrepo install docker-1.12.6
> Transaction performed with:
>     Installed     rpm-4.11.3-21.el7.x86_64 @oso-rhui-rhel-server-releases
>     Installed     yum-3.4.3-150.el7.noarch @oso-rhui-rhel-server-releases
> Packages Altered:
>     Dep-Install container-selinux-2:2.9-2.el7.noarch               
> @customrepo
>     Install     docker-2:1.12.6-3.el7.x86_64                       
> @customrepo
>     Dep-Install docker-client-2:1.12.6-3.el7.x86_64                
> @customrepo
>     Dep-Install docker-common-2:1.12.6-3.el7.x86_64                
> @customrepo
>     Dep-Install docker-rhel-push-plugin-2:1.12.6-3.el7.x86_64      
> @customrepo
>     Dep-Install libseccomp-2.3.1-2.el7.x86_64                      
> @oso-rhui-rhel-server-releases
>     Dep-Install oci-register-machine-1:0-1.11.gitdd0daef.el7.x86_64
> @oso-rhui-rhel-server-extras
>     Dep-Install oci-systemd-hook-1:0.1.4-9.git671c428.el7.x86_64   
> @oso-rhui-rhel-server-extras
>     Dep-Install skopeo-containers-1:0.1.17-1.el7.x86_64            
> @oso-rhui-rhel-server-extras
>     Dep-Install yajl-2.0.4-4.el7.x86_64                            
> @oso-rhui-rhel-server-releases
> Scriptlet output:
>    1 Failed to resolve typeattributeset statement at
> /etc/selinux/targeted/tmp/modules/200/container/cil:130
>    2 /usr/sbin/semodule:  Failed!

I also saw this error when update docker, container-selinux and selinux-policy related RPM packages.

> history info
> 
> 
> In addition to this failure on install, we see
> 
> # systemctl status docker
> ● docker.service - Docker Application Container Engine
>    Loaded: loaded (/usr/lib/systemd/system/docker.service; enabled; vendor
> preset: disabled)
>    Active: inactive (dead)
>      Docs: http://docs.docker.com
> 

The only difference is I can successfully start docker service in my RHEL7.3 system.

Comment 4 Steve Kuznetsov 2017-02-16 16:30:31 UTC

*** This bug has been marked as a duplicate of bug 1420591 ***


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