Bug 227957

Summary: system-config-printer does not allow to set any job options at all
Product: [Fedora] Fedora Reporter: Michal Jaegermann <michal>
Component: system-config-printerAssignee: Tim Waugh <twaugh>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-02-09 19:38:56 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:

Description Michal Jaegermann 2007-02-09 02:05:19 UTC
Description of problem:

With system-config-printer-0.7.50-1.fc6 from updates-testing
hitting "Apply" after picking and setting one or more job options
makes them all just vanish.  This is not a question of only
display.  There are no changes to be noticed in any files
in /etc/cups/ directory too.

What is more interesting is that system-config-printer-0.7.50-1.fc7
on a rawhide installation does not behave that way although
in other details it is very similar.

Well, there is at least one difference.  Hitting "Make Default Printer"
button in "Settings" does no cause here any complaints (see
bug 227936).  It appears that action only writes a new classes.conf
which, at least in my case, does not differ from classes.conf.O
save a recorded in it date.

Version-Release number of selected component (if applicable):
system-config-printer-0.7.50-1.fc6

How reproducible:
always

Comment 1 Tim Waugh 2007-02-09 10:50:57 UTC
What do these commands say?:

/usr/sbin/getenforce
ls -Z /etc/cups


Comment 2 Michal Jaegermann 2007-02-09 19:38:56 UTC
Ah, a very good guess.  Thanks. '/usr/sbin/getenforce' says "Enforcing"
and there was "system_u:object_r:file_t" on printers.conf.  After
I changed that to "system_u:object_r:cupsd_rw_etc_t" job options
started to behave.

OTOH this silent disappearing act was really mystifying.