The nfs-server.service unit declares a dependency on the local fs being mounted before it starts:
After= local-fs.target So why does this not catch your encrypted partition? ** Changed in: nfs-utils (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1712639 Title: nfs-kernel-server doesn't wait on (luks) encrypted fs on startup To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/1712639/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs