severity 195720 minor
tags 195720 + patch

thanks,

Hi,

The postinst of util-linux section mentioned in this bug is no longer needed
(as far as sarge, update-rc.d works fine without a rc0.d/??? and/or a rc6.d/???
file). A patch for this is attached.

Also, the current practice to enable/disable initscripts for the admin is to
use update-rc.d script enable/disable. Disabling the script in this way is
preserved even after the calls in the postinst script.

The enable/disable part of update-rc.d might change in the future.

-- 
"Don't let what you cannot do interfere with what you can do."
-- Wooden's Rule
Saludos /\/\ /\ >< `/
Index: util-linux-2.20.1/debian/util-linux.postinst
===================================================================
--- util-linux-2.20.1.orig/debian/util-linux.postinst   2012-11-19 
12:20:04.155861904 +0100
+++ util-linux-2.20.1/debian/util-linux.postinst        2012-11-19 
14:15:06.938367135 +0100
@@ -8,16 +8,6 @@
 update-alternatives --install /usr/bin/pager pager /usr/bin/pg 10 \
   --slave /usr/share/man/man1/pager.1.gz pager.1.gz /usr/share/man/man1/pg.1.gz
 
-#
-#      Check if links to hwclock.sh are present in runlevel "6".
-#      If not, remove the ones from runlevel "S" so that
-#      update-rc.d will do it's job.
-#
-if [ ! -f /etc/rc6.d/???hwclock.sh ] && [ ! -f /etc/rc0.d/???hwclock.sh ]
-then
-       rm -f /etc/rcS.d/???hwclock.sh
-fi
-
 # hwclock works on all Linux architectures, except s390 (and s390x, of course).
 if [ "$(uname -s)" = "Linux" ]; then
     model=$(uname -m)

Reply via email to