Bug 1760214 - SELinux is preventing rtkit-daemon from 'sys_nice' accesses on the cap_userns labeled rtkit_daemon_t.
Summary: SELinux is preventing rtkit-daemon from 'sys_nice' accesses on the cap_userns...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 29
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Lukas Vrabec
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:1e75e452328e59ff3766c22f147...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-10-10 07:33 UTC by Dan Dragomir
Modified: 2019-10-10 08:03 UTC (History)
5 users (show)

Fixed In Version: selinux-policy-3.14.2-65.fc29
Clone Of:
Environment:
Last Closed: 2019-10-10 08:03:12 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Dan Dragomir 2019-10-10 07:33:04 UTC
Description of problem:
SELinux is preventing rtkit-daemon from 'sys_nice' accesses on the cap_userns labeled rtkit_daemon_t.

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

If you believe that rtkit-daemon should be allowed sys_nice access on cap_userns labeled rtkit_daemon_t 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 'rtkit-daemon' --raw | audit2allow -M my-rtkitdaemon
# semodule -X 300 -i my-rtkitdaemon.pp

Additional Information:
Source Context                system_u:system_r:rtkit_daemon_t:s0
Target Context                system_u:system_r:rtkit_daemon_t:s0
Target Objects                Unknown [ cap_userns ]
Source                        rtkit-daemon
Source Path                   rtkit-daemon
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.14.2-64.fc29.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 5.2.18-100.fc29.x86_64 #1 SMP Tue
                              Oct 1 13:32:05 UTC 2019 x86_64 x86_64
Alert Count                   72
First Seen                    2019-10-09 15:15:52 EEST
Last Seen                     2019-10-10 09:19:34 EEST
Local ID                      c65cb58d-0774-47e4-8bd8-30882c951487

Raw Audit Messages
type=AVC msg=audit(1570688374.40:787): avc:  denied  { sys_nice } for  pid=983 comm="rtkit-daemon" capability=23  scontext=system_u:system_r:rtkit_daemon_t:s0 tcontext=system_u:system_r:rtkit_daemon_t:s0 tclass=cap_userns permissive=0


Hash: rtkit-daemon,rtkit_daemon_t,rtkit_daemon_t,cap_userns,sys_nice

Version-Release number of selected component:
selinux-policy-3.14.2-64.fc29.noarch

Additional info:
component:      selinux-policy
reporter:       libreport-2.10.1
hashmarkername: setroubleshoot
kernel:         5.2.18-100.fc29.x86_64
type:           libreport

Potential duplicate: bug 1750024


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