Michael Biebl wrote:
Michael Biebl wrote:
Petter Reinholdtsen wrote:

3.) console-setup is not started after console-screen.sh anymore.
I installed console-setup to configure my console font and keyboard
layout. In the old init sequence, console-screen.sh was run at S48,
console-setup S49.
Now console-setup is S19, console-screen.sh S20, so my changes get reset
by console-screen.sh again.
=> I'd say console-setup should be fixed to run after console-screen.sh
Again, I'll leave it up to you to file a bug report and request the
correct action (as I don't really know what's the right thing to do).
Sound like a dependency bug.  Not sure how it is best solve.  Two
options are to let console-setup depend on console-screen.sh, or to
let console-screen.sh reverse depend on console-setup.  I do not know
the packages, so I am not sure which of these are "best". :)
You mean a
   Should-Start: console-screen.sh
in console-setup or alternatively a
   X-Start-Before: console-setup
in console-screen.sh?

Does insserv support X-Start-Before?

Found more issues:
/etc/init.d/keyboard-setup
# Provides:          keyboard-setup
# Required-Start:    mountkernfs udev
# Required-Stop:
# X-Start-Before:    checkroot
                      ^^^^^^^^^
It is not started before checkroot though! Does that mean X-Start-Before is not supported?

Please forget what I said. keyboard-setup *is* run before checkroot.sh. I probably confused it with console-setup...

I made a few modifications (attached as console.patch), as I think this makes the boot sequence more correct. Feel free to use it.

Cheers,
Michael

--
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
diff --git a/init.d/console-screen.sh b/init.d/console-screen.sh
index dc23d45..be4cb35 100755
--- a/init.d/console-screen.sh
+++ b/init.d/console-screen.sh
@@ -2,9 +2,9 @@
 ### BEGIN INIT INFO
 # Provides:          console-screen
 # Required-Start:    $local_fs $remote_fs
-# Required-Stop:     $local_fs $remote_fs
-# Default-Start:     S 2 3 4 5
-# Default-Stop:      0 1 6
+# Required-Stop:     
+# Default-Start:     S
+# Default-Stop:      
 # Should-Start:      $syslog
 # Should-Stop:	
 # Description: Set console screen modes and fonts
diff --git a/init.d/console-setup b/init.d/console-setup
index a26e143..b5c7a9c 100755
--- a/init.d/console-setup
+++ b/init.d/console-setup
@@ -3,6 +3,7 @@
 # Provides:          console-setup
 # Required-Start:    $remote_fs
 # Required-Stop:
+# Should-Start:      console-screen
 # Default-Start:     S
 # Default-Stop:
 # Short-Description: Set console font and keymap
diff --git a/init.d/keyboard-setup b/init.d/keyboard-setup
index 4181802..d8fb68e 100755
--- a/init.d/keyboard-setup
+++ b/init.d/keyboard-setup
@@ -3,6 +3,7 @@
 # Provides:          keyboard-setup
 # Required-Start:    mountkernfs udev
 # Required-Stop:
+# Should-Start:      keymap
 # X-Start-Before:    checkroot
 # Default-Start:     S
 # Default-Stop:

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
initscripts-ng-devel mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/initscripts-ng-devel

Reply via email to