Your message dated Fri, 27 Dec 2013 17:33:18 +0000 with message-id <[email protected]> and subject line Bug#688665: fixed in anacron 2.3-20 has caused the Debian Bug report #688665, regarding anacron: cron.daily jobs not run under systemd if system left up overnight 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.) -- 688665: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=688665 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: anacron Version: 2.3-19 Severity: normal Dear Maintainer, *** Please consider answering these questions, where appropriate *** * What led up to the situation? anacron not started at 7:30 as it should as specified in '/etc/cron.d/anacron' * What exactly did you do (or not do) that was effective (or ineffective)? Change 'invoke-rc.d start anacron' to 'invoke-rc.d restart anacron' * What was the outcome of this action? systemd stopped then started anacron.service * What outcome did you expect instead? Expected invoke-rc.d to execute the start method in '/etc/init.d/anacron'. As it turns out systemd hijacks the process early on and sees that the service had already been started and so does nothing,resulting in the jobs from anacrontab not being processed. I noticed that the jobs are always run if the system had gone through a suspend/resume cycle in the previous day. This is due to '/usr/lib/pm-utils/sleep.d/95anacron' which stops the anacron.service before going to sleep, then starts it upon resume. After changing the invoke-rc.d command from 'start' to 'restart' the 7:30am anacron run starts every time. *** End of the template - remove these lines *** -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 3.2.0-3-686-pae (SMP w/1 CPU core) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages anacron depends on: ii debianutils 4.3.2 ii libc6 2.13-35 ii lsb-base 4.1+Debian7 Versions of packages anacron recommends: ii cron 3.0pl1-124 ii rsyslog [system-log-daemon] 5.8.11-1+b1 Versions of packages anacron suggests: ii exim4-daemon-light [mail-transport-agent] 4.80-4 ii powermgmt-base 1.31 -- Configuration Files: /etc/anacrontab changed: SHELL=/bin/sh PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin HOME=/root LOGNAME=root 1 5 cron.daily run-parts --verbose /etc/cron.daily 7 10 cron.weekly run-parts --verbose /etc/cron.weekly @monthly 15 cron.monthly run-parts --verbose /etc/cron.monthly /etc/cron.d/anacron changed: SHELL=/bin/sh PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin 30 7 * * * root test -x /etc/init.d/anacron && /usr/sbin/invoke-rc.d anacron restart >/dev/null -- no debconf information
--- End Message ---
--- Begin Message ---Source: anacron Source-Version: 2.3-20 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. Laurent Bigonville <[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: Fri, 27 Dec 2013 18:12:57 +0100 Source: anacron Binary: anacron Architecture: source amd64 Version: 2.3-20 Distribution: unstable Urgency: medium Maintainer: Peter Eisentraut <[email protected]> Changed-By: Laurent Bigonville <[email protected]> Description: anacron - cron-like program that doesn't go by time Closes: 688665 Changes: anacron (2.3-20) unstable; urgency=medium . * Team upload. [ Peter Eisentraut ] * Remove mention of LOGNAME environment variable from man page. It is not implemented. . [ Shawn Landden ] * add systemd anacron.service (Closes: #688665) . [ Laurent Bigonville ] * debian/anacron.service: - Serialize execution of jobs (like when started by the initscript) - Do not print output on stdout, this duplicates the messages in the logs - Run after the time-sync target - Only start the service if we are on AC power * debian/README.debian: Explain how to run anacron on battery with systemd Checksums-Sha1: 1cd56353ed9702f2f22796fa32bdf71ba5ebd830 1537 anacron_2.3-20.dsc 0cb75592e195f2b60b30b595df6adf7e2c33f623 19540 anacron_2.3-20.debian.tar.gz 71a771adfd85ebd8c9f7bfafe259bfc06706f7a8 32114 anacron_2.3-20_amd64.deb Checksums-Sha256: 8199c114830b3aa780918b396284061223ac3f2ee4fac294e0230f29abb023ab 1537 anacron_2.3-20.dsc 650fa84272a04ec791fcb24487f3ad60f6b13f9b6a788e1d1d75a9c24cdafc04 19540 anacron_2.3-20.debian.tar.gz 4086a590eaad58349cb4b2042d72bede8013626b403db28005917434048ee166 32114 anacron_2.3-20_amd64.deb Files: 3b22a4a9ba28aeba44bc6b5ca4a77a21 1537 admin optional anacron_2.3-20.dsc 0480185b96ca80d7ecf6957b16fd9689 19540 admin optional anacron_2.3-20.debian.tar.gz 0cd052f3a01d43723fa72f5a3ad68821 32114 admin optional anacron_2.3-20_amd64.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.15 (GNU/Linux) iQEcBAEBCAAGBQJSvbekAAoJEB/FiR66sEPVPREH+wVF1TM734N2m/Fbcg9C/LKP nUOrecbNVP8oTLkgOhfGiaDOv3zpJEMI47J+GDfDFFtbw8EOye9rjp6AkPZt49k3 tmuFz8LNhnDABzyU8DdY7Vd873UdTXKedolcbtAc6QUVpXYDfYUSxJlhhsRv9OFe Q9OWaV9lsXM7IFTZ672hqAt/Ld1Dy1TuKjKlu5dnjVTlsJFx7FVykTEuT3wYaUZY ViLyPVW6/jAKH14bXeqrVkaC+3SASjdL+pmjfuoZFUOldfAuUnNOeSQoibc3o2zZ MF3IpKhcnEQuNegJpSbdkW8sc1OUxTwhtvrU2BUpuquFgrRtOJV2x594NlUZfCU= =apUg -----END PGP SIGNATURE-----
--- End Message ---

