[systemd-devel] Why don't remote file systems wait for network-online.target?

Martin Pitt martin.pitt at ubuntu.com
Tue Mar 10 06:55:53 PDT 2015


Hey Andrei,

Andrei Borzenkov [2015-03-10 15:12 +0300]:
> Dependency on network-online.target is supposed to be implicitly added
> (oh, those implicit undocumented dependencies ...)
> 
> src/core/mount.c:mount_add_default_dependencies()

Ah, thanks for pointing out. Indeed, I was confused by them not being
in the generated /run/systemd/generator/mnt-server.mount, but
systemctl show indeed does show them.

So it's all clear now, they do wait on network-online.target, this is
just a no-op right now because NetworkManager-wait-online.service
isn't activated.

Thanks,

Martin

-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)


More information about the systemd-devel mailing list