Bug 422761 - Selinux stops hpijs from printing
Summary: Selinux stops hpijs from printing
Keywords:
Status: CLOSED DUPLICATE of bug 419191
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 7
Hardware: x86_64
OS: Linux
low
high
Target Milestone: ---
Assignee: Tim Waugh
QA Contact:
URL:
Whiteboard:
: 423051 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-12-13 01:39 UTC by Guy Albertelli
Modified: 2007-12-13 13:13 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2007-12-13 13:13:14 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Guy Albertelli 2007-12-13 01:39:58 UTC
Description of problem:
Upgraded FC7 on 12/11 using yum. Afterwards cannot print. Was working before.
Failure to print accompanied by selinux audit message

selinux audit message: 
avc: denied { getattr } for comm="sh" dev=dm-0 egid=7 euid=4 exe="/bin/bash"
exit=-13 fsgid=7 fsuid=4 gid=7 items=0 name="hpijs" path="/usr/bin/hpijs"
pid=5458 scontext=system_u:system_r:cupsd_t:s0-s0:c0.c1023 sgid=7
subj=system_u:system_r:cupsd_t:s0-s0:c0.c1023 suid=4 tclass=file
tcontext=system_u:object_r:hplip_exec_t:s0 tty=(none) uid=4 

Version-Release number of selected component (if applicable):
Failing:
  hpijs-1.7.4a-6.fc7
  selinux-policy-targeted-2.6.4-61.fc7
Working
  hpijs-1.7.4a-6.fc7
  selinux-policy.noarch 2.6.4-48.fc7

How reproducible:
Attempt to print test page to printer

Steps to Reproduce:
1. Invoke Printer configuration utility
2. Attempt to print test page
3.
  
Actual results:
Audit message added to selinux log

Expected results:
Test page printed

Additional info:
Setting selinux to "permissive" allows printing to work and still generates the
audit log entry.

Comment 1 Tim Waugh 2007-12-13 12:27:10 UTC
*** Bug 423051 has been marked as a duplicate of this bug. ***

Comment 2 Tim Waugh 2007-12-13 13:13:14 UTC

*** This bug has been marked as a duplicate of 419191 ***


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