comments on insserv

Michael Biebl biebl at debian.org
Sat Apr 12 22:29:59 UTC 2008


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?
In addition, it should probably also have a Should-Start: keymap, so it 
is started after /etc/init.d/keymap.sh (same issues basically as with 
console-setup <> console-screen.sh)

Looking more into it: checkroot.sh has a Should-Start: keymap, but 
keymap.sh is started much later than checkroot.sh. Bug?

Michael


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://lists.alioth.debian.org/pipermail/initscripts-ng-devel/attachments/20080413/3986f1a3/attachment.pgp 


More information about the initscripts-ng-devel mailing list