Bug 1319294

Summary: Docker feature is currently blocked on SELinux issue
Product: Red Hat Satellite Reporter: Og Maciel <omaciel>
Component: SELinuxAssignee: Lukas Zapletal <lzap>
Status: CLOSED DUPLICATE QA Contact: Katello QA List <katello-qa-list>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.2.0CC: bbuckingham
Target Milestone: UnspecifiedKeywords: PrioBumpQA, Regression, Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-03-18 18:25:42 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 Og Maciel 2016-03-18 18:08:07 UTC
Description of problem:

Docker features cannot currently function properly if selinux is enforcing. Running selinux on permissive mode allows me to work around it.

Version-Release number of selected component (if applicable):

* Satellite 6.2.0 SNAP 4.0

How reproducible:


Steps to Reproduce:
1. Add a docker-based compute resource to your satellite
2. Use the New Container wizard and attempt to create a new image off Docker Hub
3.

Actual results:

Error shows up on UI: 'Permission denied - connect(2) for 127.0.0.1:2375 (Errno::EACCES)'

Expected results:


Additional info:

type=AVC msg=audit(1458323571.855:18125): avc:  denied  { name_connect } for  pid=19039 comm="diagnostic_con*" dest=2375 scontext=system_u:system_r:passenger_t:s0 tcontext=system_u:object_r:unreserved_port_t:s0 tclass=tcp_socket
type=SYSCALL msg=audit(1458323571.855:18125): arch=c000003e syscall=42 success=no exit=-13 a0=17 a1=7f94b1f019c0 a2=1c a3=289b6b8 items=0 ppid=18990 pid=19039 auid=4294967295 uid=990 gid=987 euid=990 suid=990 fsuid=990 egid=987 sgid=987 fsgid=987 tty=(none) ses=4294967295 comm="diagnostic_con*" exe="/opt/rh/rh-ruby22/root/usr/bin/ruby" subj=system_u:system_r:passenger_t:s0 key=(null)
type=AVC msg=audit(1458323571.855:18126): avc:  denied  { name_connect } for  pid=19039 comm="diagnostic_con*" dest=2375 scontext=system_u:system_r:passenger_t:s0 tcontext=system_u:object_r:unreserved_port_t:s0 tclass=tcp_socket
type=SYSCALL msg=audit(1458323571.855:18126): arch=c000003e syscall=42 success=no exit=-13 a0=17 a1=123b4320 a2=10 a3=289b6b8 items=0 ppid=18990 pid=19039 auid=4294967295 uid=990 gid=987 euid=990 suid=990 fsuid=990 egid=987 sgid=987 fsgid=987 tty=(none) ses=4294967295 comm="diagnostic_con*" exe="/opt/rh/rh-ruby22/root/usr/bin/ruby" subj=system_u:system_r:passenger_t:s0 key=(null)
type=AVC msg=audit(1458323571.855:18127): avc:  denied  { name_connect } for  pid=19039 comm="diagnostic_con*" dest=2375 scontext=system_u:system_r:passenger_t:s0 tcontext=system_u:object_r:unreserved_port_t:s0 tclass=tcp_socket
type=SYSCALL msg=audit(1458323571.855:18127): arch=c000003e syscall=42 success=no exit=-13 a0=17 a1=7f94b1f0cf50 a2=1c a3=289b6b8 items=0 ppid=18990 pid=19039 auid=4294967295 uid=990 gid=987 euid=990 suid=990 fsuid=990 egid=987 sgid=987 fsgid=987 tty=(none) ses=4294967295 comm="diagnostic_con*" exe="/opt/rh/rh-ruby22/root/usr/bin/ruby" subj=system_u:system_r:passenger_t:s0 key=(null)
type=AVC msg=audit(1458323571.855:18128): avc:  denied  { name_connect } for  pid=19039 comm="diagnostic_con*" dest=2375 scontext=system_u:system_r:passenger_t:s0 tcontext=system_u:object_r:unreserved_port_t:s0 tclass=tcp_socket
type=SYSCALL msg=audit(1458323571.855:18128): arch=c000003e syscall=42 success=no exit=-13 a0=17 a1=123ad048 a2=10 a3=289b6b8 items=0 ppid=18990 pid=19039 auid=4294967295 uid=990 gid=987 euid=990 suid=990 fsuid=990 egid=987 sgid=987 fsgid=987 tty=(none) ses=4294967295 comm="diagnostic_con*" exe="/opt/rh/rh-ruby22/root/usr/bin/ruby" subj=system_u:system_r:passenger_t:s0 key=(null)
type=AVC msg=audit(1458323571.856:18129): avc:  denied  { name_connect } for  pid=19039 comm="diagnostic_con*" dest=2375 scontext=system_u:system_r:passenger_t:s0 tcontext=system_u:object_r:unreserved_port_t:s0 tclass=tcp_socket
type=SYSCALL msg=audit(1458323571.856:18129): arch=c000003e syscall=42 success=no exit=-13 a0=17 a1=7f94b1f17910 a2=1c a3=289b6b8 items=0 ppid=18990 pid=19039 auid=4294967295 uid=990 gid=987 euid=990 suid=990 fsuid=990 egid=987 sgid=987 fsgid=987 tty=(none) ses=4294967295 comm="diagnostic_con*" exe="/opt/rh/rh-ruby22/root/usr/bin/ruby" subj=system_u:system_r:passenger_t:s0 key=(null)
type=AVC msg=audit(1458323571.856:18130): avc:  denied  { name_connect } for  pid=19039 comm="diagnostic_con*" dest=2375 scontext=system_u:system_r:passenger_t:s0 tcontext=system_u:object_r:unreserved_port_t:s0 tclass=tcp_socket
type=SYSCALL msg=audit(1458323571.856:18130): arch=c000003e syscall=42 success=no exit=-13 a0=17 a1=12388d88 a2=10 a3=289b6b8 items=0 ppid=18990 pid=19039 auid=4294967295 uid=990 gid=987 euid=990 suid=990 fsuid=990 egid=987 sgid=987 fsgid=987 tty=(none) ses=4294967295 comm="diagnostic_con*" exe="/opt/rh/rh-ruby22/root/usr/bin/ruby" subj=system_u:system_r:passenger_t:s0 key=(null)
type=AVC msg=audit(1458323571.856:18131): avc:  denied  { name_connect } for  pid=19039 comm="diagnostic_con*" dest=2375 scontext=system_u:system_r:passenger_t:s0 tcontext=system_u:object_r:unreserved_port_t:s0 tclass=tcp_socket
type=SYSCALL msg=audit(1458323571.856:18131): arch=c000003e syscall=42 success=no exit=-13 a0=17 a1=7f94b1f247e0 a2=1c a3=289b6b8 items=0 ppid=18990 pid=19039 auid=4294967295 uid=990 gid=987 euid=990 suid=990 fsuid=990 egid=987 sgid=987 fsgid=987 tty=(none) ses=4294967295 comm="diagnostic_con*" exe="/opt/rh/rh-ruby22/root/usr/bin/ruby" subj=system_u:system_r:passenger_t:s0 key=(null)
type=AVC msg=audit(1458323571.856:18132): avc:  denied  { name_connect } for  pid=19039 comm="diagnostic_con*" dest=2375 scontext=system_u:system_r:passenger_t:s0 tcontext=system_u:object_r:unreserved_port_t:s0 tclass=tcp_socket
type=SYSCALL msg=audit(1458323571.856:18132): arch=c000003e syscall=42 success=no exit=-13 a0=17 a1=1237db90 a2=10 a3=289b6b8 items=0 ppid=18990 pid=19039 auid=4294967295 uid=990 gid=987 euid=990 suid=990 fsuid=990 egid=987 sgid=987 fsgid=987 tty=(none) ses=4294967295 comm="diagnostic_con*" exe="/opt/rh/rh-ruby22/root/usr/bin/ruby" subj=system_u:system_r:passenger_t:s0 key=(null)

Comment 2 Brad Buckingham 2016-03-18 18:25:42 UTC

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