Bug 971165 - SELinux is preventing /usr/libexec/abrt-handle-event from 'unlink' accesses on the lnk_file .lock.
SELinux is preventing /usr/libexec/abrt-handle-event from 'unlink' accesses o...
Status: CLOSED DUPLICATE of bug 971166
Product: Fedora
Classification: Fedora
Component: selinux-policy (Show other bugs)
x86_64 Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Miroslav Grepl
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2013-06-05 17:08 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:19:39 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:08:39 EDT
Description of problem:
Opening Sensors Shell Extension configuration button in Tweak Tool
SELinux is preventing /usr/libexec/abrt-handle-event from 'unlink' accesses on the lnk_file .lock.

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

If you believe that abrt-handle-event should be allowed unlink access on the .lock lnk_file 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 abrt-handle-eve /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                .lock [ lnk_file ]
Source                        abrt-handle-eve
Source Path                   /usr/libexec/abrt-handle-event
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                   1
First Seen                    2013-06-05 22:05:24 BST
Last Seen                     2013-06-05 22:05:24 BST
Local ID                      981202e2-d39d-497e-be46-5c082ed8e5b8

Raw Audit Messages
type=AVC msg=audit(1370466324.111:451): avc:  denied  { unlink } for  pid=4053 comm="abrt-handle-eve" name=".lock" dev="dm-2" ino=656819 scontext=system_u:system_r:abrt_t:s0-s0:c0.c1023 tcontext=system_u:object_r:initrc_tmp_t:s0 tclass=lnk_file

type=SYSCALL msg=audit(1370466324.111:451): arch=x86_64 syscall=unlink success=yes exit=0 a0=7fff84b4e160 a1=222e3bc a2=36f2747872 a3=36f2731730 items=0 ppid=740 pid=4053 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 ses=4294967295 tty=(none) comm=abrt-handle-eve exe=/usr/libexec/abrt-handle-event subj=system_u:system_r:abrt_t:s0-s0:c0.c1023 key=(null)

Hash: abrt-handle-eve,abrt_t,initrc_tmp_t,lnk_file,unlink


#============= abrt_t ==============
allow abrt_t initrc_tmp_t:lnk_file unlink;

audit2allow -R
require {
	type initrc_tmp_t;
	type abrt_t;
	class lnk_file unlink;

#============= abrt_t ==============
allow abrt_t initrc_tmp_t:lnk_file unlink;

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:19:39 EDT

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

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