> OK you told me to instrument rc to see what's wrong
> when I noticed that rc requires that /var/lock/subsys/battery
> be present before it runs a K script. I.E. the initscript must
> manage this file. This seems silly to me (rc should manage it itself)?
There is a lot of sillyness in the SysVinit system. It's way
too fragile. Things like these subsys lock files, and the way
it tries to determine which process should be killed at "stop"
time.
I believe that one of the motivations behind the move to things
like the service and chkconfig commands in the LSB is to allow
migration to a more sophisticated system in future. A system
that could allow dependencies to be properly expressed (rather
than use numbers to express the init order) and that could allow
parallel startup of unrelated services (kind of like the good
intentions behind the Windows NT services database - but not
like the implementation).
Later,
Kenn
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!