Bug 346191
Summary: | SELinux is preventing python (hplip_t) "execute" to <Unknown> (shell_exec_t) | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Jim Hayward <jimhayward> |
Component: | hplip | Assignee: | Tim Waugh <twaugh> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | rawhide | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | F8 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2007-11-28 15:10:29 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 235704 |
Description
Jim Hayward
2007-10-23 02:14:24 UTC
What does 'lpstat -s' say, and which queue are you printing to (if more than one queue)? Interesting... # lpstat -s no system default destination device for hp_LaserJet_1300: hp:/usb/hp_LaserJet_1300?serial=00CNCK070921 I know I had this printer selected as default before. This printer is automatically selected when the print dialog is displayed in apps. I never have to manually select it. I set the printer to default in system-config-printer and I no longer see the selinux denial message. Setting it to be default or not is not the problem. Can you really not reproduce the problem any more? When was the last time you could reproduce the problem? As soon as I ran lpstat -s and saw no default was set, I did a test. I tried to print something and I got the denial message. Then I changed the printer to default and the message did not appear again. I was seeing the denial message before every time I had printed something. Ok, I was curious what would happen if I rebooted the computer. After I rebooted, the printer was still shown as default. When I printed something the denial message is back again. Okay, great. Now, how are you printing things? For example, are you typing in commands into a terminal window, or printing files from a particular application, etc? Tell me exactly how you are printing, so that I can try to see the same problem here. I have not tried printing from the command line. The denial message appears regardless of the application. My desktop is GNOME. Any application I print from will reproduce the message. Firefox, gedit, and Openoffice for sure will reproduce the message. Does simply switching the printer on cause the message? No apparently not. I turned the computer and the printer off. Booted the computer, logged in as my regular user, turned the printer on, and I did not see any denial messages. I opened Firefox, pulled up this bug report, clicked format for printing, File/Print, dialog showed CUPS/HP_LaserJet_1300, clicked Print and the message appeared. avc: denied { execute } for comm=python dev=sda2 name=bash pid=3143 scontext=system_u:system_r:hplip_t:s0 tclass=file tcontext=system_u:object_r:shell_exec_t:s0 This printer is shared. I noticed that the message also appears when something is printed from another computer. Tim with the updates from last week, I'm not seeing this denial message any longer. The last few days I have not been able to reproduce it. Okay, must have been fixed with an update. Thanks for letting us know. |