Version in base suite: 3.3.2-2 Base version: backuppc_3.3.2-2 Target version: backuppc_3.3.2-2+deb10u1 Base file: /srv/ftp-master.debian.org/ftp/pool/main/b/backuppc/backuppc_3.3.2-2.dsc Target file: /srv/ftp-master.debian.org/policy/pool/main/b/backuppc/backuppc_3.3.2-2+deb10u1.dsc changelog | 8 ++++++++ init | 2 +- patches/07-reload-user.patch | 18 ++++++++++++++++++ patches/series | 1 + 4 files changed, 28 insertions(+), 1 deletion(-) diff -Nru backuppc-3.3.2/debian/changelog backuppc-3.3.2/debian/changelog --- backuppc-3.3.2/debian/changelog 2018-11-14 22:27:21.000000000 +0000 +++ backuppc-3.3.2/debian/changelog 2019-11-13 12:23:30.000000000 +0000 @@ -1,3 +1,11 @@ +backuppc (3.3.2-2+deb10u1) buster; urgency=medium + + * 07-reload-user.patch: pass the username to start-stop-daemon when + reloading. This prevents reload failures and subsequent init system + games (Closes: #944611) + + -- Jonathan Wiltshire Wed, 13 Nov 2019 12:23:30 +0000 + backuppc (3.3.2-2) unstable; urgency=low * There are no logs to chown upon a first installation, so don't try to diff -Nru backuppc-3.3.2/debian/init backuppc-3.3.2/debian/init --- backuppc-3.3.2/debian/init 2018-11-14 21:40:11.000000000 +0000 +++ backuppc-3.3.2/debian/init 2019-11-13 12:23:30.000000000 +0000 @@ -81,7 +81,7 @@ ;; reload|force-reload) log_begin_msg "Reloading $NAME configuration files..." - start-stop-daemon --stop --pidfile /var/run/backuppc/BackupPC.pid \ + start-stop-daemon --stop --pidfile /var/run/backuppc/BackupPC.pid -u $USER \ --signal 1 log_end_msg $? ;; diff -Nru backuppc-3.3.2/debian/patches/07-reload-user.patch backuppc-3.3.2/debian/patches/07-reload-user.patch --- backuppc-3.3.2/debian/patches/07-reload-user.patch 1970-01-01 00:00:00.000000000 +0000 +++ backuppc-3.3.2/debian/patches/07-reload-user.patch 2019-11-13 12:20:41.000000000 +0000 @@ -0,0 +1,18 @@ +Description: pass the username to start-stop-daemon when reloading +Forwarded: no +Bug-Debian: https://bugs.debian.org/944611 +Author: Jonathan Wiltshire + +Index: backuppc-3.3.2/init.d/src/debian-backuppc +=================================================================== +--- backuppc-3.3.2.orig/init.d/src/debian-backuppc ++++ backuppc-3.3.2/init.d/src/debian-backuppc +@@ -54,7 +54,7 @@ case "$1" in + ;; + reload|force-reload) + echo "Reloading $NAME configuration files" +- start-stop-daemon --stop --pidfile $LOGDIR/BackupPC.pid \ ++ start-stop-daemon --stop --pidfile $LOGDIR/BackupPC.pid -u $USER \ + --signal 1 -x /usr/bin/perl + ;; + *) diff -Nru backuppc-3.3.2/debian/patches/series backuppc-3.3.2/debian/patches/series --- backuppc-3.3.2/debian/patches/series 2018-11-14 21:40:11.000000000 +0000 +++ backuppc-3.3.2/debian/patches/series 2019-11-13 12:20:41.000000000 +0000 @@ -4,3 +4,4 @@ 04-use-IT-Support-instead-of-IS.patch 05-fix-too-much-translation-and-charset.patch 06-fix-rrd-graph-permissions.patch +07-reload-user.patch