Your message dated Sun, 28 Dec 2014 19:48:24 +0000 with message-id <[email protected]> and subject line Bug#744753: fixed in anacron 2.3-23 has caused the Debian Bug report #744753, regarding anacron: Anacron not triggered when system resumes under systemd 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.) -- 744753: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=744753 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: anacron Version: 2.3-19 Severity: normal Tags: patch Anacron currently ships a pm-utils hook script that starts the service when the system is resumed. pm-utils hooks are not executed when the system resumes, having been suspended by systemd. Systemd provides a directory, /usr/lib/systemd/system-sleep that seems to be the closest equivalent to the pm-utils hook directory. A script such as the following can be dropped in there (untested!): #!/bin/bash case "$1" in post) systemctl --fail --no-block start anacron.service ;; suspend|hibernate|hybrid-sleep) systemctl --fail --no-block stop anacron.service ;; esac Note that the systemd-sleep(8) man page says that this directory is a hack for local use only. A better way would be to add this to anacron.service: [Unit] Conflicts=sleep.target Before=sleep.target Which will stop anacron when the system is suspended/hibernated; and to create a new unit, anacron-resume.service: [Unit] After=systemd-suspend.service systemd-hibernate.service systemd-hybrid-sleep.service [Service] ExecStart=/bin/systemctl --no-block --fail start anacron.service [Install] WantedBy=sleep.target Which will start anacron when the system comes back. -- System Information: Debian Release: 7.4 APT prefers stable-updates APT policy: (550, 'stable-updates'), (550, 'stable'), (530, 'testing'), (520, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 3.12-0.bpo.1-686-pae (SMP w/1 CPU core) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages anacron depends on: ii debianutils 4.3.2 ii libc6 2.18-4 ii lsb-base 4.1+Debian8+deb7u1 Versions of packages anacron recommends: ii cron 3.0pl1-124 ii rsyslog [system-log-daemon] 5.8.11-3 Versions of packages anacron suggests: ii exim4-daemon-heavy [mail-transport-agent] 4.80-7 pn powermgmt-base <none>
--- End Message ---
--- Begin Message ---Source: anacron Source-Version: 2.3-23 We believe that the bug you reported is fixed in the latest version of anacron, 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. Ivo De Decker <[email protected]> (supplier of updated anacron 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: SHA256 Format: 1.8 Date: Sun, 28 Dec 2014 20:14:44 +0100 Source: anacron Binary: anacron Architecture: source amd64 Version: 2.3-23 Distribution: unstable Urgency: medium Maintainer: Peter Eisentraut <[email protected]> Changed-By: Ivo De Decker <[email protected]> Description: anacron - cron-like program that doesn't go by time Closes: 744753 771393 Changes: anacron (2.3-23) unstable; urgency=medium . * Team upload. * Add IgnoreSIGPIPE=false to anacron.service (Closes: #771393) * Add anacron-resume.service file to make sure anacron also runs at resume when running under systemd (Closes: #744753) Checksums-Sha1: 0a639bb90fa55227fa29182068941dc72a59e016 1899 anacron_2.3-23.dsc f0a7005f5dc9b0f9cf7a8cc21dd5c6063a29ce66 18104 anacron_2.3-23.debian.tar.xz Checksums-Sha256: fd8dda4e33d93f6bcdaff46a0e1a81678fcc084711f0e6701988eb112dc51ac3 1899 anacron_2.3-23.dsc 4d66a440ae8632d8e36b15e900ff50b30d9f4cd59b80ebf9cb79d5a65e4c5735 18104 anacron_2.3-23.debian.tar.xz Files: d38dfd2febdf412e63df64ef0c516e59 1899 admin optional anacron_2.3-23.dsc 94f91f80df3b1a72e250732d1bcbfb68 18104 admin optional anacron_2.3-23.debian.tar.xz -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQIcBAEBCAAGBQJUoFvUAAoJEKxAu1iXBOr8MBQP/iERUlQDy2vqdl3VeY2+uTde yRKqK13CuJr6kEHa620QyMWfiy/p26TwmtwLVyRhgXFdjR/Bnvx7sXUIFeFWELSW YqSNY8i3dYi6EnCBSvJdBLZpeP7veK1PBDG79hKl+4h7nzxvymla0D53UGO4WHuW Ax14/gsjAVvVgkSoAQD7RfPTAQbjMgffTlVp9R0V5TF4Wp1lTlqaZwDqUjlHPPL8 MZuZl7DD4T0AfbDVxUDNqgjR1YHqkwQLl6EOnmLHV+oP8LNU0t5xfqFo7rReTSv9 OFUPBrjdm/yzr4iKSsDb1wQBwDwHV2koUY9CRFYqYp3uhvnCriMqEhnGo5rOBhsw Gj8Eqng6XcZMtbcuYMJWnZGe8iXeALKawwaQq7ISrt3AhTvllbu0O3PSo6PZ2Gm+ A9jBpJpIjMG9CGjGkUWE/Zxopce34srvZgsD/W73OGQOvcEAQPzSCDPBkq2i/0Ng 1me10QizZUzw6Cc/sIQtY81VjTgVBrjVjzjeW5cgk1FriBhJFJC5y9kP+uiMw8CR 3X9+RzavoITkcH4f/2ID4/WZCa8unvFIgIAcxNmV3ZRrZSZxjbqeCpqQ3EiymHE3 iXpWhyXRcxGX9ZAsJ22x7xr10T37U+WKGj3G1OgvV0py7VhN3B1zWCQx0gunh/lR CnS7oRliu6yRLo3jtGsn =DWHM -----END PGP SIGNATURE-----
--- End Message ---

