FYI: There's a whole bunch of such "network-online.target" issues,
mostly because it is not really specified what the target actually means
(i.e. should it provide link-local IP, routable IP, DNS, ...)? – This
usually depends on the local configuration of your service. And to make
things worse, the logic of "network-online.target" changed throughout
the last couple of Ubuntu releases, but is stabilizing since Ubuntu
25.04, waiting for routable IP and resolvable DNS.

See here for some of the background story:
https://discourse.ubuntu.com/t/ubuntu-server-gazette-issue-1-network-
online-target-network-time-security-matrix-chat/56135#p-142440-network-
online-target

Of course, this doesn't help on your Ubuntu 24.04 LTS system...

But given this is depending on your local vsftp configuration, I'd
suggest adding a local systemd config drop-in override for this specific
unit and your use case. E.g.:

$ sudo systemctl edit vsftpd.service

Adding your working configuration from above:

```
[Unit]
Wants=network-online.target nss-lookup.target
After=network-online.target nss-lookup.target
```

This will place a drop-in config in
/etc/systemd/system/vsftpd.service.d/override.conf

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2107406

Title:
  vsftpd does not start at boot time when some options require IP or DNS
  support

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/vsftpd/+bug/2107406/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to