Hide Forgot
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; :
*** This bug has been marked as a duplicate of bug 744565 ***