| Summary: | SELinux is preventing /usr/bin/python from 'read' accesses on the None /etc/samba/smb.conf. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Roger Berg <greb17> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 16 | CC: | dominick.grift, dwalsh, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:32f3be5ba2079308a1b9abd249e1740db35408a60fd885cb80b34d51c7feadfb | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-02-08 19:59:39 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
*** This bug has been marked as a duplicate of bug 788651 *** |
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 : :