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

Bug#864213: marked as done (anacron: Anacron may never run.)



Your message dated Mon, 12 Nov 2018 00:18:54 +0000
with message-id <E1gLzwM-000Emt-CN@fasolo.debian.org>
and subject line Bug#864213: fixed in anacron 2.3-26
has caused the Debian Bug report #864213,
regarding anacron: Anacron may never run.
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.)


-- 
864213: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=864213
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: anacron
Version: 2.3-23
Severity: important

Dear Maintainer,

Anacron almost never runs on my system. As something that is supposed
to add some degree of reliability to cron, this is problematic.

I think I have worked out the cause, which is that I usually switch my
laptop on while on battery. This causes Anacron to skip running at
boot. It looks like the next time that Anacron will be run is 7:30am,
by /etc/cron.d/anacron. Therefore, if, like me, you switch your laptop
on before plugging it in, and don't have it switched on at 7:30am, no
cron.daily (etc.) jobs are ever run.

I think a good solution to this is to run Anacron when power is plugged
in.

For me, this udev rule is working well. I've created the file
/etc/udev/rules.d/anacron.rules with:

    SUBSYSTEM=="power_supply", ATTR{online}=="1", RUN+="/etc/pm/power.d/10_anacron"

Maybe it would be best to include a check that run-on-battery is set to
no, so that it doesn't get run twice in that situation.

Bug #666390 may relate to this.

-- System Information:
Debian Release: stretch/sid
  APT prefers xenial-updates
  APT policy: (500, 'xenial-updates'), (500, 'xenial-security'), (500,
'xenial'), (10
0, 'xenial-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.4.0-78-generic (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages anacron depends on:
ii  debianutils          4.7
ii  init-system-helpers  1.29ubuntu4
ii  libc6                2.23-0ubuntu7
ii  lsb-base             9.20160110ubuntu0.2

Versions of packages anacron recommends:
ii  cron [cron-daemon]           3.0pl1-128ubuntu2
ii  rsyslog [system-log-daemon]  8.16.0-1ubuntu3

Versions of packages anacron suggests:
ii  postfix [mail-transport-agent]  3.1.0-3
ii  powermgmt-base                  1.31+nmu1

-- no debconf information

Attachment: signature.asc
Description: This is a digitally signed message part


--- End Message ---
--- Begin Message ---
Source: anacron
Source-Version: 2.3-26

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 864213@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Boyuan Yang <byang@debian.org> (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 ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sun, 11 Nov 2018 18:43:39 -0500
Source: anacron
Binary: anacron
Architecture: source
Version: 2.3-26
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Boyuan Yang <byang@debian.org>
Description:
 anacron    - cron-like program that doesn't go by time
Closes: 864213 913536
Changes:
 anacron (2.3-26) unstable; urgency=medium
 .
   * QA upload.
   * debian/60-anacron.rules:
     + Add new udev rule to trigger anacron when external power supply
       is online. (Closes: #864213).
   * debian/anacron.service:
     + Add "-q" option back to suppress duplicated log in systemd unit
       journal.
   * debian/README.Debian:
     + Update document for recent Debian-specific changes.
   * debian/anacron.{preinst,postinst,postrm}:
     + Add invocation to dpkg-maintscript-helper to properly remove
       disappeared upstart conffile. (Closes: #913536).
Checksums-Sha1:
 c604ebd89136863ba8007b73421740125affb526 1808 anacron_2.3-26.dsc
 9ad50a75d035411ce97e52a730f5b871315bc570 20044 anacron_2.3-26.debian.tar.xz
 35c8b40e4c290e31ca996ec37be98d15d1b136b3 5604 anacron_2.3-26_amd64.buildinfo
Checksums-Sha256:
 eeb7655c47b91aa3c189763ce803ae4fa10641367c2c4d694118e0cf5b188579 1808 anacron_2.3-26.dsc
 c8fc49ebdf99be6254ecc956d0e460531eb7cbfdee73828a52bc440a5cc60f79 20044 anacron_2.3-26.debian.tar.xz
 d8131f08aad1a33fced451834d78655e33bcfb96e775e4988b27f87745a57862 5604 anacron_2.3-26_amd64.buildinfo
Files:
 7e0995fca1683ded134aa066ece684bc 1808 admin optional anacron_2.3-26.dsc
 2fea79065e21a61ca11ef6addd84455e 20044 admin optional anacron_2.3-26.debian.tar.xz
 3461f70ca30f4b4c06fa2e13b1a5b138 5604 admin optional anacron_2.3-26_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEfncpR22H1vEdkazLwpPntGGCWs4FAlvowicACgkQwpPntGGC
Ws6BRg//cnCvVI/6Vv//K67wiBBz+8VrIg78f3f+GRd4w+kPENRHhWFMfnA7r2Zs
TIKEWamR8+4ulScvJdUYUVFUNYbRYKcI38cZhBF2NZ4FeHqI8QHHV/5a9A1GMU1T
3lgPSUZGZ5ZgVkdAMm9PJD0gwv6cpxM5iui10pDoPJQ8S9wGqWJeTCotWWqAWmQ+
9Lw2lm2YMQoWniDBPzxJizJfzDlFun2LF+gMia83rjGdC3iSgUx/OAmODMIRCyeb
QJhCJsxAZBcnoh2Ffyu/Cj5fSZyue+lGyq1rJWd9xkaoxkmr02Hq0QAHHfieYyV5
cmTqyAa4LgmXhrOAab5+H6m5/rA48Qf4wjYe2cgTc/KAR97zBS3vUbacq6pIb7fS
oWZlucmfJgn5Nnhx3h/JFEoDT1cfd7pw/OY2EnuXefpVf9je5le56cGozSBfRoLc
PhHw0J6mzepCjwZ7nnV7ZKJPl+kV9GT191JK1/p3pSk/gnqzr9L7iauwrnTgyMuA
fjCClPMX8FLoEG1cR2vjX5wuFdmRtSlQCqlfZVCdjyGPt+3OuF5KeS6nBxEXRhIG
oUzMufMJq0wrI1gFctR2JZl0P0jdoB+8TPldzi+V4T28jh8ml8kY4v08KZyEMGxW
pV7Xz29+RDhJp+5dG4rDrb3P0UOunLPQNqkEpq+H03eFXxs5UB0=
=tL9R
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: