Bug#968251: nfs-kernel-server fails to start at boot
Package: nfs-kernel-server
Version: 1:1.3.4-2.5+deb10u1
Severity: important
Dear Maintainer,
after the last update(s) nfs-kernel-server fails to start since the path to export isn't available yet.
adding a sleep 30 to the unit file works as a workaround ...
naturally starting the service manually after boot works too
it's probably an edge case since i got a large raid 5 with luks on a rather slow CPU so onlocking it takes quite a bit, my guess is the dependencies in the unit file don't work for that case
-- Package-specific info:
-- rpcinfo --
program vers proto port service
100000 4 tcp 111 portmapper
100000 3 tcp 111 portmapper
100000 2 tcp 111 portmapper
100000 4 udp 111 portmapper
100000 3 udp 111 portmapper
100000 2 udp 111 portmapper
-- /etc/default/nfs-kernel-server --
RPCNFSDCOUNT=8
RPCNFSDPRIORITY=0
RPCMOUNTDOPTS="--manage-gids"
NEED_SVCGSSD=""
RPCSVCGSSDOPTS=""
-- /etc/exports --
/srv/path1 1.2.3.4(rw,async,no_subtree_check) 2.3.4.5(rw,async,no_subtree_check) 3.4.5.6(rw,async,no_subtree_check)
/srv/path2 1.2.3.4(rw,async,no_subtree_check) 2.3.4.5(rw,async,no_subtree_check) 3.4.5.6(rw,async,no_subtree_check)
-- /proc/fs/nfs/exports --
# Version 1.1
# Path Client(Flags) # IPs
-- System Information:
Debian Release: 10.5
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.19.0-10-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages nfs-kernel-server depends on:
ii keyutils 1.6-6
ii libblkid1 2.33.1-0.1
ii libc6 2.28-10
ii libcap2 1:2.25-2
ii libsqlite3-0 3.27.2-3
ii libtirpc3 1.1.4-0.4
ii libwrap0 7.6.q-28
ii lsb-base 10.2019051400
ii netbase 5.6
ii nfs-common 1:1.3.4-2.5+deb10u1
ii ucf 3.0038+nmu1
nfs-kernel-server recommends no packages.
nfs-kernel-server suggests no packages.
-- no debconf information
Reply to: