Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1402067 - SELinux is preventing systemd from 'setopt' accesses on the unix_stream_socket Unknown.
Summary: SELinux is preventing systemd from 'setopt' accesses on the unix_stream_socke...
Keywords:
Status: CLOSED DUPLICATE of bug 1402083
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:2e57041789ad59f5181e7fb6df3...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-12-06 17:25 UTC by Luís Silva
Modified: 2016-12-07 12:15 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-07 12:15:55 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Luís Silva 2016-12-06 17:25:10 UTC
Description of problem:
SELinux is preventing systemd from 'setopt' accesses on the unix_stream_socket Unknown.

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

If you believe that systemd should be allowed setopt access on the Unknown unix_stream_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                Unknown [ unix_stream_socket ]
Source                        systemd
Source Path                   systemd
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    <Unknown>
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 4.8.11-300.fc25.x86_64 #1 SMP Mon
                              Nov 28 18:24:51 UTC 2016 x86_64 x86_64
Alert Count                   4
First Seen                    2016-12-06 17:15:12 WET
Last Seen                     2016-12-06 17:15:42 WET
Local ID                      889b82e7-5903-4eb2-9b51-1e92ce0ad80d

Raw Audit Messages
type=AVC msg=audit(1481044542.594:1181): avc:  denied  { setopt } for  pid=1 comm="systemd" scontext=system_u:system_r:init_t:s0 tcontext=system_u:system_r:unconfined_service_t:s0 tclass=unix_stream_socket permissive=0


Hash: systemd,init_t,unconfined_service_t,unix_stream_socket,setopt


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

Potential duplicate: bug 1301252

Comment 1 Lukas Vrabec 2016-12-07 12:15:55 UTC

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


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