Bug 991838 - SELinux is preventing /usr/sbin/abrt-dbus from 'write' accesses on the directory oops-2013-08-04-16:07:55-6205-4.
Summary: SELinux is preventing /usr/sbin/abrt-dbus from 'write' accesses on the direct...
Keywords:
Status: CLOSED DUPLICATE of bug 991837
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 18
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:715be195e2f2e646a470d7549ad...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-08-04 23:39 UTC by Moez Roy
Modified: 2013-08-05 06:27 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-08-05 06:27:23 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Moez Roy 2013-08-04 23:39:29 UTC
Description of problem:
SELinux is preventing /usr/sbin/abrt-dbus from 'write' accesses on the directory oops-2013-08-04-16:07:55-6205-4.

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

If you believe that abrt-dbus should be allowed write access on the oops-2013-08-04-16:07:55-6205-4 directory 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 abrt-dbus /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                unconfined_u:object_r:cache_home_t:s0
Target Objects                oops-2013-08-04-16:07:55-6205-4 [ dir ]
Source                        abrt-dbus
Source Path                   /usr/sbin/abrt-dbus
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           abrt-dbus-2.1.6-2.fc18.x86_64
Target RPM Packages           
Policy RPM                    selinux-policy-3.11.1-98.fc18.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     (removed)
Platform                      Linux (removed) 3.9.11-200.fc18.x86_64 #1 SMP Mon
                              Jul 22 21:04:50 UTC 2013 x86_64 x86_64
Alert Count                   1
First Seen                    2013-08-04 16:38:01 PDT
Last Seen                     2013-08-04 16:38:01 PDT
Local ID                      0133f50c-1ed9-438e-bc53-51e33f45972a

Raw Audit Messages
type=AVC msg=audit(1375659481.118:306): avc:  denied  { write } for  pid=2109 comm="abrt-dbus" name="oops-2013-08-04-16:07:55-6205-4" dev="dm-1" ino=790070 scontext=system_u:system_r:abrt_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:cache_home_t:s0 tclass=dir


type=AVC msg=audit(1375659481.118:306): avc:  denied  { add_name } for  pid=2109 comm="abrt-dbus" name=".lock" scontext=system_u:system_r:abrt_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:cache_home_t:s0 tclass=dir


type=AVC msg=audit(1375659481.118:306): avc:  denied  { create } for  pid=2109 comm="abrt-dbus" name=".lock" scontext=system_u:system_r:abrt_t:s0-s0:c0.c1023 tcontext=system_u:object_r:cache_home_t:s0 tclass=lnk_file


type=SYSCALL msg=audit(1375659481.118:306): arch=x86_64 syscall=symlink success=yes exit=0 a0=7fff8530ae00 a1=7fff8530ad70 a2=7fb0002b9052 a3=7fff8530ab00 items=0 ppid=1 pid=2109 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 ses=4294967295 tty=(none) comm=abrt-dbus exe=/usr/sbin/abrt-dbus subj=system_u:system_r:abrt_t:s0-s0:c0.c1023 key=(null)

Hash: abrt-dbus,abrt_t,cache_home_t,dir,write

audit2allow

#============= abrt_t ==============
allow abrt_t cache_home_t:dir { write add_name };
allow abrt_t cache_home_t:lnk_file create;

audit2allow -R
require {
	type cache_home_t;
	type abrt_t;
	class lnk_file create;
}

#============= abrt_t ==============
allow abrt_t cache_home_t:lnk_file create;
thumb_filetrans_home_content(abrt_t)


Additional info:
reporter:       libreport-2.1.6
hashmarkername: setroubleshoot
kernel:         3.9.11-200.fc18.x86_64
type:           libreport

Comment 1 Miroslav Grepl 2013-08-05 06:27:23 UTC

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


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