Bug#739721: Unable to use NFS with systemd...

Petr Vandrovec petr at vmware.com
Tue Oct 14 20:52:08 BST 2014


Hi,
    here too... Problem is not with mount/rpc.statd dependency - mount 
seems to start rpc.statd now whenever it needs.

Problem is that systemd tries to mount NFS filesystems before portmap is 
started.  portmap's init.d says that it needs $local_fs, and 
unfortunately as far as I can tell, systemd-fstab-generator treats 
remote filesystems exactly same as local, without any dependency on 
portmap or anything else, and without any configuration option that 
could explain to systemd that NFS filesystems need portmap.

To get NFS to work I've added 'mkdir /run/rpcbind; /sbin/rpcbind -w' 
into my catch-all initscript that I run before systemd starts messing up 
things, as I could not figure out how to explain to 
systemd-fstab-generator that it must run rpcbind before doing any mounts.

						Petr



More information about the Pkg-systemd-maintainers mailing list