[Pkg-sysvinit-devel] Bug#541196: WARNING: invoke-rc.d called during shutdown sequence
Goswin von Brederlow
goswin-v-b at web.de
Wed Aug 12 11:49:18 UTC 2009
Package: sysv-rc
Version: 2.86.ds1-62
Severity: normal
File: /usr/sbin/invoke-rc.d
Hi,
under Lenny I get a warning from invoke-rc.d during boot when dhcp runs:
invoke-rc.d: ----------------------------------------------------
invoke-rc.d: WARNING: invoke-rc.d called during shutdown sequence
invoke-rc.d: enabling safe mode: initscript policy layer disabled
invoke-rc.d: ----------------------------------------------------
The runlevel check returns 0, which I believe is correct as the system
is still in rcS.d. The real problem I think comes from the check for
"init boot". I added a 'ps -fp 1' command at the place where it
checks the runlevel and got the following:
+ ps -fp 1
UID PID PPID C STIME TTY TIME CMD
root 1 0 29 13:26 ? 00:00:07 init [#]
Looks like init sets a different command than what invoke-rc.d
expects. After the boot has finished I get:
UID PID PPID C STIME TTY TIME CMD
root 1 0 0 11:26 ? 00:00:07 init [2]
MfG
Goswin
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (499, 'unstable'), (2, 'experimental'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.26-xen-1 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash
Versions of packages sysv-rc depends on:
ii sysvinit-utils 2.86.ds1-62 System-V-like utilities
Versions of packages sysv-rc recommends:
ii lsb-base 3.2-22 Linux Standard Base 3.2 init scrip
Versions of packages sysv-rc suggests:
pn bum <none> (no description available)
pn sysv-rc-conf <none> (no description available)
-- no debconf information
More information about the Pkg-sysvinit-devel
mailing list