Your message dated Mon, 13 Jul 2026 18:18:59 +0000
with message-id <[email protected]>
and subject line Bug#928980: fixed in icecc 1.4-3
has caused the Debian Bug report #928980,
regarding icecc: Icecream writing logs to location with no permission
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
928980: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=928980
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: icecc
Version: 1.2-1
Severity: normal
Tags: patch

Icecream is writing its log files directly to /var/log, even though it
is running as the icecc user which has no permission to write to
/var/log.  This problem has already been reported in Ubuntu here:

https://bugs.launchpad.net/ubuntu/+source/icecc/+bug/1671926

I've attached a patch to fix it.  As suggested in the Ubuntu bug, I have
added a HUP signal when the logs are rotated.  I have also added
/etc/default files to allow easily turning up the log level.

-- System Information:
Debian Release: buster/sid
  APT prefers bionic-updates
  APT policy: (500, 'bionic-updates'), (500, 'bionic-security'), (500, 
'bionic'), (100, 'bionic-backports')
Architecture: amd64 (x86_64)

Kernel: Linux 4.15.0-48-generic (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
diff -Nru icecc-1.2/debian/changelog icecc-1.2/debian/changelog
--- icecc-1.2/debian/changelog  2018-12-21 08:29:36.000000000 +0000
+++ icecc-1.2/debian/changelog  2019-05-14 12:12:44.000000000 +0000
@@ -1,3 +1,10 @@
+icecc (1.2-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Write log files to a location with appropriate permissions 
+
+ -- Matthew Exon <mat@exoniceserver1>  Tue, 14 May 2019 12:12:44 +0000
+
 icecc (1.2-1) unstable; urgency=medium
 
   [ Pino Toscano ]
diff -Nru icecc-1.2/debian/icecc.conf icecc-1.2/debian/icecc.conf
--- icecc-1.2/debian/icecc.conf 2018-12-21 07:52:33.000000000 +0000
+++ icecc-1.2/debian/icecc.conf 2019-05-14 12:12:44.000000000 +0000
@@ -8,7 +8,7 @@
 # icecc daemon log file
 #
 # ICECC_LOG_FILE="/var/log/iceccd.log"
-ICECC_LOG_FILE="/var/log/iceccd.log"
+ICECC_LOG_FILE="/var/log/icecc/iceccd.log"
 
 #
 # Identification for the network the scheduler and daemon run on.
@@ -47,7 +47,7 @@
 # icecc scheduler log file
 #
 # ICECC_SCHEDULER_LOG_FILE="/var/log/icecc_scheduler.log"
-ICECC_SCHEDULER_LOG_FILE="/var/log/icecc_scheduler.log"
+ICECC_SCHEDULER_LOG_FILE="/var/log/icecc/icecc_scheduler.log"
 
 #
 # If the daemon can't find the scheduler by broadcast (e.g. because
diff -Nru icecc-1.2/debian/icecc.iceccd.default 
icecc-1.2/debian/icecc.iceccd.default
--- icecc-1.2/debian/icecc.iceccd.default       1970-01-01 00:00:00.000000000 
+0000
+++ icecc-1.2/debian/icecc.iceccd.default       2019-05-14 12:12:44.000000000 
+0000
@@ -0,0 +1,7 @@
+# /etc/default/icecc
+
+# Defaults for icecc initscript.  This file is sourced by
+# /bin/sh from /etc/init.d/iceccd
+
+# Options to pass to iceccd
+#ICECCD_OPTS=
diff -Nru icecc-1.2/debian/icecc.iceccd.init icecc-1.2/debian/icecc.iceccd.init
--- icecc-1.2/debian/icecc.iceccd.init  2018-12-21 07:52:33.000000000 +0000
+++ icecc-1.2/debian/icecc.iceccd.init  2019-05-14 12:12:44.000000000 +0000
@@ -12,7 +12,7 @@
 
 DAEMON=/usr/sbin/iceccd
 CONFIGFILE=/etc/icecc/icecc.conf
-DEFAULTFILE=/etc/default/icecc
+DEFAULTFILE=/etc/default/iceccd
 
 # Read configuration files
 [ -r $CONFIGFILE ] && . $CONFIGFILE
@@ -59,7 +59,7 @@
        fi
 
        start-stop-daemon --start --quiet --exec $DAEMON -- \
-       -d $logfile $nice $scheduler $netname -u icecc $basedir $maxjobs 
$noremote
+       -d $logfile $nice $scheduler $netname -u icecc $ICECCD_OPTS $basedir 
$maxjobs $noremote
 }
 
 stop_icecc_daemon() {
diff -Nru icecc-1.2/debian/icecc.icecc-scheduler.default 
icecc-1.2/debian/icecc.icecc-scheduler.default
--- icecc-1.2/debian/icecc.icecc-scheduler.default      1970-01-01 
00:00:00.000000000 +0000
+++ icecc-1.2/debian/icecc.icecc-scheduler.default      2019-05-14 
12:12:44.000000000 +0000
@@ -0,0 +1,7 @@
+# /etc/default/icecc
+
+# Defaults for icecc initscript.  This file is sourced by
+# /bin/sh from /etc/init.d/icecc-scheduler
+
+# Options to pass to icecc-scheduler
+#ICECC_SCHEDULER_OPTS=
diff -Nru icecc-1.2/debian/icecc.icecc-scheduler.init 
icecc-1.2/debian/icecc.icecc-scheduler.init
--- icecc-1.2/debian/icecc.icecc-scheduler.init 2018-12-21 07:52:33.000000000 
+0000
+++ icecc-1.2/debian/icecc.icecc-scheduler.init 2019-05-14 12:12:44.000000000 
+0000
@@ -12,7 +12,7 @@
 
 SCHEDULER=/usr/sbin/icecc-scheduler
 CONFIGFILE=/etc/icecc/icecc.conf
-DEFAULTFILE=/etc/default/icecc
+DEFAULTFILE=/etc/default/icecc-scheduler
 
 # Read configuration files
 [ -r $CONFIGFILE ] && . $CONFIGFILE
@@ -36,7 +36,7 @@
        : > $ICECC_SCHEDULER_LOG_FILE
        chown icecc $ICECC_SCHEDULER_LOG_FILE
        start-stop-daemon --start --quiet --chuid icecc \
-       --exec $SCHEDULER -- -d $logfile $netname
+       --exec $SCHEDULER -- $ICECC_SCHEDULER_OPTS -d $logfile $netname
 }
 
 stop_icecc_scheduler() {
diff -Nru icecc-1.2/debian/icecc.logrotate icecc-1.2/debian/icecc.logrotate
--- icecc-1.2/debian/icecc.logrotate    2018-12-21 07:52:33.000000000 +0000
+++ icecc-1.2/debian/icecc.logrotate    2019-05-14 12:12:44.000000000 +0000
@@ -7,7 +7,9 @@
 
 /var/log/iceccd.log {
        missingok
-       copytruncate
+       postrotate
+           /usr/bin/killall -HUP iceccd
+       endscript
        notifempty
 }
 
diff -Nru icecc-1.2/debian/icecc.postinst icecc-1.2/debian/icecc.postinst
--- icecc-1.2/debian/icecc.postinst     2018-12-21 07:52:33.000000000 +0000
+++ icecc-1.2/debian/icecc.postinst     2019-05-14 12:12:44.000000000 +0000
@@ -12,6 +12,7 @@
 ICECC_GROUP=icecc
 ICECC_USER=icecc
 ICECC_HOME=/var/cache/icecc
+ICECC_LOG=/var/log/icecc
 
 # create group
 getent group $ICECC_GROUP > /dev/null || ( echo Creating $ICECC_GROUP group... 
; \
@@ -24,6 +25,9 @@
 
 chown $ICECC_USER:$ICECC_GROUP $ICECC_HOME
 
+mkdir -p $ICECC_LOG
+chown $ICECC_USER:$ICECC_GROUP $ICECC_LOG
+
 if [ -x "/etc/init.d/icecc-scheduler" ]; then
         update-rc.d icecc-scheduler defaults >/dev/null
         # disable icecc-scheduler either when upgrading from < 1.0.0, or when
diff -Nru icecc-1.2/debian/icecc.postrm icecc-1.2/debian/icecc.postrm
--- icecc-1.2/debian/icecc.postrm       2018-12-21 07:52:33.000000000 +0000
+++ icecc-1.2/debian/icecc.postrm       2019-05-14 12:12:44.000000000 +0000
@@ -24,6 +24,7 @@
                fi
 
                rm -rf /var/cache/icecc
+               rm -rf /var/log/icecc
                ;;
        remove)
                ;;

--- End Message ---
--- Begin Message ---
Source: icecc
Source-Version: 1.4-3
Done: Sandro Knauß <[email protected]>

We believe that the bug you reported is fixed in the latest version of
icecc, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sandro Knauß <[email protected]> (supplier of updated icecc package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Mon, 13 Jul 2026 18:49:02 +0200
Source: icecc
Architecture: source
Version: 1.4-3
Distribution: unstable
Urgency: medium
Maintainer: Debian KDE Extras Team <[email protected]>
Changed-By: Sandro Knauß <[email protected]>
Closes: 928980
Changes:
 icecc (1.4-3) unstable; urgency=medium
 .
   * Team upload.
 .
   [ Pino Toscano ]
   * Fix watch file to sort RC versions before the release ones.
 .
   [ Luca Boccassi ]
   * Stop deleting system user on remove/purge.
   * Install and use sysusers.d/tmpfiles.d config files.
 .
   [ Sandro Knauß ]
   * Switch to Standards-Version 4.7.4.
   * Switch to Debhelper compat 14.
   * Add ITP bugs in 0.6-1.
   * Fix "Icecream writing logs to location with no permission (Closes: #928980)
     - Add log files handling to tmpfiles.d.
   * Trigger HUP, when logrotate rotates the logfiles.
Checksums-Sha1:
 84bd8ca8edf03c528df27b025d1e877214666768 2132 icecc_1.4-3.dsc
 2d697406181bbe7e3f1125606b6801f09dfdcd19 13024 icecc_1.4-3.debian.tar.xz
 b204040696e4cd85d395ed4aceab0ec5d506bdef 8949 icecc_1.4-3_source.buildinfo
Checksums-Sha256:
 9015051dde69a710525a1e08cdb625983dc62d466bae5082953125ba8339ac33 2132 
icecc_1.4-3.dsc
 50501aa062fd0b66433096a7ff37246711330d23e4efb2dccee415a989927b2d 13024 
icecc_1.4-3.debian.tar.xz
 e548cd8dea0d277a42ca3d6ed6036099b8b26680a86139abc3ea9fcf9ac344dd 8949 
icecc_1.4-3_source.buildinfo
Files:
 cede20045957b3e6f058fe831bde747a 2132 devel optional icecc_1.4-3.dsc
 89c34cc9be3149b4d3e60aae17dafcca 13024 devel optional icecc_1.4-3.debian.tar.xz
 023d80c066b5ed66e7fa884389c59b59 8949 devel optional 
icecc_1.4-3_source.buildinfo

-----BEGIN PGP SIGNATURE-----

wsG7BAEBCgBvBYJqVSbWCRDjrbAIUGBWNkcUAAAAAAAeACBzYWx0QG5vdGF0aW9u
cy5zZXF1b2lhLXBncC5vcmccD1hZZN2winQjfKKD8xcUlDScq7Qdgd9xdvbHa1WX
rRYhBDnsEaAgFrcpJkkaBuOtsAhQYFY2AAAgwg//adg0+bo9lsGRp95w/Qic8iQM
bb4BvQDUG368FP577fejpKP1JmKt9llsV6sB6nqV/1iyIEMmhFuGHRgUUua3lB8q
PptZBE+254Y8a1yVqeQ4NxNUGxq8YtmAsExieu8B0LhUnnuc3FHwIahMiwps7w4y
ysWFcFd60HjvV3eXbplA2m9l6QK7xS1bls+5S+TFZeudyW8/NlriFQXTenR53AaV
Cja2uy3d4PFuW7P4NF8h37nmj/1Zo6/9gplORBmq8twoh/l37r5qCkEW6btVGhwY
JZNpmFxusYEzboVwdULl74NVgIphRl/GjPWtGKQqZqYNtLc8L3dWnnjJGzU/dJQ2
cvnNYwfgB343ta51+oyqm2ZU3BX8/u5wZ6BrLaCKeOEp5nEhlpdAZcC0R5wzzuU4
g6zZhssx5UwaUGB8tbEyePobnJWhDeOxz8xIwPb6Ra6fCDUb0QJnbZadZF2fxYYe
Pq697n6VggiefF5o1zjFEf+MD/VWQujMjXtj07/zjptfqSS/cqnaVCaE8r7UzZ/W
qOU8AyX9fTsDUwMqLZlbHnTSwCXgX4BTjX3bzuYBczCcmakGiOF0p7ax7OQLeGan
mJbUPgp8UdGF3egGqv4gEzPACaxnxG+BKamxmbRzZYboiloSoiCj3pdP8c30lIdm
8It+dbYUYIUA3Z9aj84=
=5x4a
-----END PGP SIGNATURE-----

Attachment: pgpCfIL0oKIiL.pgp
Description: PGP signature


--- End Message ---
_______________________________________________
pkg-kde-extras mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-kde-extras

Reply via email to