Red Hat Bugzilla – Bug 242818
SELinux is preventing printing via samba
Last modified: 2007-11-30 17:12:06 EST
Description of problem:
Setting up printing via samba causes selinux to prevent the lpr and lpq jobs
from being executed.
I will attach the alert selinux gives for lpq - the lpd alert is available on
"request" but is 95% similar.
I have also enabled EVERYTHING related to samba and cups in the "SELinux
Administration" application. Only work around I have found is to set SELinux
policy to permissive... which seems "borken".
Version-Release number of selected component (if applicable):
[riishigh@kosh]~/Desktop% rpm -qa | grep selinux
[riishigh@kosh]~/Desktop% rpm -qa | grep samba
Installed Fedora 7 and updated to latest using "pup". Added a printer and setup
samba. Started samba and tried printing from my wifes windows box.
A page on the printer.
Created attachment 156291 [details]
SELinux message saved from "setroubleshoot browser"
Why is lpq.cups labeled samba_share_t?
I will add the ability for samba to execute lpr in