Bug 747046 - SELinux is preventing /usr/sbin/abrtd from 'create' accesses on the lnk_file ccpp-1318955255-3389.lock.
Summary: SELinux is preventing /usr/sbin/abrtd from 'create' accesses on the lnk_file ...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 13
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:9201c5bdc0d...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-18 16:30 UTC by TFH
Modified: 2012-08-18 00:03 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-10-18 17:36:18 UTC
Type: ---


Attachments (Terms of Use)

Description TFH 2011-10-18 16:30:24 UTC
SELinux is preventing /usr/sbin/abrtd from 'create' accesses on the lnk_file ccpp-1318955255-3389.lock.

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

If you believe that abrtd should be allowed create access on the ccpp-1318955255-3389.lock lnk_file 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:
# 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:var_spool_t:s0
Target Objects                ccpp-1318955255-3389.lock [ lnk_file ]
Source                        abrtd
Source Path                   /usr/sbin/abrtd
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           abrt-1.1.14-1.fc13
Target RPM Packages           
Policy RPM                    selinux-policy-3.7.19-101.fc13
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 2.6.34.9-69.fc13.x86_64 #1 SMP
                              Tue May 3 09:23:03 UTC 2011 x86_64 x86_64
Alert Count                   1
First Seen                    Tue 18 Oct 2011 12:27:35 PM EDT
Last Seen                     Tue 18 Oct 2011 12:27:35 PM EDT
Local ID                      fa16810b-d6b4-4381-9d55-4e01195d2143

Raw Audit Messages
type=AVC msg=audit(1318955255.562:71): avc:  denied  { create } for  pid=1693 comm="abrtd" name="ccpp-1318955255-3389.lock" scontext=system_u:system_r:abrt_t:s0-s0:c0.c1023 tcontext=system_u:object_r:var_spool_t:s0 tclass=lnk_file


type=SYSCALL msg=audit(1318955255.562:71): arch=x86_64 syscall=symlink success=no exit=EACCES a0=7fffe802a8e0 a1=1004588 a2=7fffe802a8e4 a3=2d35353235353938 items=0 ppid=1 pid=1693 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=abrtd exe=/usr/sbin/abrtd subj=system_u:system_r:abrt_t:s0-s0:c0.c1023 key=(null)

Hash: abrtd,abrt_t,var_spool_t,lnk_file,create

audit2allow

#============= abrt_t ==============
allow abrt_t var_spool_t:lnk_file create;

audit2allow -R

#============= abrt_t ==============
allow abrt_t var_spool_t:lnk_file create;

Comment 1 Daniel Walsh 2011-10-18 17:36:18 UTC
restorecon -R -v /var/spool

You should update.


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