Bug#767016: fixed in cron 3.0pl1-129
Michael Biebl
biebl at debian.org
Mon Mar 12 13:02:43 GMT 2018
[systemd maintainer speaking here]
Hi Javier
On Sun, 11 Mar 2018 23:04:21 +0000
=?utf-8?q?Javier_Fern=C3=A1ndez-Sanguino_Pe=C3=B1a?= <jfs at debian.org> wrote:
> * debian/cron.init, debian/cron.service: Make sure cron is started last and
> stopped first, with patch provided by Harald Dunke
> (Closes: #767016, #801384, #783665) (LP: #1593317)
(mis)using Type=idle for this is not a proper fix.
See the relevant documentation in man systemd.service:
> Behavior of idle is very similar to simple; however, actual execution of the service program is delayed until all active jobs are
> dispatched. This may be used to avoid interleaving of output of shell services with the status output on the console. Note that this
> type is useful only to improve console output, it is not useful as a general unit ordering tool, and the effect of this service type
> is subject to a 5s time-out, after which the service program is invoked anyway.
The documentation is pretty clear, that Type=idle should *not* be used
for ordering purposes. It is not a proper fix.
See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=767016#37
for a better alternative of actually specifying what cron needs.
--
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-systemd-maintainers/attachments/20180312/af1fad20/attachment.sig>
More information about the Pkg-systemd-maintainers
mailing list