Your message dated Sat, 29 Aug 2015 18:00:51 +0200
with message-id <20150829160051.gm3...@betterave.cristau.org>
and subject line Re: Bug#739052: wheezy-pu: package anacron/2.3-19+deb7u1
has caused the Debian Bug report #739052,
regarding wheezy-pu: package anacron/2.3-19+deb7u1
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 ow...@bugs.debian.org
immediately.)


-- 
739052: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=739052
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: release.debian.org
Severity: normal
Tags: wheezy
User: release.debian....@packages.debian.org
Usertags: pu
X-Debbugs-CC: anac...@packages.debian.org, mbi...@debian.org, bi...@debian.org

Dear Release Team,

Please find attached a proposed update for anacron. It fixes #688665:
basically, if anacron is installed while systemd is PID 1, then daily cron jobs
are never run (unless the machine is rebooted or suspended/resumed).

The proposed fix consists in adding a .service file (see #688665 log for the
reasoning). Incidentally, note that this ensure that nothing is broken for
non-systemd users.

Cheers,

-- 
 .''`.    Sébastien Villemot
: :' :    Debian Developer
`. `'     http://www.dynare.org/sebastien
  `-      GPG Key: 4096R/381A7594
diff -Nru anacron-2.3/debian/anacron.service anacron-2.3/debian/anacron.service
--- anacron-2.3/debian/anacron.service	1970-01-01 00:00:00.000000000 +0000
+++ anacron-2.3/debian/anacron.service	2014-02-15 12:52:28.000000000 +0000
@@ -0,0 +1,9 @@
+[Unit]
+Description=Run anacron jobs
+After=time-sync.target
+
+[Service]
+ExecStart=/usr/sbin/anacron -dsq
+
+[Install]
+WantedBy=multi-user.target
diff -Nru anacron-2.3/debian/changelog anacron-2.3/debian/changelog
--- anacron-2.3/debian/changelog	2012-05-22 20:35:30.000000000 +0000
+++ anacron-2.3/debian/changelog	2014-02-15 12:52:28.000000000 +0000
@@ -1,3 +1,14 @@
+anacron (2.3-19+deb7u1) wheezy; urgency=low
+
+  * Non-maintainer upload.
+  * Add a systemd unit, so that daily jobs are run if systemd is PID 1
+    (patch based on work by Shawn Landden and Laurent Bigonville)
+    (closes: #688665)
+  * README.Debian: document that, under systemd, anacron cannot be
+    disabled while on battery power.
+
+ -- Sébastien Villemot <sebast...@debian.org>  Thu, 13 Feb 2014 21:09:09 +0100
+
 anacron (2.3-19) unstable; urgency=low
 
   * Move source format to 3.0 (quilt) with single-debian-patch (adapted
diff -Nru anacron-2.3/debian/README.debian anacron-2.3/debian/README.debian
--- anacron-2.3/debian/README.debian	2012-03-21 18:32:11.000000000 +0000
+++ anacron-2.3/debian/README.debian	2014-02-15 12:52:28.000000000 +0000
@@ -12,5 +12,7 @@
 Anacron leaves messages in /var/log/syslog and /var/log/messages by
 default.
 
-By default, anacron does not run while on battery power.  See
-/etc/default/anacron to change that.
+By default, anacron does not run while on battery power, see
+/etc/default/anacron to change that. Note however that if you are using
+systemd, anacron will run even while on battery power, and the setting in
+/etc/default/anacron will be ignored.
diff -Nru anacron-2.3/debian/rules anacron-2.3/debian/rules
--- anacron-2.3/debian/rules	2012-05-21 18:48:57.000000000 +0000
+++ anacron-2.3/debian/rules	2014-02-15 12:52:28.000000000 +0000
@@ -11,6 +11,7 @@
 	install -D -m 755 debian/apm.d debian/anacron/etc/apm/event.d/anacron
 	install -D -m 755 debian/pm-utils.power.d debian/anacron/usr/lib/pm-utils/power.d/anacron
 	install -D -m 755 debian/pm-utils.sleep.d debian/anacron/usr/lib/pm-utils/sleep.d/95anacron
+	install -D -m 644 debian/anacron.service debian/anacron/lib/systemd/system/anacron.service
 
 override_dh_installcron:
 	dh_installcron

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
On Sat, Aug 29, 2015 at 17:57:23 +0200, Sébastien Villemot wrote:

> Le samedi 29 août 2015 à 16:47 +0200, Julien Cristau a écrit :
> > Control: tag -1 moreinfo
> > 
> > On Sat, Feb 15, 2014 at 14:07:54 +0100, Sébastien Villemot wrote:
> > 
> > > Dear Release Team,
> > > 
> > > Please find attached a proposed update for anacron. It fixes 
> > > #688665:
> > > basically, if anacron is installed while systemd is PID 1, then 
> > > daily cron jobs
> > > are never run (unless the machine is rebooted or 
> > > suspended/resumed).
> > > 
> > > The proposed fix consists in adding a .service file (see #688665 
> > > log for the
> > > reasoning). Incidentally, note that this ensure that nothing is 
> > > broken for
> > > non-systemd users.
> > 
> > Hi Sébastien,
> > 
> > are you still interested in this update for wheezy?
> 
> Actually no… Feel free to close it.
> 
Done.

Cheers,
Julien

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply via email to