Bug 141534

Summary: iceccd (icecream) log file not created
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Stefan Brüns <stefan.bruens>
Component: DevelopmentAssignee: Stephan Binner <stbinner>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P1 - Urgent    
Version: Final   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Stefan Brüns 2006-01-05 03:53:16 UTC
The init script lacks a check if the iceccd can write to the log file. If /var/log/iceccd does not exist or is not writable, icecdd fails
Comment 1 Stephan Kulow 2006-01-09 14:38:39 UTC
hmm, why would the init script not be able to write to it? you wouldn't start it as user, no?
Comment 2 Stefan Brüns 2006-01-09 23:27:46 UTC
No, the init script does not try to write the log file, but iceccd tries to write the log file (at least tries to create/open rw), but iceccd is running as user icecream, and icecream is not allowed to create a file in /var/log/
Comment 3 Stephan Kulow 2006-01-10 08:10:15 UTC
hmm, only forked subprocesses of iceccd run as user icecream, but it's possible they are the first to create a file. Now I understand
Comment 4 Stephan Kulow 2006-03-02 17:40:35 UTC
Stephan: the fix is in the init script, no change to code. The init script needs to make sure the file exists and is writeable by user icecream. 
Comment 5 Stephan Binner 2006-03-03 14:06:07 UTC
Submitted fixed package.