Description of problem: Trying to print anything to my MFC420CN on the LAN. Version-Release number of selected component (if applicable): Current CUPS driver for MFC420CN. How reproducible: When the printer is activated. Steps to Reproduce: 1. Open printer manager. 2. Enable printer. 3. Printing a test page or any other document. Actual results: A setroubleshoot browser pops--giving the information attached. Expected results: A test page or any other document to print normally. Additional info: I need a fix--this works fine for XP--it's on our wireless LAN. The printer, obviously, is plugged into the Ethernet router.
Created attachment 160307 [details] Selinux Troubleshooting Browser
Thank you for your work on this problem.
You can chcon -t bin_t FULLPATH/brlpdwrapperMFC This will make it executable by cupsd. You can also make this change permanent by executing semanage fcontext -a -t bin_t FULLPATH/brlpdwrapperMFC Also please give me the FULLPATH/brldwrapperMFS so I can make the policy correct so other users don't stumble on this problem.
Still not printing. Same message. FULLPATH= /usr/lib/cups/filter/brlpdwrapperMFC420CN, per your request. "SEMANAGE" is not a valid command, it seems. Please reply. Thank you.
restorecon -v /usr/lib/cups/filter/brlpdwrapperMFC420CN should fix the context.
selinux-policy-2.6.4-30 will fix the labeling of this directory to default to bin_t
"restorecon" is not a valid command. ...and..how do I quickly set the suggested selinux policy?
/sbin/restorecon -v /usr/lib/cups/filter/brlpdwrapperMFC420CN You don't need it if you run this command. 30 will go into fedora-testing tonight.
Ok, the command executed, however, I still get the same message without printer throughput. Keep me posted with PTF. Thank you.
Could you attach you /var/log/audit/audit.log?
Sure, I would, but it's empty. Thanks for the progress. Let me know.
Ok in that case, if you setenforce 0 does it work? If not, then it is probably not an SELinux problem.
Ok, I'll keep worrking on it and keep you updated when it works. Thanks for your time.
Moving modified bugs to closed