Bug 626858

Summary: Policy updates needed for newer HPLIP package
Product: Red Hat Enterprise Linux 5 Reporter: Tim Waugh <twaugh>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED ERRATA QA Contact: Milos Malik <mmalik>
Severity: medium Docs Contact:
Priority: low    
Version: 5.5CC: dwalsh, ksrot, mmalik
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
The SELinux policy has been updated to reflect the latest changes in the hplip (Hewlett-Packard Linux Imaging and Printing Project) packages.
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-01-13 21:50:20 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: 506645    
Attachments:
Description Flags
selinux-policy-hplip3.patch none

Description Tim Waugh 2010-08-24 15:03:37 UTC
Created attachment 440682 [details]
selinux-policy-hplip3.patch

Description of problem:
I am investigating refreshing the hplip package in Red Hat Enterprise Linux 5.  In order for it to work correctly the selinux-policy needs updating to include some parts from Red Hat Enterprise Linux 6.

One path also needs slightly modifying to take account of the fact that the newer hplip package in Red Hat Enterprise Linux 5 will be a parallel install package (i.e. hplip3, with '3' added to paths and filenames).

Version-Release number of selected component (if applicable):
selinux-policy-2.4.6-279.el5

Patch attached.

Comment 3 Miroslav Grepl 2010-09-09 12:48:41 UTC
Fixed in selinux-policy-2.4.6-283.el5.noarch

Comment 4 Tim Waugh 2010-09-14 11:37:47 UTC
How to test:

With new hplip3 package set installed (including hpijs3):

1. Create a new queue for a locally connected printer
2. Print a job to it

There should be no SELinux AVC denials.

Comment 9 Jaromir Hradilek 2011-01-05 16:19:30 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
The SELinux policy has been updated to reflect the latest changes in the hplip (Hewlett-Packard Linux Imaging and Printing Project) packages.

Comment 11 errata-xmlrpc 2011-01-13 21:50:20 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2011-0026.html