Bug 156828

Summary: cupsd changes /dev/null permissions if AccessLog set to that
Product: Red Hat Enterprise Linux 4 Reporter: Ed Tinnel <tinnelep>
Component: cupsAssignee: Tim Waugh <twaugh>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 4.0   
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-05-04 15:50:59 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 Ed Tinnel 2005-05-04 15:28:29 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.7.7) Gecko/20050427 Red Hat/1.7.7-1.1.3.4

Description of problem:
In an effort to curtail the excessive logging of CUPS (noted elsewhere), the advice was to change AccessLog in cupsd.conf to be /dev/null.  If this is done, when cups is restarted, permissions on /dev/null will be changed to crw-r--r-- with owner lp:sys.  This is completely repeatable.

Version-Release number of selected component (if applicable):
cups-1.1.17-13.3.27

How reproducible:
Always

Steps to Reproduce:
1./etc/init.d/cups stop
2.edit /etc/cups/cupsd.conf, change AccessLog to be /dev/null
3./etc/init.d/cups start


  

Actual Results:  assuming nothing else had changed it, /dev/null should be owned by root:root with permissions crw-rw-rw-; after the steps above, it will be lp:sys and crw-r--r--

Expected Results:  no permission changes on /dev/null

Additional info:

Comment 1 Tim Waugh 2005-05-04 15:50:59 UTC
"AccessLog /dev/null" should not be used.  Use just "AccessLog" on a line on its
own instead.