Public bug reported:

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.

** Affects: icecc (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1671926

Title:
  icecream log files not handled correctly

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/icecc/+bug/1671926/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to