[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#772007: unblock: apt-cacher-ng/0.8.0-3



Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock

Please unblock package apt-cacher-ng

there is a trivial but nasty bug in the Debian packaging. No upstream
changes and source-only upload; no build trouble anywhere (except for a
bogus warning on armhf only which I consider a compiler bug, and it has
existed before).

The bug was not reported as serious but I tend to consider it a such one
since it impacts the log rotation and might cause hidden disk space
consumption and probably loss of log data.

debdiff:

File lists identical (after any substitutions)

Control files: lines which differ (wdiff format)
------------------------------------------------
Version: [-0.8.0-1-] {+0.8.0-3+}

And git diff debian/0.8.0-1 debian/0.8.0-3 :

diff --git a/debian/apt-cacher-ng.logrotate b/debian/apt-cacher-ng.logrotate
index 1122f8f..1adf759 100644
--- a/debian/apt-cacher-ng.logrotate
+++ b/debian/apt-cacher-ng.logrotate
@@ -8,7 +8,9 @@
         notifempty
         create
         postrotate
-                if [ -s /var/run/apt-cacher-ng/pid ] ; then
+                if [ -e /run/systemd/system ] ; then
+                        systemctl is-active apt-cacher-ng && systemctl kill --signal=USR1 apt-cacher-ng
+                elif [ -s /var/run/apt-cacher-ng/pid ] ; then
                         kill -s USR1 "$(cat /var/run/apt-cacher-ng/pid)"
                 fi
         endscript
@@ -24,7 +26,9 @@
         notifempty
         create
         postrotate
-                if [ -s /var/run/apt-cacher-ng/pid ] ; then
+                if [ -e /run/systemd/system ] ; then
+                        systemctl is-active apt-cacher-ng && systemctl kill --signal=USR1 apt-cacher-ng
+                elif [ -s /var/run/apt-cacher-ng/pid ] ; then
                         kill -s USR1 "$(cat /var/run/apt-cacher-ng/pid)"
                 fi
         endscript
diff --git a/debian/changelog b/debian/changelog
index afc3766..bddd009 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,18 @@
+apt-cacher-ng (0.8.0-3) unstable; urgency=medium
+
+  * Restored build-dependency on libsystemd-daemond-dev since upstream source
+    didn't cope with that change (yet)
+
+ -- Eduard Bloch <blade@debian.org>  Fri, 28 Nov 2014 21:05:16 +0100
+
+apt-cacher-ng (0.8.0-2) unstable; urgency=medium
+
+  * Send SIGUSR1 properly to reopen the logs when controlled by systemd
+    (closes: Bug#771111)
+  * replace build-dependency on transitional package libsystemd-daemond-dev
+
+ -- Eduard Bloch <blade@debian.org>  Fri, 28 Nov 2014 08:14:54 +0100
+
 apt-cacher-ng (0.8.0-1) unstable; urgency=medium
 
   * New upstream version



unblock apt-cacher-ng/0.8.0-2

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.12.31+ (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

-- 
Angela Merkel zitiere ich ja am liebsten wörtlich. Ich hab noch keine
bessere Möglichkeit gefunden, diese Frau zu beleidigen.
                                                    -- Volker Pispers


Reply to: