Bug 971166 - SELinux is preventing /usr/sbin/abrtd from 'rmdir' accesses on the directory ccpp-2013-06-05-22:09:33-6229.
SELinux is preventing /usr/sbin/abrtd from 'rmdir' accesses on the directory ...
Product: Fedora
Classification: Fedora
Component: selinux-policy (Show other bugs)
x86_64 Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Miroslav Grepl
Fedora Extras Quality Assurance
: 971165 (view as bug list)
Depends On:
  Show dependency treegraph
Reported: 2013-06-05 17:11 EDT by morgan read
Modified: 2013-06-06 02:19 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2013-06-06 02:13:13 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description morgan read 2013-06-05 17:11:39 EDT
Description of problem:
Opening Sensors config button in Tweak Tool Shell Extensions, also Sensors Shell Extension seems to crash gnome-shell when turnig on
SELinux is preventing /usr/sbin/abrtd from 'rmdir' accesses on the directory ccpp-2013-06-05-22:09:33-6229.

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

If you believe that abrtd should be allowed rmdir access on the ccpp-2013-06-05-22:09:33-6229 directory by default.
Then you should report this as a bug.
You can generate a local policy module to allow this access.
allow this access for now by executing:
# grep abrtd /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                system_u:system_r:abrt_t:s0-s0:c0.c1023
Target Context                system_u:object_r:initrc_tmp_t:s0
Target Objects                ccpp-2013-06-05-22:09:33-6229 [ dir ]
Source                        abrtd
Source Path                   /usr/sbin/abrtd
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           abrt-2.1.4-3.fc18.x86_64
Target RPM Packages           
Policy RPM                    selinux-policy-3.11.1-97.fc18.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     (removed)
Platform                      Linux (removed) 3.9.4-200.fc18.x86_64 #1 SMP Fri
                              May 24 20:10:49 UTC 2013 x86_64 x86_64
Alert Count                   2
First Seen                    2013-06-05 22:08:44 BST
Last Seen                     2013-06-05 22:09:41 BST
Local ID                      e5605772-2a98-406b-a32c-c2b188331dac

Raw Audit Messages
type=AVC msg=audit(1370466581.977:529): avc:  denied  { rmdir } for  pid=740 comm="abrtd" name="ccpp-2013-06-05-22:09:33-6229" dev="dm-2" ino=656856 scontext=system_u:system_r:abrt_t:s0-s0:c0.c1023 tcontext=system_u:object_r:initrc_tmp_t:s0 tclass=dir

type=SYSCALL msg=audit(1370466581.977:529): arch=x86_64 syscall=rmdir success=yes exit=0 a0=17ac7e0 a1=ffffffff a2=36f29b1758 a3=5 items=0 ppid=1 pid=740 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 ses=4294967295 tty=(none) comm=abrtd exe=/usr/sbin/abrtd subj=system_u:system_r:abrt_t:s0-s0:c0.c1023 key=(null)

Hash: abrtd,abrt_t,initrc_tmp_t,dir,rmdir


#============= abrt_t ==============
allow abrt_t initrc_tmp_t:dir rmdir;

audit2allow -R
require {
	type initrc_tmp_t;
	type abrt_t;
	class dir rmdir;

#============= abrt_t ==============
allow abrt_t initrc_tmp_t:dir rmdir;

Additional info:
reporter:       libreport-2.1.4
hashmarkername: setroubleshoot
kernel:         3.9.4-200.fc18.x86_64
type:           libreport
Comment 1 Miroslav Grepl 2013-06-06 02:13:13 EDT
Please execute

# restorecon -R -v /var/tmp/abrt
Comment 2 Miroslav Grepl 2013-06-06 02:19:39 EDT
*** Bug 971165 has been marked as a duplicate of this bug. ***

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