Bug 870091

Summary: SELinux is preventing /usr/bin/dbus-daemon (deleted) from 'read' accesses on the file passwd.
Product: [Fedora] Fedora Reporter: Martin <mholec>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: dominick.grift, dwalsh, mgrepl, tpelka
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:666774e333cf642f39ff8da8768b44ca7577f2e8038657c3d5569b5b76fb8b07
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-10-25 17:47:17 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: type
none
File: hashmarkername none

Description Martin 2012-10-25 14:34:07 UTC
Additional info:
libreport version: 2.0.16
kernel:         3.6.3-3.fc18.x86_64

description:
:SELinux is preventing /usr/bin/dbus-daemon (deleted) from 'read' accesses on the file passwd.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that dbus-daemon (deleted) should be allowed read access on the passwd 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 dbus-daemon /var/log/audit/audit.log | audit2allow -M mypol
:# semodule -i mypol.pp
:
:Additional Information:
:Source Context                system_u:system_r:system_dbusd_t:s0-s0:c0.c1023
:Target Context                unconfined_u:object_r:shadow_t:s0
:Target Objects                passwd [ file ]
:Source                        dbus-daemon
:Source Path                   /usr/bin/dbus-daemon (deleted)
:Port                          <Neznámé>
:Host                          (removed)
:Source RPM Packages           
:Target RPM Packages           
:Policy RPM                    <Neznámé>
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Permissive
:Host Name                     (removed)
:Platform                      Linux (removed) 3.6.2-4.fc17.x86_64 #1 SMP Wed Oct
:                              17 02:43:21 UTC 2012 x86_64 x86_64
:Alert Count                   9
:First Seen                    2012-10-25 14:02:55 CEST
:Last Seen                     2012-10-25 14:17:32 CEST
:Local ID                      0291ae5c-59dd-454b-b836-55a69c4c3e09
:
:Raw Audit Messages
:type=AVC msg=audit(1351167452.177:153): avc:  denied  { read } for  pid=579 comm="dbus-daemon" name="passwd" dev="dm-0" ino=133756 scontext=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:shadow_t:s0 tclass=file
:
:
:type=AVC msg=audit(1351167452.177:153): avc:  denied  { open } for  pid=579 comm="dbus-daemon" path="/etc/passwd" dev="dm-0" ino=133756 scontext=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:shadow_t:s0 tclass=file
:
:
:type=SYSCALL msg=audit(1351167452.177:153): arch=x86_64 syscall=open success=yes exit=EBADRQC a0=7feab5c766ca a1=80000 a2=1b6 a3=238 items=0 ppid=1 pid=579 auid=4294967295 uid=81 gid=81 euid=81 suid=81 fsuid=81 egid=81 sgid=81 fsgid=81 tty=(none) ses=4294967295 comm=dbus-daemon exe=2F7573722F62696E2F646275732D6461656D6F6E202864656C6574656429 subj=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 key=(null)
:
:Hash: dbus-daemon,system_dbusd_t,shadow_t,file,read
:
:audit2allow
:
:#============= system_dbusd_t ==============
:allow system_dbusd_t shadow_t:file { read open };
:
:audit2allow -R
:
:#============= system_dbusd_t ==============
:allow system_dbusd_t shadow_t:file { read open };
:

Comment 1 Martin 2012-10-25 14:34:10 UTC
Created attachment 633371 [details]
File: type

Comment 2 Martin 2012-10-25 14:34:13 UTC
Created attachment 633373 [details]
File: hashmarkername

Comment 3 Daniel Walsh 2012-10-25 17:47:17 UTC

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