Bug 249014 - cupsd_t needs to be able to read/write generic USB devices
Summary: cupsd_t needs to be able to read/write generic USB devices
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: rawhide
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 248740
TreeView+ depends on / blocked
 
Reported: 2007-07-20 12:04 UTC by Tim Waugh
Modified: 2007-11-30 22:12 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2007-07-22 09:56:00 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
+dev_rw_generic_usb_dev(cupsd_t) (388 bytes, patch)
2007-07-20 12:04 UTC, Tim Waugh
no flags Details | Diff

Description Tim Waugh 2007-07-20 12:04:21 UTC
Description of problem:
The HP backend, running in the cupsd_t context, needs to be able to use
/dev/bus/usb/*/*.

Version-Release number of selected component (if applicable):
3.0.3-2.fc8

Patch attached.

Comment 1 Tim Waugh 2007-07-20 12:04:22 UTC
Created attachment 159647 [details]
+dev_rw_generic_usb_dev(cupsd_t)

Comment 2 Daniel Walsh 2007-07-20 13:24:39 UTC
Fixed in selinux-policy-3.0.3-3

Tim is this needed for RHEL5, FC6, FC7?

Comment 3 Tim Waugh 2007-07-20 13:29:43 UTC
Thanks!  No, only needed for F-8 onwards.

Comment 4 Hans de Goede 2007-07-22 09:56:00 UTC
I can confirm that selinux-policy-targeted-3.0.3-3.fc8.noarch fixes this.
Printing to an hplip usb printer now works fine with enforcing enabled.

Closing.



Note You need to log in before you can comment on or make changes to this bug.