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.

  It does rather feel that if-up.d/mountnfs should perhaps be updated to
take account of this, rather than being a no-op.

  I guess I'll just continue to use my custom dhcpcd.exit-hook for now.
-- 
- Athanasius (he/him) = Athanasius(at)miggy.org / https://miggy.org/
                  GPG/PGP Key: https://miggy.org/gpg-key
           "And it's me who is my enemy. Me who beats me up.
Me who makes the monsters. Me who strips my confidence." Paula Cole - ME

Reply via email to