Bug 210542 - CUPS doesn't work in MLS Enforcing mode
Summary: CUPS doesn't work in MLS Enforcing mode
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: cups
Version: 6
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Tim Waugh
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: FC6Update
TreeView+ depends on / blocked
 
Reported: 2006-10-12 19:33 UTC by Matt Anderson
Modified: 2007-11-30 22:11 UTC (History)
3 users (show)

Fixed In Version: 1.2.5-2.fc6.8
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-11-07 22:29:00 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Updated cups-lspp.patch which sets spool file context correctly (72.82 KB, patch)
2006-10-12 19:33 UTC, Matt Anderson
no flags Details | Diff
Incremental patch versus patch id=137751 (12.63 KB, patch)
2006-10-12 19:37 UTC, Matt Anderson
no flags Details | Diff
Updated patch that removes INFO log messages (72.83 KB, patch)
2006-10-16 19:37 UTC, Matt Anderson
no flags Details | Diff

Description Matt Anderson 2006-10-12 19:33:56 UTC
Description of problem:
The current CUPS code attempts to set the spool files to a ranged MLS label,
which is not allowed in Enforcing mode

Version-Release number of selected component (if applicable):
1.2.4-9

How reproducible:
Every Time.

Please update to the attached patch, which sets the spool files to the
sensitivity level of the client's context.

Comment 1 Matt Anderson 2006-10-12 19:33:57 UTC
Created attachment 138361 [details]
Updated cups-lspp.patch which sets spool file context correctly

Comment 2 Matt Anderson 2006-10-12 19:37:21 UTC
Created attachment 138363 [details]
Incremental patch versus patch id=137751

This patch shows just the changes between patch 138361 and patch 137751 which
was included in cups-1.2.4-9

Comment 3 Matt Anderson 2006-10-16 19:37:43 UTC
Created attachment 138615 [details]
Updated patch that removes INFO log messages

This updated patch removes INFO log messages as requested.

It also fixes a minor SELinux issue pointed out by Chris PeBenito, when
determining if a job can access the printer the access check needs to be on
CHR_FILE__WRITE to match the char device (/dev/lp0) of the printer, not the
generic FILE__WRITE.

Comment 4 Tim Waugh 2006-10-17 13:49:21 UTC
Fixed in CVS for FC6.

Comment 5 Tim Waugh 2006-10-23 16:49:55 UTC
1.2.5-2.fc6.1 built and ready to go into updates-testing once FC6 is actually
released.

Comment 6 Fedora Update System 2006-11-07 22:24:41 UTC
Fixed in update: cups-1.2.5-2.fc6.8


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