Bug 1483716 - SELinux is preventing systemd from 'create' accesses on the netlink_audit_socket Unknown.
Summary: SELinux is preventing systemd from 'create' accesses on the netlink_audit_soc...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 28
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Lukas Vrabec
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:be0f998dda60ea3ad81b0e43af5...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-08-21 19:06 UTC by Mikhail
Modified: 2018-06-09 20:42 UTC (History)
8 users (show)

Fixed In Version: selinux-policy-3.13.1-276.fc27 selinux-policy-3.14.1-32.fc28
Clone Of:
Environment:
Last Closed: 2018-06-09 20:42:26 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Mikhail 2017-08-21 19:06:08 UTC
Description of problem:
SELinux is preventing systemd from 'create' accesses on the netlink_audit_socket Unknown.

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

If you believe that systemd should be allowed create access on the Unknown netlink_audit_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:syslogd_t:s0
Target Objects                Unknown [ netlink_audit_socket ]
Source                        systemd
Source Path                   systemd
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.13.1-270.fc27.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 4.13.0-0.rc4.git4.1.fc27.x86_64 #1
                              SMP Fri Aug 11 15:03:46 UTC 2017 x86_64 x86_64
Alert Count                   101500
First Seen                    2017-08-13 14:16:02 +05
Last Seen                     2017-08-19 18:37:17 +05
Local ID                      d29d8ea3-fd71-4326-a6ba-01e67ce37063

Raw Audit Messages
type=AVC msg=audit(1503149837.991:555605): avc:  denied  { create } for  pid=1 comm="systemd" scontext=system_u:system_r:init_t:s0 tcontext=system_u:system_r:syslogd_t:s0 tclass=netlink_audit_socket permissive=0


Hash: systemd,init_t,syslogd_t,netlink_audit_socket,create

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

Additional info:
component:      selinux-policy
reporter:       libreport-2.9.1
hashmarkername: setroubleshoot
kernel:         4.13.0-0.rc5.git4.1.fc28.x86_64
type:           libreport

Comment 1 Fedora End Of Life 2018-02-20 15:35:02 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 28 development cycle.
Changing version to '28'.

Comment 2 Fedora Update System 2018-06-06 13:36:47 UTC
selinux-policy-3.14.1-32.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-743a9247de

Comment 3 Fedora Update System 2018-06-07 13:17:17 UTC
selinux-policy-3.14.1-32.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-743a9247de

Comment 4 Fedora Update System 2018-06-09 20:42:26 UTC
selinux-policy-3.14.1-32.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.


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