Description of problem:Application turboprint 1.91-2 from turboprint.de does not work with FC4Tx - it has worked with all former RHL and FC versions. Version-Release number of selected component (if applicable): system-config-printer-0.6.128-1 How reproducible:Always Steps to Reproduce: 1.Install turboprint 1.91-2 from rpm 2.Setup turboprint for a networked LPD print server 3.Try to print a test page or print from an app. Actual results: No printing occurs. Printer interface believes all is well - both turboprint setup and localhost:631 interfaces. Defined printer shows up in printer dialogs in apps such as gedit. Printing appears to work, but nothing ever happens at the printer. Expected results: Page should print Additional info: Printing is working for a Samsung ML-1750 laser printer attached to a second port on the networked LPD print server. Turboprint defined printers identical to this setup work in FC3, FC2, ubuntu 5.04, suse9.2 and several other distros I've tried. I have reported this bug to turboprint.de also.
If you find that the cause is a CUPS bug, please re-open.
It occurred to me that SELinux might be involved. I disabled SELinux, and the Canon printer prints via Turbolinux. I reenabled, and left it set to Permissive and it still prints. I set it to Enforce, and it does not print. So, it appears that SELinux set to Enforce will not allow Turboprint/Canon printer to print, whereas set to Permissive does. I do not understand SELinux well enough to know if there is some parameter in SELinux that I can change to allow Enforce to work along with Turboprint.
You should see AVC messages in you log files that will tell us what SELinux is denying. Please attach the AVC messages. Dan
I would like to do that, but evidently do not know where to look. If I do a grep AVC * in the /var/log directory, I get nothing. Also, what condition do you want set in the SELinux tab in Security Level Configuration when I do this? Printing succeeds if SELinux is Enabled, but Enforcing is set to Permissive; it fails if Enforcing is set to Enforcing. Thanks.
grep avc /var/log/messages or grep avc /var/log/audit/auditd.log
Created attachment 113658 [details] requested result of grep /var/log/messages
Created attachment 113659 [details] requested results of grep avc /var/log/audit/audit.log There was no /var/log/audit/auditd.log file, so this attachment is the result of grep avc /var/log/audit/audit.log
Fixed in selinux-policy-*-1.23.13-3
I now have this installed: [root@gst-fc4t2 ~]# rpm -q selinux-policy-targeted selinux-policy-targeted-1.23.13-3 and I still must have SELinux Enforcing Current: Permissive to print. If I set it to SELinux Enforcing Current : Enforcing, the print job completes according to Document print status, but nothing prints. I will again attach the files you previously requested.
Created attachment 113752 [details] requested results of grep avc /var/log/audit/audit.log
Created attachment 113753 [details] requested result of grep /var/log/messages
This bug now appears to be fixed with: [root@gst-fc4t2 ~]# rpm -q selinux-policy-targeted selinux-policy-targeted-1.23.14-2 I can now print via a turboprint-defined printer with SELinux set to enforcing. Thanks for the bug fix. Gerry Tool