Your message dated Sun, 11 Nov 2018 18:19:56 +0000
with message-id <[email protected]>
and subject line Bug#730595: fixed in anacron 2.3-25
has caused the Debian Bug report #730595,
regarding anacron: Gracefully stop anacron (with SIGUSR1)
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.)
--
730595: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=730595
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: anacron
Version: 2.3-19
Severity: wishlist
Hi,
The anacron manpage suggests that the SIGUSR1 signal can gracefully kill
anacron (by waiting for the completion of the jobs) rather than plain
killing it.
What do you think about adding something like
--retry=SIGUSR1/10/KILL/5 (or maybe even SIGUSR1/10/TERM/5/KILL/5)
to start-stop-daemon to ensure the jobs are properly finished?
For systemd serivice something like:
KillMode=process
KillSignal=SIGUSR1
Should do the trick. This is actally important for systemd as if anacron
exits, the complete cgroup will be killed, so we let the chance to the
jobs to properly finish.
Cheers,
Laurent Bigonville
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.11-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=fr_BE.utf8, LC_CTYPE=fr_BE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages anacron depends on:
ii debianutils 4.4
ii libc6 2.17-96
ii lsb-base 4.1+Debian12
Versions of packages anacron recommends:
ii cron 3.0pl1-124
ii rsyslog [system-log-daemon] 7.4.4-1
Versions of packages anacron suggests:
ii dma [mail-transport-agent] 0.9-1
ii powermgmt-base 1.31
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: anacron
Source-Version: 2.3-25
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.
Boyuan Yang <[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: SHA512
Format: 1.8
Date: Sun, 11 Nov 2018 13:02:34 -0500
Source: anacron
Binary: anacron
Architecture: source
Version: 2.3-25
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <[email protected]>
Changed-By: Boyuan Yang <[email protected]>
Description:
anacron - cron-like program that doesn't go by time
Closes: 730595 743448 811019 903981
Changes:
anacron (2.3-25) unstable; urgency=medium
.
* QA upload.
* Orphan the package and set maintainer to Debian QA Group.
* debian: Sort by applying "wrap-and-sort -abst".
* debian/control:
+ Bump debhelper compat to v11.
+ Bump Standards-Version to 4.2.1.
+ Update Vcs-* fields and use git repo under Salsa Debian group.
+ Remove dependency to transitional package dh-systemd.
* debian/anacron.service:
- Do not include [Install] section since the service should only be
triggered by systemd timer. (Closes: #903981).
+ Add comments about how to allow anacron to be running even when
AC power is not connected.
+ Add /etc/default/anacron file as EnvironmentFile.
+ Use SIGUSR1 and KillMode=mixed to gracefully stop the service.
+ Update cmdline arguments (do not use -q to suppress messages).
* debian/init.d:
+ Use SIGUSR1 in start-stop-daemon top gracefuly stop anacron
in sysvinit-compatible service. (Closes: #730595).
* debian/upstart: Remove upstart service file.
* debian/default:
+ Add comments on how to handle configurations for AC power on
systemd-enabled systems. (Closes: #811019).
+ Allow job serialisation to be customisable. (Closes: #743448).
* debian/patches:
+ Add patch to update anacron(8) man page to mention systemd service
files and default behaviour on AC power supply.
* debian/rules:
- Do not use dh_systemd sequence anymore; use dh_installsystemd
instead.
* debian/changelog: Remove trailing spaces.
Checksums-Sha1:
2c4115d3b28e031611bdba45d1967c998d86502e 1808 anacron_2.3-25.dsc
704901ecd743fb6ce103d27be21450285955e287 19620 anacron_2.3-25.debian.tar.xz
9b1d4b9dc76f8d11335def493f5ec3b9e09d81fe 5604 anacron_2.3-25_amd64.buildinfo
Checksums-Sha256:
6ce1132cf90ed58f787b842c814ed7e37651723975447e416766ff81ec5843c3 1808
anacron_2.3-25.dsc
a915b573bb877b3bfc60b9d31936e49c795384a3e4eb05f12b3e5a48066753ae 19620
anacron_2.3-25.debian.tar.xz
9bf3d37b6a8e1ffb782ef4d20c6b6b45e4c07a06c275a685f83aac76cc650581 5604
anacron_2.3-25_amd64.buildinfo
Files:
6edf2dfa942fe2a07ab0c9614b45b9cc 1808 admin optional anacron_2.3-25.dsc
2010a8d3f87ca7002aff781f02702abb 19620 admin optional
anacron_2.3-25.debian.tar.xz
7bd4959c9db7051944ae73941ea1177a 5604 admin optional
anacron_2.3-25_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEfncpR22H1vEdkazLwpPntGGCWs4FAlvobz4ACgkQwpPntGGC
Ws5VUg/9Eokcze+iaEESR3elO0UeqrSlvp4P6JCxQiGYRTJqDyivpAU0kxt7TXXI
dLgngfEIpFTX3EmtOBYh7uFbYtbE8i09q9QMvwkfNTNfwcyXV/I4Ie5eWdJUQu3q
4ugwvJLdn37LCjTn15vbeKFVomvWOIK78T09O/VA6jDD1OMzrlzE7XmjOrxKYZKQ
bTesGz0lYjG/NiKWQn5RQdRmJF0MSU4JHdER+6WWIYk6Gc4Bm2ded3PO77RXCGoc
W/SCCPwjh1VfWbWIWT5SwCx+S+pN5PHc+ZGtvLRspH+j91yfmu1+i6KGhHdg8pcV
hTc+Lpok2A1O8gKUCmW70YqN7yQXxCMCxgyXqNXrECs/eojF8VknMVVQKiA2h1N2
67jq4wDTUPhcrYqBsv0DHpRZgUETD1VdzisFDEHEAPvfUbEF0noCVvfBr3vvJrjN
clbv/B2aWWdAB7R4y/d2qnSCVCvv36+NbC0Qe45xNVKIqWTsR+DigdEc3uiWXf26
1niwlAktdnyYo8W/1wfpRCRfKAZxGVC5Xcv4JKYpcMFstAK0DRjCoYPeXDz7p4wg
/LjEpG8syxIXFnHRqUWe74qEgvPglbk+bzsQFYOrVFB4CJLE7RLhyh55gvY5Dj+7
b2iAHoPYuPdPb76ZErZRjEtP0mJBoeb/m4jj0rcMtXMnsTMDAJE=
=1SD/
-----END PGP SIGNATURE-----
--- End Message ---