Bug#736059: nfs-common: using deprecated update-rc.d options
Package: nfs-common
Version: 1:1.2.8-5
Severity: minor
Tags: patch
During installation, dpkg says:
Setting up nfs-common (1:1.2.8-5) ...
Installing new version of config file /etc/init.d/nfs-common ...
Replacing config file /etc/idmapd.conf with new version
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
[ ok ] Stopping NFS common utilities: idmapd statd.
[ ok ] Starting NFS common utilities: statd idmapd.
Note that the start and stop actions are no longer used; check the
update-rc.d manpage for more details. Also, the start levels (20 and
44 in the postinst) are now worked out dynamically from the dependency
information in the initscript headers: on my system, I have:
polya:~ $ /bin/ls -1 /etc/rc?.d/*nfs-common
/etc/rc0.d/K07nfs-common
/etc/rc1.d/K07nfs-common
/etc/rc2.d/S19nfs-common
/etc/rc3.d/S19nfs-common
/etc/rc4.d/S19nfs-common
/etc/rc5.d/S19nfs-common
/etc/rc6.d/K07nfs-common
/etc/rcS.d/S19nfs-common
So the patch is to replace the complex update-rc.d call in the
postinst with just:
update-rc.d nfs-common defaults
HTH,
Julian
Reply to: