I have a samsung ML2525W printer. I installed the printer driver. I added the printer, everything went fine.
But when I try to print. SELINUX prevents it from printing.
Here's the message:
Code:
Summary:
SELinux is preventing /usr/lib/cups/daemon/cups-deviced "execute" access on mfp.
Detailed Description:
SELinux denied access requested by cups-deviced. It is not expected that this
access is required by cups-deviced 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 unconfined_u:system_r:cupsd_t:s0-s0:c0.c1023
Target Context unconfined_u:object_r:user_home_t:s0
Target Objects mfp [ file ]
Source cups-deviced
Source Path /usr/lib/cups/daemon/cups-deviced
Port <Unknown>
Host user
Source RPM Packages cups-1.4.4-11.fc14
Target RPM Packages
Policy RPM selinux-policy-3.9.7-16.fc14
Selinux Enabled True
Policy Type targeted
Enforcing Mode Enforcing
Plugin Name catchall
Host Name user
Platform Linux user 2.6.35.9-64.fc14.x86_64 #1 SMP Fri Dec
3 12:19:41 UTC 2010 x86_64 x86_64
Alert Count 1
First Seen Fri 17 Dec 2010 05:46:02 PM EST
Last Seen Fri 17 Dec 2010 05:46:02 PM EST
Local ID bcd147da-4001-40a9-ad26-fb3d241de706
Line Numbers
Raw Audit Messages
node=user type=AVC msg=audit(1292625962.425:288): avc: denied { execute } for pid=7379 comm="cups-deviced" name="mfp" dev=sda3 ino=5774315 scontext=unconfined_u:system_r:cupsd_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file
node=user type=SYSCALL msg=audit(1292625962.425:288): arch=c000003e syscall=59 success=no exit=-13 a0=7fff65f538f0 a1=7fff65f530e0 a2=7fff65f54650 a3=7fff65f52ce0 items=0 ppid=7365 pid=7379 auid=500 uid=4 gid=7 euid=4 suid=4 fsuid=4 egid=7 sgid=7 fsgid=7 tty=(none) ses=1 comm="cups-deviced" exe="/usr/lib/cups/daemon/cups-deviced" subj=unconfined_u:system_r:cupsd_t:s0-s0:c0.c1023 key=(null)
I used to fix this problem using the following command:
Code:
restorecon -R -v /usr/lib/cups/filter
But it seems that SELinux keeps Fing up a new problem on each new installation of Fedora.
WHY DOESN'T"T REDHAT/FEDORA Fix the Printing problems with SELINUX?