(not sure to whom this question is directed)
On Mon, Mar 12, 2018 at 7:59 PM, Michael Biebl <bi...@debian.org> wrote:
> On Sun, 1 May 2016 22:32:33 +0200 Christian Kastner <c...@debian.org> wrote:
> > Control: tag -1 confirmed pending
> > Hi Sandro,
> > On 2016-02-18 16:45, Sandro Tosi wrote:
> > > i just noticed the systemd service for cron doesnt define a depencency on
> > > remote-fs.target , while the sysv init script have the "Required-Start:
> > > $remote_fs". I think that dependency should be added.
> > Thank you for spotting this, I have committed a fix.
> Why would a dependency on remote-fs.target be necessary?
because that's the path of least surprise: on wheezy cron depended on
remote_fs, while jessie cron service doesnt, so during that migration
you would have expected cronjobs depending on remote fs to correctly
be executed, but that's a wrong assumption as cron service is happy to
start before NFS shares are mounted, thus failing the jobs depending
i'm well aware we can add a drop-in in /etc/systemd to add the
dependency, but the point is to have sane defaults and do not surprise
the administrators with an unannounced change of dependencies.
Sandro "morph" Tosi
My website: http://sandrotosi.me/
Me at Debian: http://wiki.debian.org/SandroTosi