[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?= <j...@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?

Attachment: signature.asc
Description: OpenPGP digital signature

Pkg-systemd-maintainers mailing list

Reply via email to