dhcpcd: Dependent NFS mounts fail/never happen
Martin-Éric Racine
martin-eric.racine at iki.fi
Tue Nov 5 12:36:36 GMT 2024
On Mon, 4 Nov 2024 19:21:17 +0200
=?UTF-8?Q?Martin=2D=C3=89ric_Racine?= <martin-eric.racine at iki.fi>
wrote:
> ma 4. marrask. 2024 klo 15.52 Athanasius (debian at miggy.org) kirjoitti:
> >
> > On Mon, Nov 04, 2024 at 01:39:48PM +0000, Athanasius wrote:
> > > I'll now see if I can find which part of *systemd* is meant to take
> > > care of this instead.
> >
> > This would seem to be network-online.target, which is automatically
> > wanted by any remote-fs related target, i.e. in my case
> > `mnt-tuesday-data0.mount` has:
> >
> > Wants=network-online.target
> >
> > The problem, I think, is that there's no way for dhcpcd to inform
> > systemd that this has been fulfilled. That or things run on after the
> > dhcpcd invocation and systemd is past this point by the time addresses
> > are obtained and added.
>
> network-online.target is supposed to be achieved by ifupdown.
>
> You can check this with 'systemctl list-dependencies network-online.target'
>
> > It does rather feel that if-up.d/mountnfs should perhaps be updated to
> > take account of this, rather than being a no-op.
>
> That would suggest reassigning this bug to src:initscripts, which
> provides that script.
Adding the sysvinit maintainers to this thread for comment.
Martin-Éric
More information about the Debian-init-diversity
mailing list