Bug 1403434 - SELinux is preventing systemd from 'listen' accesses on the tcp_socket port None.
Summary: SELinux is preventing systemd from 'listen' accesses on the tcp_socket port N...
Keywords:
Status: CLOSED DUPLICATE of bug 1403433
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 25
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Lukas Vrabec
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:aa950841657e765f7213e114b9f...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-12-10 10:01 UTC by hx
Modified: 2016-12-10 12:48 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-12-10 12:48:38 UTC
Type: ---


Attachments (Terms of Use)

Description hx 2016-12-10 10:01:32 UTC
Description of problem:
SELinux is preventing systemd from 'listen' accesses on the tcp_socket port None.

*****  Plugin catchall (100. confidence) suggests   **************************

If you believe that systemd should be allowed listen access on the port None tcp_socket by default.
Then you should report this as a bug.
You can generate a local policy module to allow this access.
Do
allow this access for now by executing:
# ausearch -c 'systemd' --raw | audit2allow -M my-systemd
# semodule -X 300 -i my-systemd.pp

Additional Information:
Source Context                system_u:system_r:init_t:s0
Target Context                system_u:system_r:unconfined_service_t:s0
Target Objects                port None [ tcp_socket ]
Source                        systemd
Source Path                   systemd
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.13.1-225.1.fc25.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     (removed)
Platform                      Linux (removed) 4.8.10-300.fc25.x86_64 #1 SMP Mon
                              Nov 21 18:59:16 UTC 2016 x86_64 x86_64
Alert Count                   2
First Seen                    2016-12-10 11:40:43 EET
Last Seen                     2016-12-10 11:44:05 EET
Local ID                      6216fbf1-ec33-410c-9dad-f4b7e5511037

Raw Audit Messages
type=AVC msg=audit(1481363045.853:383): avc:  denied  { listen } for  pid=1 comm="systemd" lport=111 scontext=system_u:system_r:init_t:s0 tcontext=system_u:system_r:unconfined_service_t:s0 tclass=tcp_socket permissive=1


Hash: systemd,init_t,unconfined_service_t,tcp_socket,listen

Version-Release number of selected component:
selinux-policy-3.13.1-225.1.fc25.noarch

Additional info:
reporter:       libreport-2.8.0
hashmarkername: setroubleshoot
kernel:         4.8.10-300.fc25.x86_64
type:           libreport

Comment 1 Daniel Walsh 2016-12-10 12:48:38 UTC

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


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