Bug 788653 - SELinux is preventing /usr/bin/python from 'read' accesses on the None /etc/samba/smb.conf.
Summary: SELinux is preventing /usr/bin/python from 'read' accesses on the None /etc/s...
Keywords:
Status: CLOSED DUPLICATE of bug 788651
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 16
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:32f3be5ba2079308a1b9abd249e...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-08 17:39 UTC by Roger Berg
Modified: 2012-02-08 19:59 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-02-08 19:59:39 UTC
Type: ---


Attachments (Terms of Use)

Description Roger Berg 2012-02-08 17:39:52 UTC
libreport version: 2.0.8
executable:     /usr/bin/python
hashmarkername: setroubleshoot
kernel:         3.2.3-2.fc16.x86_64
reason:         SELinux is preventing /usr/bin/python from 'read' accesses on the None /etc/samba/smb.conf.
time:           ons  8 feb 2012 18.39.40

description:
:SELinux is preventing /usr/bin/python from 'read' accesses on the None /etc/samba/smb.conf.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that python should be allowed read access on the smb.conf <Okänd> 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 system-config-s /var/log/audit/audit.log | audit2allow -M mypol
:# semodule -i mypol.pp
:
:Additional Information:
:Source Context                system_u:system_r:sambagui_t:s0-s0:c0.c1023
:Target Context                unconfined_u:object_r:admin_home_t:s0
:Target Objects                /etc/samba/smb.conf [ None ]
:Source                        system-config-s
:Source Path                   /usr/bin/python
:Port                          <Okänd>
:Host                          (removed)
:Source RPM Packages           python-2.7.2-5.2.fc16.x86_64
:Target RPM Packages           samba-common-3.6.1-77.fc16.x86_64
:Policy RPM                    selinux-policy-3.10.0-75.fc16.noarch
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Enforcing
:Host Name                     (removed)
:Platform                      Linux (removed) 3.2.3-2.fc16.x86_64 #1 SMP Fri
:                              Feb 3 20:08:08 UTC 2012 x86_64 x86_64
:Alert Count                   1
:First Seen                    ons  8 feb 2012 18.37.20
:Last Seen                     ons  8 feb 2012 18.37.20
:Local ID                      2072ab1f-4cb3-4ecb-a655-09273a5f5c77
:
:Raw Audit Messages
:type=AVC msg=audit(1328722640.423:129): avc:  denied  { read } for  pid=2912 comm="system-config-s" name="smb.conf" dev=sda3 ino=790577 scontext=system_u:system_r:sambagui_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:admin_home_t:s0 tclass=filenode=(removed) type=SYSCALL msg=audit(1328722640.423:129): arch=c000003e syscall=2 success=no exit=-13 a0=186f010 a1=0 a2=1b6 a3=238 items=0 ppid=1 pid=2912 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="system-config-s" exe="/usr/bin/python" subj=system_u:system_r:sambagui_t:s0-s0:c0.c1023 key=(null)
:
:
:Hash: system-config-s,sambagui_t,admin_home_t,None,read
:
:audit2allow
:
:
:audit2allow -R
:
:

Comment 1 Daniel Walsh 2012-02-08 19:59:39 UTC

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


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