Bug 1319294 - Docker feature is currently blocked on SELinux issue
Summary: Docker feature is currently blocked on SELinux issue
Keywords:
Status: CLOSED DUPLICATE of bug 1317011
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: SELinux
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: Unspecified
Assignee: Lukas Zapletal
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-18 18:08 UTC by Og Maciel
Modified: 2019-04-01 20:26 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-03-18 18:25:42 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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 ***


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