Bug 654162

Summary: SELinux is preventing /usr/sbin/abrtd "read" access on /etc/samba/smb.conf.
Product: [Fedora] Fedora Reporter: pakmanj
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 14CC: dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:6211c00afde6b7e1deeaac306508711daa64755b77c709e45b58798e164082c1
Fixed In Version: selinux-policy-3.9.7-12.fc14 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-11-21 22:00:28 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description pakmanj 2010-11-17 02:32:18 UTC
Summary:

SELinux is preventing /usr/sbin/abrtd "read" access on /etc/samba/smb.conf.

Detailed Description:

SELinux denied access requested by abrtd. It is not expected that this access is
required by abrtd and this access may signal an intrusion attempt. It is also
possible that the specific version or configuration of the application is
causing it to require additional access.

Allowing Access:

You can generate a local policy module to allow this access - see FAQ
(http://docs.fedoraproject.org/selinux-faq-fc5/#id2961385) Please file a bug
report.

Additional Information:

Source Context                system_u:system_r:abrt_t:s0-s0:c0.c1023
Target Context                unconfined_u:object_r:samba_etc_t:s0
Target Objects                /etc/samba/smb.conf [ file ]
Source                        yum
Source Path                   /usr/bin/python
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           abrt-1.1.13-2.fc14
Target RPM Packages           samba-common-3.5.6-69.fc14
Policy RPM                    selinux-policy-3.9.7-10.fc14
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed) 2.6.35.6-48.fc14.i686 #1 SMP Fri Oct
                              22 15:34:36 UTC 2010 i686 i686
Alert Count                   96
First Seen                    Fri 12 Nov 2010 04:03:44 PM EST
Last Seen                     Tue 16 Nov 2010 09:29:13 PM EST
Local ID                      c874e351-e74d-4912-b05e-378fda955979
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1289960953.550:53): avc:  denied  { read } for  pid=4739 comm="abrtd" name="smb.conf" dev=dm-0 ino=401566 scontext=system_u:system_r:abrt_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:samba_etc_t:s0 tclass=file

node=(removed) type=SYSCALL msg=audit(1289960953.550:53): arch=40000003 syscall=5 success=no exit=-13 a0=b6d01958 a1=8000 a2=0 a3=0 items=0 ppid=1 pid=4739 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 String generated from  catchall,yum,abrt_t,samba_etc_t,file,read
audit2allow suggests:

#============= abrt_t ==============
allow abrt_t samba_etc_t:file read;

Comment 1 Daniel Walsh 2010-11-17 15:58:22 UTC
Miroslav change files_read_etc_files to files_read_config_files(abrt_t)

Comment 2 Miroslav Grepl 2010-11-18 14:36:50 UTC
Fixed in selinux-policy-3.9.7-12.fc14

Comment 3 Fedora Update System 2010-11-19 13:22:17 UTC
selinux-policy-3.9.7-12.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/selinux-policy-3.9.7-12.fc14

Comment 4 Fedora Update System 2010-11-19 22:40:33 UTC
selinux-policy-3.9.7-12.fc14 has been pushed to the Fedora 14 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update selinux-policy'.  You can provide feedback for this update here: https://admin.fedoraproject.org/updates/selinux-policy-3.9.7-12.fc14

Comment 5 Fedora Update System 2010-11-21 21:58:52 UTC
selinux-policy-3.9.7-12.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.