[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#548103: /etc/init.d/kdm: please add kbd to Should-Start



Package: kdm
Severity: normal
Tags: patch
User: pkg-kbd-devel@lists.alioth.debian.org
Usertags: kbd-init-rdeps

Hi!

To handle #542225, the init script from the kbd package (an alternative
to the currently standard console-tools package, planned to become the
new default in the mid-term future) had to change its LSB “Provides:”
word from “console-screen” to “kbd”.  /etc/init.d/kdm currently only has a
“Should-Start:” on the former name, which is now exclusive to
console-tools.  To make sure your script is still run after
/etc/init.d/kbd, insserv’s non-standardised “X-Start-Before:” header is
used.  This should be a temporary solution.

Please consider applying the attached patch.  It adds the “kbd” word to
the requirements of your init script, so the list of reverse
dependencies in /etc/init.d/kbd can be eventually removed again.

Cheers,
-- 
Michael Schutte <michi@uiae.at>
diff -Naur kdebase-workspace-4.3.1~/debian/kdm.init kdebase-workspace-4.3.1/debian/kdm.init
--- kdebase-workspace-4.3.1~/debian/kdm.init	2009-09-23 20:59:17.000000000 +0200
+++ kdebase-workspace-4.3.1/debian/kdm.init	2009-09-23 21:00:48.000000000 +0200
@@ -3,8 +3,8 @@
 # Provides:          kdm
 # Required-Start:    $local_fs $remote_fs
 # Required-Stop:     $local_fs $remote_fs
-# Should-Start:      console-screen acpid dbus hal
-# Should-Stop:       console-screen
+# Should-Start:      console-screen kbd acpid dbus hal
+# Should-Stop:       console-screen kbd
 # Default-Start:     2 3 4 5
 # Default-Stop:      0 1 6
 # Short-Description: X display manager for KDE

Attachment: signature.asc
Description: Digital signature


Reply to: