Red Hat Bugzilla – Bug 250245
SELinux CUPS Bug for Brother MFC420CN Networked FAX/Scanner/Printer
Last modified: 2007-11-30 17:12:12 EST
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.
When the printer is activated.
Steps to Reproduce:
1. Open printer manager.
2. Enable printer.
3. Printing a test page or any other document.
A setroubleshoot browser pops--giving the information attached.
A test page or any other document to print normally.
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.
chcon -t bin_t FULLPATH/brlpdwrapperMFC
This will make it executable by cupsd. You can also make this change permanent
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.
FULLPATH= /usr/lib/cups/filter/brlpdwrapperMFC420CN, per your request.
"SEMANAGE" is not a valid command, it seems.
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
Keep me posted with PTF.
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