Bug 1528189 - SELinux is preventing systemd from 'create' accesses on the tcp_socket port None.
Summary: SELinux is preventing systemd from 'create' accesses on the tcp_socket port N...
Keywords:
Status: CLOSED DUPLICATE of bug 1366968
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 27
Hardware: i686
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Colin Walters
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:f680596475fced633dedd2c4c47...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-12-21 08:58 UTC by Villy Kruse
Modified: 2018-01-05 13:54 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2018-01-05 13:54:02 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Villy Kruse 2017-12-21 08:58:25 UTC
Description of problem:

# systemctl start saned.socket
Job for saned.socket failed.
See "systemctl  status saned.socket" and "journalctl  -xe" for details.
# 
SELinux is preventing systemd from 'create' accesses on the tcp_socket port None.

The socket is port 6566 as used by "saned.socket"

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

If you believe that systemd should be allowed create 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-283.18.fc27.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 4.14.6-300.fc27.i686+PAE #1 SMP
                              Thu Dec 14 16:01:19 UTC 2017 i686 i686
Alert Count                   1
First Seen                    2017-12-21 09:53:40 CET
Last Seen                     2017-12-21 09:53:40 CET
Local ID                      64b41501-d775-47af-978c-576a000ca276

Raw Audit Messages
type=AVC msg=audit(1513846420.911:242): avc:  denied  { create } for  pid=1 comm="systemd" scontext=system_u:system_r:init_t:s0 tcontext=system_u:system_r:unconfined_service_t:s0 tclass=tcp_socket permissive=0


Hash: systemd,init_t,unconfined_service_t,tcp_socket,create

Version-Release number of selected component:
selinux-policy-3.13.1-283.18.fc27.noarch

Additional info:
component:      selinux-policy
reporter:       libreport-2.9.3
hashmarkername: setroubleshoot
kernel:         4.14.6-300.fc27.i686+PAE
type:           libreport

Potential duplicate: bug 1483635

Comment 1 Lukas Vrabec 2018-01-05 13:54:02 UTC

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


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