Fedora Print Debugging Tip

I was having trouble printing and couldn’t figure out what was going on. I tried everything, including reinstalling the printer and reinstalling the driver. I was getting a misleading “you are using the wrong driver” message. Turns out SELinux was to blame! I happened to check dmesg and see some audit messages. Then I did a

setenforce 0

to turn it off and printing worked. I tried some restorecons on some directories, but I don’t think that fixed it. What I think fixed it was going into the policycoreutils gui and checking as active the cups module “Allow cups execmem/execstack.” Obviously, I turned setenforce back on after checking the box.

So if nothing works with printing – check out SELinux to see if it’s being overzealous.