Bug 577060

Summary: SELinux is preventing /lib/dbus-1/dbus-daemon-launch-helper "execute" access on /usr/share/hplip/pkservice.py.
Product: [Fedora] Fedora Reporter: boberickson1
Component: selinux-policyAssignee: Daniel Walsh <dwalsh>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 12CC: boberickson1, dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:9c2435295b5517e057c2ad481310cd9bb33b69571fb99f341b4e8a14cdcbe855
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-03-26 07:26:26 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:

Description boberickson1 2010-03-25 23:52:28 UTC
Summary:

SELinux is preventing /lib/dbus-1/dbus-daemon-launch-helper "execute" access on
/usr/share/hplip/pkservice.py.

Detailed Description:

SELinux denied access requested by dbus-daemon-lau. It is not expected that this
access is required by dbus-daemon-lau and this access may signal an intrusion
attempt. It is also possible that the specific version or configuration of the
application is causing it to require additional access.

Allowing Access:

You can generate a local policy module to allow this access - see FAQ
(http://docs.fedoraproject.org/selinux-faq-fc5/#id2961385) Please file a bug
report.

Additional Information:

Source Context                system_u:system_r:system_dbusd_t:s0-s0:c0.c1023
Target Context                system_u:object_r:hplip_exec_t:s0
Target Objects                /usr/share/hplip/pkservice.py [ file ]
Source                        dbus-daemon-lau
Source Path                   /lib/dbus-1/dbus-daemon-launch-helper
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           dbus-1.2.16-9.fc12
Target RPM Packages           
Policy RPM                    selinux-policy-3.6.32-103.fc12
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed)
                              2.6.32.9-70.fc12.i686.PAE #1 SMP Wed Mar 3
                              04:57:21 UTC 2010 i686 i686
Alert Count                   2
First Seen                    Thu 25 Mar 2010 04:39:55 AM PDT
Last Seen                     Thu 25 Mar 2010 04:40:25 AM PDT
Local ID                      3be2f8ab-23b5-4336-9810-a6161ca4990f
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1269517225.944:26353): avc:  denied  { execute } for  pid=1960 comm="dbus-daemon-lau" name="pkservice.py" dev=dm-0 ino=141151 scontext=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 tcontext=system_u:object_r:hplip_exec_t:s0 tclass=file

node=(removed) type=SYSCALL msg=audit(1269517225.944:26353): arch=40000003 syscall=11 success=no exit=-13 a0=8de4c48 a1=8de4bf0 a2=8de4008 a3=8de71e8 items=0 ppid=1959 pid=1960 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="dbus-daemon-lau" exe="/lib/dbus-1/dbus-daemon-launch-helper" subj=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 key=(null)



Hash String generated from  catchall,dbus-daemon-lau,system_dbusd_t,hplip_exec_t,file,execute
audit2allow suggests:

#============= system_dbusd_t ==============
allow system_dbusd_t hplip_exec_t:file execute;

Comment 1 Miroslav Grepl 2010-03-26 07:26:26 UTC
rpm -q hplip

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