[Pkg-sysvinit-devel] Bug#220025: Will fix

Greg Wooledge greg at wooledge.org
Fri Dec 2 23:53:17 UTC 2005


Thomas Hood (jdthood at yahoo.co.uk) wrote:

> I propose to fix this bug by adding a script at S:S99 that stops bootlogd
> if the system is being booted with the "single" parameter.  Anyone see any
> problem with this idea?

There are other "aliases" for single, such as "1".  Some people might
come up in single user mode using one of those alternative boot parameters.
I don't know whether there's an exhaustive list of all of them anywhere,
either.

I suggest using the runlevel(8) command instead, assuming that it returns
reliable information.  The man page says it's safe to use in rc scripts, but
I haven't tried it myself.

-- 
Greg Wooledge                  |   "Truth belongs to everybody."
greg at wooledge.org              |    - The Red Hot Chili Peppers
http://wooledge.org/~greg/     |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-sysvinit-devel/attachments/20051202/5ae231b4/attachment.pgp


More information about the Pkg-sysvinit-devel mailing list