Bug 577940 - SELinux is preventing /usr/lib/cups/backend/mfp from executing mfp.
Summary: SELinux is preventing /usr/lib/cups/backend/mfp from executing mfp.
Keywords:
Status: CLOSED DUPLICATE of bug 577890
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 12
Hardware: i386
OS: Linux
low
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:8bc85de2661...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-03-29 19:42 UTC by clainth ficien
Modified: 2010-03-29 19:55 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2010-03-29 19:55:27 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description clainth ficien 2010-03-29 19:42:32 UTC
Summary:

SELinux is preventing /usr/lib/cups/backend/mfp from executing mfp.

Detailed Description:

[SELinux is in permissive mode. This access was not denied.]

SELinux has denied the mfp from executing mfp. If mfp is supposed to be able to
execute mfp, this could be a labeling problem. Most confined domains are allowed
to execute files labeled bin_t. So you could change the labeling on this file to
bin_t and retry the application. If this mfp is not supposed to execute mfp,
this could signal an intrusion attempt.

Allowing Access:

If you want to allow mfp to execute mfp: chcon -t bin_t 'mfp' If this fix works,
please update the file context on disk, with the following command: semanage
fcontext -a -t bin_t 'mfp' Please specify the full path to the executable,
Please file a bug report to make sure this becomes the default labeling.

Additional Information:

Source Context                system_u:system_r:cupsd_t:s0-s0:c0.c1023
Target Context                unconfined_u:object_r:usr_t:s0
Target Objects                mfp [ file ]
Source                        mfp
Source Path                   /usr/lib/cups/backend/mfp
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.6.32-103.fc12
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Plugin Name                   execute
Host Name                     (removed)
Platform                      Linux (removed) 2.6.32.9-70.fc12.i686 #1 SMP Wed
                              Mar 3 05:14:32 UTC 2010 i686 i686
Alert Count                   4
First Seen                    Mon 29 Mar 2010 01:42:54 PM EDT
Last Seen                     Mon 29 Mar 2010 01:44:20 PM EDT
Local ID                      82cb1503-3ba0-4119-8a52-ff9280a7b78f
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1269884660.409:19): avc:  denied  { execute } for  pid=2135 comm="cups-deviced" name="mfp" dev=sda2 ino=88277 scontext=system_u:system_r:cupsd_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:usr_t:s0 tclass=file

node=(removed) type=AVC msg=audit(1269884660.409:19): avc:  denied  { execute_no_trans } for  pid=2135 comm="cups-deviced" path="/usr/lib/cups/backend/mfp" dev=sda2 ino=88277 scontext=system_u:system_r:cupsd_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:usr_t:s0 tclass=file

node=(removed) type=SYSCALL msg=audit(1269884660.409:19): arch=40000003 syscall=11 success=yes exit=0 a0=bfdbfa8c a1=bfdbf284 a2=bfdc0770 a3=b items=0 ppid=2130 pid=2135 auid=4294967295 uid=4 gid=7 euid=4 suid=4 fsuid=4 egid=7 sgid=7 fsgid=7 tty=(none) ses=4294967295 comm="mfp" exe="/usr/lib/cups/backend/mfp" subj=system_u:system_r:cupsd_t:s0-s0:c0.c1023 key=(null)



Hash String generated from  execute,mfp,cupsd_t,usr_t,file,execute
audit2allow suggests:

#============= cupsd_t ==============
allow cupsd_t usr_t:file { execute execute_no_trans };

Comment 1 Daniel Walsh 2010-03-29 19:55:27 UTC

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


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