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

Bug#915935: marked as done (stretch-pu: package zfs-auto-snapshot/1.2.1-1+deb9u1)



Your message dated Sat, 07 Sep 2019 14:37:11 +0100
with message-id <17351b82f829eb6917f78885cb849c4060b0a4a6.camel@adam-barratt.org.uk>
and subject line Closing bugs for fixes included in 9.10 point release
has caused the Debian Bug report #915935,
regarding stretch-pu: package zfs-auto-snapshot/1.2.1-1+deb9u1
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 owner@bugs.debian.org
immediately.)


-- 
915935: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=915935
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: release.debian.org
Severity: normal
Tags: stretch
User: release.debian.org@packages.debian.org
Usertags: pu

Can we backport the changes from unstable that silence the cronjobs
after package removal? #850776


Andreas
diff -Nru zfs-auto-snapshot-1.2.1/debian/changelog zfs-auto-snapshot-1.2.1/debian/changelog
--- zfs-auto-snapshot-1.2.1/debian/changelog	2016-11-06 11:38:36.000000000 +0100
+++ zfs-auto-snapshot-1.2.1/debian/changelog	2018-12-08 00:45:54.000000000 +0100
@@ -1,3 +1,10 @@
+zfs-auto-snapshot (1.2.1-1+deb9u1) stretch; urgency=medium
+
+  * Backported from 1.2.4:
+    - Make cronjobs exit silently after package removal.  (Closes: #850776)
+
+ -- Andreas Beckmann <anbe@debian.org>  Sat, 08 Dec 2018 00:45:54 +0100
+
 zfs-auto-snapshot (1.2.1-1) unstable; urgency=medium
 
   * Initial release (Closes: #720657)
diff -Nru zfs-auto-snapshot-1.2.1/debian/patches/crontabs.patch zfs-auto-snapshot-1.2.1/debian/patches/crontabs.patch
--- zfs-auto-snapshot-1.2.1/debian/patches/crontabs.patch	1970-01-01 01:00:00.000000000 +0100
+++ zfs-auto-snapshot-1.2.1/debian/patches/crontabs.patch	2018-12-08 00:33:01.000000000 +0100
@@ -0,0 +1,48 @@
+diff -Nru zfs-auto-snapshot-1.2.1/etc/zfs-auto-snapshot.cron.daily zfs-auto-snapshot-1.2.4/etc/zfs-auto-snapshot.cron.daily
+--- zfs-auto-snapshot-1.2.1/etc/zfs-auto-snapshot.cron.daily	2014-10-14 06:19:48.000000000 +0200
++++ zfs-auto-snapshot-1.2.4/etc/zfs-auto-snapshot.cron.daily	2017-09-18 09:25:02.000000000 +0200
+@@ -1,2 +1,6 @@
+ #!/bin/sh
++
++# Only call zfs-auto-snapshot if it's available
++which zfs-auto-snapshot > /dev/null || exit 0
++
+ exec zfs-auto-snapshot --quiet --syslog --label=daily --keep=31 //
+diff -Nru zfs-auto-snapshot-1.2.1/etc/zfs-auto-snapshot.cron.frequent zfs-auto-snapshot-1.2.4/etc/zfs-auto-snapshot.cron.frequent
+--- zfs-auto-snapshot-1.2.1/etc/zfs-auto-snapshot.cron.frequent	2014-10-14 06:19:48.000000000 +0200
++++ zfs-auto-snapshot-1.2.4/etc/zfs-auto-snapshot.cron.frequent	2017-09-18 09:25:02.000000000 +0200
+@@ -1,3 +1,3 @@
+ PATH="/usr/bin:/bin:/usr/sbin:/sbin"
+ 
+-*/15 * * * * root zfs-auto-snapshot -q -g --label=frequent --keep=4  //
++*/15 * * * * root which zfs-auto-snapshot > /dev/null || exit 0 ; zfs-auto-snapshot --quiet --syslog --label=frequent --keep=4 //
+diff -Nru zfs-auto-snapshot-1.2.1/etc/zfs-auto-snapshot.cron.hourly zfs-auto-snapshot-1.2.4/etc/zfs-auto-snapshot.cron.hourly
+--- zfs-auto-snapshot-1.2.1/etc/zfs-auto-snapshot.cron.hourly	2014-10-14 06:19:48.000000000 +0200
++++ zfs-auto-snapshot-1.2.4/etc/zfs-auto-snapshot.cron.hourly	2017-09-18 09:25:02.000000000 +0200
+@@ -1,2 +1,6 @@
+ #!/bin/sh
++
++# Only call zfs-auto-snapshot if it's available
++which zfs-auto-snapshot > /dev/null || exit 0
++
+ exec zfs-auto-snapshot --quiet --syslog --label=hourly --keep=24 //
+diff -Nru zfs-auto-snapshot-1.2.1/etc/zfs-auto-snapshot.cron.monthly zfs-auto-snapshot-1.2.4/etc/zfs-auto-snapshot.cron.monthly
+--- zfs-auto-snapshot-1.2.1/etc/zfs-auto-snapshot.cron.monthly	2014-10-14 06:19:48.000000000 +0200
++++ zfs-auto-snapshot-1.2.4/etc/zfs-auto-snapshot.cron.monthly	2017-09-18 09:25:02.000000000 +0200
+@@ -1,2 +1,6 @@
+ #!/bin/sh
++
++# Only call zfs-auto-snapshot if it's available
++which zfs-auto-snapshot > /dev/null || exit 0
++
+ exec zfs-auto-snapshot --quiet --syslog --label=monthly --keep=12 //
+diff -Nru zfs-auto-snapshot-1.2.1/etc/zfs-auto-snapshot.cron.weekly zfs-auto-snapshot-1.2.4/etc/zfs-auto-snapshot.cron.weekly
+--- zfs-auto-snapshot-1.2.1/etc/zfs-auto-snapshot.cron.weekly	2014-10-14 06:19:48.000000000 +0200
++++ zfs-auto-snapshot-1.2.4/etc/zfs-auto-snapshot.cron.weekly	2017-09-18 09:25:02.000000000 +0200
+@@ -1,2 +1,6 @@
+ #!/bin/sh
++
++# Only call zfs-auto-snapshot if it's available
++which zfs-auto-snapshot > /dev/null || exit 0
++
+ exec zfs-auto-snapshot --quiet --syslog --label=weekly --keep=8 //
diff -Nru zfs-auto-snapshot-1.2.1/debian/patches/series zfs-auto-snapshot-1.2.1/debian/patches/series
--- zfs-auto-snapshot-1.2.1/debian/patches/series	1970-01-01 01:00:00.000000000 +0100
+++ zfs-auto-snapshot-1.2.1/debian/patches/series	2018-12-08 00:45:50.000000000 +0100
@@ -0,0 +1 @@
+crontabs.patch

--- End Message ---
--- Begin Message ---
Version: 9.10

Hi,

The fixes referenced by each of these bugs were included in today's
stretch point release (9.10).

Regards,

Adam

--- End Message ---

Reply to: