Hello,
I have a setup in which the slim display manager logs in automatically
and then starts a program (thanks to the .xinitrc file). This program
needs dbus to work correctly and at the moment it crashes every time
it's launched because dbus is not yet started (slim starts in runlevel 3).
I was told about using insserv overrides but I can't find any good
documentation on this, even the manpage is quite vague about the format
the override file should have. So I put this in a
/etc/insserv/overrides/slim file:
#!/bin/sh
### BEGIN INIT INFO
# Provides: slim
# Required-Start: $local_fs $remote_fs dbus
# Required-Stop: $local_fs $remote_fs
# Should-Start: xfs $named slapd
# Should-Stop: xfs $named slapd
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Start/stop the SLiM daemon.
### END INIT INFO
I'm not sure if I should repeat the whole LSB headers or only the one I
want to change (in this case Required-Start). In all cases, this doesn't
work since dbus is still not started when the program that depends on it
starts. Am I missing something? Should I run an insserv command to take
the override file into account? How can I check that the override file
is used?
Thanks,
Sylvain
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4f2b7d35.8060...@gmail.com