Bug 141534 - iceccd (icecream) log file not created
Summary: iceccd (icecream) log file not created
Status: RESOLVED FIXED
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: Development (show other bugs)
Version: Final
Hardware: Other Other
: P1 - Urgent : Normal
Target Milestone: ---
Assignee: Stephan Binner
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-05 03:53 UTC by Stefan Brüns
Modified: 2006-03-03 14:06 UTC (History)
0 users

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.