we had some hacks running so the service starts when the system comes
up, and a recent update to the latest 16.04 (4.4.0-57-generic #78) broke
them.

current workarounds, placed in /etc/rc.local :

##
systemctl add-wants multi-user.target rpcbind.service
service nfs-kernel-server restart
systemctl restart rpcbind
##

---------------------------------------------------

# run the commands manually to enable the services, it may be necessary
to issue 'systemctl daemon-reload' after adding the target.

# reboot to check that the service starts. some of these may not be
needed every startup but are there to recover the config after an
upgrade breaks the workaround.


# check 
service nfs-kernel-service status


# for debugging:

# set debug flags 
rpcdebug -m rpc -s all
rpcdebug -m nfsd -s all

# tail the logfile
tail -f /var/log/kern.log

# clear debug flags:
rpcdebug -m rpc -c all
rpcdebug -m nfsd -c all

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

Title:
  nfs-kernel-server does not start because of dependency failure

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/1590799/+subscriptions

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

Reply via email to