Bug 744590 - SELinux is preventing /usr/bin/pdbedit from 'read' accesses on the file /etc/shadow.
Summary: SELinux is preventing /usr/bin/pdbedit from 'read' accesses on the file /etc/...
Keywords:
Status: CLOSED DUPLICATE of bug 744565
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:8fa2419bd5a133dc02822ac8faf...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-09 16:38 UTC by Flóki Pálsson
Modified: 2011-10-10 11:56 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-10-10 11:56:48 UTC
Type: ---


Attachments (Terms of Use)

Description Flóki Pálsson 2011-10-09 16:38:04 UTC
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;
:

Comment 1 Miroslav Grepl 2011-10-10 11:56:48 UTC

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


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