librix (gentoo) runlevel service problems
aluminumsulfate at earthlink.net
aluminumsulfate at earthlink.net
Fri Dec 15 17:52:02 EST 2006
> Gentoo. I have four custom services which i add to default runlevel
> with rc-update. viewing the runlevel information shows them in the
> list. I know the services work because I can start/stop/restart/status
> on them and everything works fine.
>
> Yet, when I reboot the system, even though they still show up as being
> in the default runlevel (and are in the /etc/runlevels/default folder),
> the services don't start. I'm confused! Any ideas?
You say "custom services"... do these scripts use #!/sbin/runscript ?
If you didn't use rc-update, or if /var/lib/init.d is somehow read-only,
your dependencies might not get regenerated for the next time you boot.
Also ensue that you included the proper dependencies in your scripts'
depend() function... they might be trying to run before services on which
they depend are started.
More information about the gnhlug-discuss
mailing list