+nfs-utils (1:1.2.5-2.1) unstable; urgency=low
+
+ [ Roger Leigh ]
+ * /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).
+
+ -- Luk Claes <luk@debian.org> Fri, 09 Dec 2011 11:26:56 +0100
+
nfs-utils (1:1.2.5-2) unstable; urgency=low
* debian/patches/18-dont-use-PAGE_SIZE.patch
Package: nfs-common
Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, rpcbind, adduser, ucf, lsb-base (>= 1.3-9ubuntu3), initscripts (>= 2.86.ds1-38.1)
+Depends: ${shlibs:Depends}, ${misc:Depends}, rpcbind, adduser, ucf, lsb-base (>= 1.3-9ubuntu3), initscripts (>= 2.88dsf-13.3)
Recommends: python
Provides: nfs-client
Conflicts: nfs-client
log_end_msg $RET
exit $RET
else
- mkdir -p /lib/init/rw/sendsigs.omit.d
- rm -f /lib/init/rw/sendsigs.omit.d/statd
- ln -s /var/run/rpc.statd.pid /lib/init/rw/sendsigs.omit.d/statd
+ if [ -d /run/sendsigs.omit.d ]; then
+ rm -f /run/sendsigs.omit.d/statd
+ ln -s /var/run/rpc.statd.pid /run/sendsigs.omit.d/statd
+ fi
fi
fi
dpkg-statoverride --remove /sbin/mount.nfs
fi
fi
+
+ # Migrate /lib/init/rw/sendsigs.omit.statd to /run.
+ if [ -f /lib/init/rw/sendsigs.omit.d/statd ]; then
+ mv /lib/init/rw/sendsigs.omit.d/statd /run/sendsigs.omit.d/statd
+ fi
;;
esac