Only start nfs-common in runlevel S; it doesn't need to be started more than once (and startpar won't actually run it more than once, anyway). Closes: #510528.
Fix the sec=krb5* handling in debian/nfs-common.init to properly match all cases. Closes: #715478.
debian/patches/21-no-more-var-run.patch: PID files should be in /run, not /var/run. Closes LP: #1157171.
Simplify handling of idmapd, which in recent releases is always enabled
Migrate the rpc_pipefs mount out of /var/lib to /run, to better support /var on NFS.
Use rpcbind's rpcinfo everywhere (Closes: #707589).
/run transition: nfs-common migrates /lib/init/rw/sendsigs.omit.d/statd to /run/sendsigs.omit.d on upgrade, and uses /run/sendsigs.omit.d. Depend on initscripts (>= 2.88dsf-13.3) to guarantee the existence of /run/sendsigs.omit.d (Closes: #633034).
Only use rpcbind's rpcinfo when it's available
Use rpcbind's rpcinfo so IPv6 ones are also shown Signed-off-by: Luk Claes <luk@debian.org>
Use rpcinfo instead of /dev/tcp redirection
nfs-common.init: Enable idmapd by default (Closes: #610363)
Don't barf when tcp redirection fails
Make init scripts use bash as /dev/tcp redirection is a bashism
Replace lsof usage with redirection to /dev/tcp
nfs-common.init: Add statd to sendsigs.omit.d (Closes: #524610)
nfs-common.init: Add --pidfile for statd (Closes: #521084) There is no pidfile created for idmapd, but upstream's commit 7c84d47f (for 1.2.3) might be a better solution in the long run anyway.
nfs-common.init, nfs-kernel-server.init: Add warning when portmap is not running (Closes: #612002) When portmap (or rpcbind) are not running, don't try to start statd, nfsd or mountd, but warn instead that portmap is not running. This means installing nfs-common or nfs-kernel-server would succeed even if the daemons are not started.
nfs-common.init: Ignore empty and commented-out fstab lines (Closes: #587329)
Imported Debian patch 1.1.2-6
Imported Debian patch 1.1.1-9