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 1607807 - AVC avc: denied { setpcap } for pid=1213 comm="sedispatch" capability=8
Summary: AVC avc: denied { setpcap } for pid=1213 comm="sedispatch" capability=8
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 29
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Lukas Vrabec
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-07-24 10:21 UTC by Lukas Slebodnik
Modified: 2018-09-12 02:58 UTC (History)
5 users (show)

Fixed In Version: selinux-policy-3.14.2-34.fc29
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-09-12 02:58:05 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Lukas Slebodnik 2018-07-24 10:21:38 UTC
Description of problem:
I saw following avc after reboot of my machine (obviously it was not reported by selinuxtroubleshooter :-)

type=PROCTITLE msg=audit(07/24/2018 12:10:16.677:98) : proctitle=/usr/sbin/sedispatch 
type=SYSCALL msg=audit(07/24/2018 12:10:16.677:98) : arch=x86_64 syscall=prctl success=no exit=EPERM(Operation not permitted) a0=PR_CAPBSET_DROP a1=chown a2=0x0 a3=0x0 items=0 ppid=1211 p
id=1213 auid=unset uid=root gid=root euid=root suid=root fsuid=root egid=root sgid=root fsgid=root tty=(none) ses=unset comm=sedispatch exe=/usr/sbin/sedispatch subj=system_u:system_r:aud
itd_t:s0 key=(null) 
type=AVC msg=audit(07/24/2018 12:10:16.677:98) : avc:  denied  { setpcap } for  pid=1213 comm=sedispatch capability=setpcap  scontext=system_u:system_r:auditd_t:s0 tcontext=system_u:syste
m_r:auditd_t:s0 tclass=capability permissive=0

Version-Release number of selected component (if applicable):
sh# rpm -qf /usr/sbin/sedispatch
setroubleshoot-server-3.3.18-1.fc29.x86_64
sh# rpm -q selinux-policy
selinux-policy-3.14.2-28.fc29.noarch

Comment 1 Lukas Slebodnik 2018-07-24 10:28:27 UTC
There are also som USER_AVCs related to selinux troubeshooter

type=USER_AVC msg=audit(07/24/2018 12:10:20.821:194) : pid=1259 uid=dbus auid=unset ses=unset subj=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 msg='avc:  denied  { send_msg } for msgt
ype=method_call interface=org.fedoraproject.SetroubleshootdIface member=avc dest=org.fedoraproject.Setroubleshootd spid=1213 tpid=1399 scontext=system_u:system_r:auditd_t:s0 tcontext=syst
em_u:system_r:setroubleshootd_t:s0-s0:c0.c1023 tclass=dbus permissive=0  exe=/usr/bin/dbus-daemon sauid=dbus hostname=? addr=? terminal=?' 
----
type=USER_AVC msg=audit(07/24/2018 12:10:20.821:195) : pid=1259 uid=dbus auid=unset ses=unset subj=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 msg='avc:  denied  { send_msg } for msgt
ype=method_call interface=org.fedoraproject.SetroubleshootdIface member=avc dest=org.fedoraproject.Setroubleshootd spid=1213 tpid=1399 scontext=system_u:system_r:auditd_t:s0 tcontext=syst
em_u:system_r:setroubleshootd_t:s0-s0:c0.c1023 tclass=dbus permissive=0  exe=/usr/bin/dbus-daemon sauid=dbus hostname=? addr=? terminal=?' 
----
type=USER_AVC msg=audit(07/24/2018 12:10:20.821:196) : pid=1259 uid=dbus auid=unset ses=unset subj=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 msg='avc:  denied  { send_msg } for msgt
ype=method_call interface=org.fedoraproject.SetroubleshootdIface member=avc dest=org.fedoraproject.Setroubleshootd spid=1213 tpid=1399 scontext=system_u:system_r:auditd_t:s0 tcontext=syst
em_u:system_r:setroubleshootd_t:s0-s0:c0.c1023 tclass=dbus permissive=0  exe=/usr/bin/dbus-daemon sauid=dbus hostname=? addr=? terminal=?' 
----
type=USER_AVC msg=audit(07/24/2018 12:10:20.821:197) : pid=1259 uid=dbus auid=unset ses=unset subj=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 msg='avc:  denied  { send_msg } for msgt
ype=method_call interface=org.fedoraproject.SetroubleshootdIface member=avc dest=org.fedoraproject.Setroubleshootd spid=1213 tpid=1399 scontext=system_u:system_r:auditd_t:s0 tcontext=syst
em_u:system_r:setroubleshootd_t:s0-s0:c0.c1023 tclass=dbus permissive=0  exe=/usr/bin/dbus-daemon sauid=dbus hostname=? addr=? terminal=?' 
----
type=USER_AVC msg=audit(07/24/2018 12:10:20.822:198) : pid=1259 uid=dbus auid=unset ses=unset subj=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 msg='avc:  denied  { send_msg } for msgt
ype=method_call interface=org.fedoraproject.SetroubleshootdIface member=avc dest=org.fedoraproject.Setroubleshootd spid=1213 tpid=1399 scontext=system_u:system_r:auditd_t:s0 tcontext=syst
em_u:system_r:setroubleshootd_t:s0-s0:c0.c1023 tclass=dbus permissive=0  exe=/usr/bin/dbus-daemon sauid=dbus hostname=? addr=? terminal=?'

Comment 2 Jan Kurik 2018-08-14 11:16:20 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 29 development cycle.
Changing version to '29'.

Comment 3 Fedora Update System 2018-09-11 12:51:43 UTC
selinux-policy-3.14.2-34.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2018-db240a1726

Comment 4 Fedora Update System 2018-09-12 02:58:05 UTC
selinux-policy-3.14.2-34.fc29 has been pushed to the Fedora 29 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.