Your message dated Thu, 10 Jul 2008 09:22:45 +0200
with message-id <[EMAIL PROTECTED]>
and subject line Re: erroneous runlevel during boot-up sequence
has caused the Debian Bug report #397900,
regarding erroneous runlevel during boot-up sequence
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)
--
397900: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=397900
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: sysv-rc
Version: 2.86.ds1-33
Severity: normal
File: /usr/sbin/invoke-rc.d
invoke-rc.d determines the runlevel when invoked, using
/sbin/runlevel | sed 's/.*\ //'
first off, I have no idea why you're escaping the space, and second,
unfortunately, the result is not always correct; as a consequence,
invoke-rc.d complains about being invoked during shutdown during
system startup, because I asked my system to restart the ntp service
via invoke-rc.d whenever the network link status changes (via
a little shell script in /etc/network/if-up.d/.
See the following boot.log excerpt, for which I've set -x in
invoke-rc.d:
[...]
Sat Oct 21 10:40:56 2006: Cleaning /tmp...done.
Sat Oct 21 10:41:17 2006: Cleaning /var/run...done.
Sat Oct 21 10:41:18 2006: Cleaning /var/lock...done.
Sat Oct 21 10:41:18 2006: Setting up networking....
Sat Oct 21 10:41:19 2006: Configuring network interfaces...Reloading Squid
configuration files.
Sat Oct 21 10:41:21 2006: done.
[now invoke-rc.d is called:]
Sat Oct 21 10:41:21 2006: + RUNLEVEL=/sbin/runlevel
[...]
Sat Oct 21 10:41:21 2006: + INITSCRIPTID=ntp
[...]
Sat Oct 21 10:41:21 2006: + ACTION=restart
[...]
Sat Oct 21 10:41:21 2006: + /sbin/runlevel
Sat Oct 21 10:41:21 2006: + sed s/.*\ //
Sat Oct 21 10:41:21 2006: + RL=6
Sat Oct 21 10:41:21 2006: + test ! 0
Sat Oct 21 10:41:21 2006: + test x6 = x0
Sat Oct 21 10:41:21 2006: + test x6 = x6
Sat Oct 21 10:41:21 2006: + FORCE=yes
Sat Oct 21 10:41:21 2006: + RETRY=yes
Sat Oct 21 10:41:21 2006: + POLICYHELPER=
Sat Oct 21 10:41:21 2006: + BEQUIET=
Sat Oct 21 10:41:21 2006: + printerror
----------------------------------------------------
Sat Oct 21 10:41:21 2006: + test x = x
Sat Oct 21 10:41:21 2006: + basename /usr/sbin/invoke-rc.d
Sat Oct 21 10:41:21 2006: + echo invoke-rc.d:
----------------------------------------------------
Sat Oct 21 10:41:21 2006: invoke-rc.d:
----------------------------------------------------
Sat Oct 21 10:41:21 2006: + printerror WARNING: invoke-rc.d called during
shutdown sequence
Sat Oct 21 10:41:21 2006: + test x = x
Sat Oct 21 10:41:21 2006: + basename /usr/sbin/invoke-rc.d
Sat Oct 21 10:41:21 2006: + echo invoke-rc.d: WARNING: invoke-rc.d called
during shutdown sequence
Sat Oct 21 10:41:21 2006: invoke-rc.d: WARNING: invoke-rc.d called during
shutdown sequence
Sat Oct 21 10:41:21 2006: + printerror enabling safe mode: initscript policy
layer disabled
Sat Oct 21 10:41:21 2006: + test x = x
Sat Oct 21 10:41:21 2006: + basename /usr/sbin/invoke-rc.d
Sat Oct 21 10:41:21 2006: + echo invoke-rc.d: enabling safe mode: initscript
policy layer disabled
Sat Oct 21 10:41:21 2006: invoke-rc.d: enabling safe mode: initscript policy
layer disabled
Sat Oct 21 10:41:21 2006: + printerror
----------------------------------------------------
[...]
At the time the invoke-rc.d script runs, /sbin/runlevel returns "2 6".
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (750, 'unstable'), (500, 'testing'), (250, 'stable'), (1,
'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/dash
Kernel: Linux 2.6.17-2-686
Locale: LANG=en_GB, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
sysv-rc depends on no packages.
Versions of packages sysv-rc recommends:
ii lsb-base 3.1-17 Linux Standard Base 3.1 init scrip
-- no debconf information
--
.''`. martin f. krafft <[EMAIL PROTECTED]>
: :' : proud Debian developer, author, administrator, and user
`. `'` http://people.debian.org/~madduck - http://debiansystem.info
`- Debian - when you have better things to do than fixing systems
signature.asc
Description: Digital signature (GPG/PGP)
--- End Message ---
--- Begin Message ---
Version: 2.86.ds1-46
also sprach Petter Reinholdtsen <[EMAIL PROTECTED]> [2007.12.26.1724 +0100]:
> I tested a bit, to see if there is a way to detect the runlevel when
> the scripts in /etc/rcS.d/ is being executed, and the closest thing I
> could find is the init argument as reported by ps.
I haven't been able to reproduce this and thus assume it's been
fixed.
--
.''`. martin f. krafft <[EMAIL PROTECTED]>
: :' : proud Debian developer, author, administrator, and user
`. `'` http://people.debian.org/~madduck - http://debiansystem.info
`- Debian - when you have better things to do than fixing systems
a: no.
q: should i include quotations after my reply?
digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/)
--- End Message ---