Bug 593416 - SELinux is preventing /usr/sbin/cupsd "read" access on /usr/share/cups/mime/mime.types.
Summary: SELinux is preventing /usr/sbin/cupsd "read" access on /usr/share/cups/m...
Keywords:
Status: CLOSED DUPLICATE of bug 593413
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 12
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:420f5610959...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-05-18 18:26 UTC by Brian Whitehead
Modified: 2010-11-10 16:23 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2010-05-18 19:18:52 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Brian Whitehead 2010-05-18 18:26:00 UTC
Summary:

SELinux is preventing /usr/sbin/cupsd "read" access on
/usr/share/cups/mime/mime.types.

Detailed Description:

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

SELinux denied access requested by cupsd. It is not expected that this access is
required by cupsd 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:cupsd_t:s0-s0:c0.c1023
Target Context                unconfined_u:object_r:user_home_t:s0
Target Objects                /usr/share/cups/mime/mime.types [ file ]
Source                        cupsd
Source Path                   /usr/sbin/cupsd
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           cups-1.4.2-28.fc12
Target RPM Packages           cups-1.4.2-28.fc12
Policy RPM                    selinux-policy-3.6.32-113.fc12
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed)
                              2.6.32.11-99.fc12.x86_64 #1 SMP Mon Apr 5 19:59:38
                              UTC 2010 x86_64 x86_64
Alert Count                   2
First Seen                    Tue 18 May 2010 01:18:02 PM CDT
Last Seen                     Tue 18 May 2010 01:18:02 PM CDT
Local ID                      df1b956c-0de2-47fc-8e1d-3b0e071147d0
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1274206682.291:8): avc:  denied  { read } for  pid=1412 comm="cupsd" name="mime.types" dev=dm-0 ino=37253 scontext=system_u:system_r:cupsd_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file

node=(removed) type=AVC msg=audit(1274206682.291:8): avc:  denied  { open } for  pid=1412 comm="cupsd" name="mime.types" dev=dm-0 ino=37253 scontext=system_u:system_r:cupsd_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file

node=(removed) type=SYSCALL msg=audit(1274206682.291:8): arch=c000003e syscall=2 success=yes exit=68719476864 a0=7ffffeb8ad00 a1=0 a2=0 a3=7ffffeb828e0 items=0 ppid=1411 pid=1412 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="cupsd" exe="/usr/sbin/cupsd" subj=system_u:system_r:cupsd_t:s0-s0:c0.c1023 key=(null)



Hash String generated from  catchall,cupsd,cupsd_t,user_home_t,file,read
audit2allow suggests:

#============= cupsd_t ==============
allow cupsd_t user_home_t:file { read open };

Comment 1 Daniel Walsh 2010-05-18 19:18:52 UTC

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


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