| Summary: | SELinux is preventing /usr/bin/pdbedit from 'read' accesses on the file /etc/shadow. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Flóki Pálsson <flokip> |
| 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:8fa2419bd5a133dc02822ac8faf42c3946d66547db1ba1a029e31cecc68d7073 | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-10-10 11:56:48 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 744565 *** |
libreport version: 2.0.6 executable: /usr/bin/python hashmarkername: setroubleshoot kernel: 3.1.0-0.rc9.git0.0.fc16.x86_64 reason: SELinux is preventing /usr/bin/pdbedit from 'read' accesses on the file /etc/shadow. time: Sun Oct 9 16:37:51 2011 description: :SELinux is preventing /usr/bin/pdbedit from 'read' accesses on the file /etc/shadow. : :***** Plugin catchall (100. confidence) suggests *************************** : :If you believe that pdbedit should be allowed read access on the shadow 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 pdbedit /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 system_u:object_r:shadow_t:s0 :Target Objects /etc/shadow [ file ] :Source pdbedit :Source Path /usr/bin/pdbedit :Port <Unknown> :Host (removed) :Source RPM Packages samba-common-3.6.0-73.fc16 :Target RPM Packages setup-2.8.36-2.fc16 :Policy RPM selinux-policy-3.10.0-38.fc16 :Selinux Enabled True :Policy Type targeted :Enforcing Mode Enforcing :Host Name (removed) :Platform Linux f16brc4 3.1.0-0.rc9.git0.0.fc16.x86_64 #1 : SMP Wed Oct 5 15:30:54 UTC 2011 x86_64 x86_64 :Alert Count 2 :First Seen sun 9.okt 2011, 14:34:10 GMT :Last Seen sun 9.okt 2011, 16:37:01 GMT :Local ID f8b16a5f-8d23-4c1a-aaba-cffee121d976 : :Raw Audit Messages :type=AVC msg=audit(1318178221.415:75): avc: denied { read } for pid=1800 comm="pdbedit" name="shadow" dev=sdb10 ino=1181091 scontext=system_u:system_r:sambagui_t:s0-s0:c0.c1023 tcontext=system_u:object_r:shadow_t:s0 tclass=file : : :type=SYSCALL msg=audit(1318178221.415:75): arch=x86_64 syscall=open success=no exit=EACCES a0=7f343f80bdf0 a1=0 a2=0 a3=4fe800000000 items=0 ppid=1799 pid=1800 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=pdbedit exe=/usr/bin/pdbedit subj=system_u:system_r:sambagui_t:s0-s0:c0.c1023 key=(null) : :Hash: pdbedit,sambagui_t,shadow_t,file,read : :audit2allow : :#============= sambagui_t ============== :allow sambagui_t shadow_t:file read; : :audit2allow -R : :#============= sambagui_t ============== :allow sambagui_t shadow_t:file read; :