Bug 747046

Summary: SELinux is preventing /usr/sbin/abrtd from 'create' accesses on the lnk_file ccpp-1318955255-3389.lock.
Product: [Fedora] Fedora Reporter: TFH <entropy92>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 13CC: dizzanium, dominick.grift, dwalsh, mgrepl, vandenbrouckemathias
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:9201c5bdc0de3a2581da428580fee4c14351e1e4e14774e1cc65d980105869bb
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-10-18 17:36:18 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

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.