icecream log files not handled correctly

Bug #1671926 reported by Henry Miller
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
icecc (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

in debian/icecc.conf iceccd is configured to write logs to /var/log/iceccd.log. iceccd runs as user icecc which does not have permissions to write to this directory. I suggest changing ICECC_LOG_FILE by putting logs in the path /var/log/icecc

ICECC_LOG_FILE="/var/log/icecc/iceccd.log"

To go with this icecc.logrotate need to change to /var/log/icecc/iceccd.log

last, icecc wants a HUP signal when the log file rotates. I suggest changing icecc.logrotate to:

/var/log/icecc/iceccd.log {
       missingok
       postrotate
           /usr/bin/killall -HUP iceccd
       endscript
       notifempty
}

I'm unclear if the directory /var/log/icecc needs to be created first or not. I'm also not clear if we need to do this for the scheduler or not.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in icecc (Ubuntu):
status: New → Confirmed
Revision history for this message
Matthew Exon (ubuntubugs-mexon) wrote :

I submitted a bug report and patch upstream to Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=928980

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.