Hi Javier and Michael, On Mon Mar 12, 2018 at 14:02:43 +0100, Michael Biebl wrote: > [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?= <[email protected]> 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.
I was about to write the same mail. Javier, it seems you probably missed my comment on 767016#37. The way you fix it just fixes a sympton, but not the bug itself. Michael was so nice to point to the correct documentation, that i was still seeking for when writing the first draft for that mail. Best regards, Martin -- Martin Zobel-Helas <[email protected]> Debian System Administrator Debian & GNU/Linux Developer Debian Listmaster http://about.me/zobel Debian Webmaster GPG Fingerprint: 6B18 5642 8E41 EC89 3D5D BDBB 53B1 AC6D B11B 627B

