Bug 549731 - SELinux is preventing /usr/lib/cups/backend/ekplp "write" access on /var/ekpd/ekplp0.
Summary: SELinux is preventing /usr/lib/cups/backend/ekplp "write" access on /var/ekpd...
Keywords:
Status: CLOSED ERRATA
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:82954e339cb...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-12-22 14:20 UTC by cs
Modified: 2010-01-08 20:10 UTC (History)
3 users (show)

Fixed In Version: 3.6.32-66.fc12
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-01-05 23:00:41 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description cs 2009-12-22 14:20:07 UTC
Summary:

SELinux is preventing /usr/lib/cups/backend/ekplp "write" access on
/var/ekpd/ekplp0.

Detailed Description:

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

SELinux denied access requested by ekplp. It is not expected that this access is
required by ekplp 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://fedora.redhat.com/docs/selinux-faq-fc5/#id2961385) Please file a bug
report.

Additional Information:

Source Context                unconfined_u:system_r:cupsd_t:s0-s0:c0.c1023
Target Context                system_u:object_r:var_t:s0
Target Objects                /var/ekpd/ekplp0 [ fifo_file ]
Source                        ekplp
Source Path                   /usr/lib/cups/backend/ekplp
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           pips-cups-3.0-1
Target RPM Packages           
Policy RPM                    selinux-policy-3.6.32-56.fc12
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed) 2.6.31.6-166.fc12.i686 #1 SMP Wed Dec 9
                              11:14:59 EST 2009 i686 i686
Alert Count                   2
First Seen                    Tue 22 Dec 2009 02:11:45 PM GMT
Last Seen                     Tue 22 Dec 2009 02:16:51 PM GMT
Local ID                      897a5aca-753b-4501-997b-088084d53b3b
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1261491411.793:23773): avc:  denied  { write } for  pid=30317 comm="ekplp" name="ekplp0" dev=sda3 ino=138716 scontext=unconfined_u:system_r:cupsd_t:s0-s0:c0.c1023 tcontext=system_u:object_r:var_t:s0 tclass=fifo_file

node=(removed) type=SYSCALL msg=audit(1261491411.793:23773): arch=40000003 syscall=33 success=yes exit=0 a0=bff45f91 a1=2 a2=0 a3=bff45f91 items=0 ppid=30316 pid=30317 auid=500 uid=4 gid=7 euid=4 suid=4 fsuid=4 egid=7 sgid=7 fsgid=7 tty=(none) ses=3 comm="ekplp" exe="/usr/lib/cups/backend/ekplp" subj=unconfined_u:system_r:cupsd_t:s0-s0:c0.c1023 key=(null)



Hash String generated from  selinux-policy-3.6.32-56.fc12,catchall,ekplp,cupsd_t,var_t,fifo_file,write
audit2allow suggests:

#============= cupsd_t ==============
allow cupsd_t var_t:fifo_file write;

Comment 1 Daniel Walsh 2009-12-22 14:31:16 UTC
# chcon -R -t cupsd_var_run_t /var/ekpd

I will add this label to the next release.

Fixed in selinux-policy-3.6.32-62.fc12.noarch

Comment 2 Fedora Update System 2009-12-22 21:56:26 UTC
selinux-policy-3.6.32-63.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/selinux-policy-3.6.32-63.fc12

Comment 3 Fedora Update System 2010-01-04 21:54:00 UTC
selinux-policy-3.6.32-66.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/selinux-policy-3.6.32-66.fc12

Comment 4 Fedora Update System 2010-01-05 22:50:03 UTC
selinux-policy-3.6.32-66.fc12 has been pushed to the Fedora 12 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update selinux-policy'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F12/FEDORA-2010-0184

Comment 5 Fedora Update System 2010-01-05 22:58:21 UTC
selinux-policy-3.6.32-63.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 6 Fedora Update System 2010-01-08 20:04:50 UTC
selinux-policy-3.6.32-66.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.


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