Bug#1082499: nfs mounts should depend upon networking

Harald Dunkel harri at afaics.de
Sat Sep 21 08:08:55 BST 2024


Package: systemd
Version: 252.30-1~deb12u2

Apparently NFS mounts depend upon networking, but the generated
service files don't tell. Sample:

	% systemctl cat home.mount
	# /run/systemd/generator/home.mount
	# Automatically generated by systemd-fstab-generator

	[Unit]
	Documentation=man:fstab(5) man:systemd-fstab-generator(8)
	SourcePath=/etc/fstab
	Before=remote-fs.target

	[Mount]
	What=nfs00:/space/home
	Where=/home
	Type=nfs
	Options=sec=sys,noatime

Networking might be stopped at shut down/reboot time, even
though some NFS mounts are still busy. You run into a very
painful "NFS server not repsonding, still trying", which
lasts for several minutes, even though it cannot be resolved
without network.


Regards

Harri



More information about the Pkg-systemd-maintainers mailing list