Your message dated Sun, 13 Sep 2009 13:02:09 +0000
with message-id <[email protected]>
and subject line Bug#511317: fixed in bootchart 0.10~svn407-3.2
has caused the Debian Bug report #511317,
regarding bootchart: /sbin/bootchartd:134: runlevel not always a number / maybe 
empty?
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.)


-- 
511317: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=511317
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: bootchart
Version: 0.10~svn407-3
Severity: minor

during boot I see something very roughly like:
[: 134 integer expression expected

looking at /sbin/bootchartd:
   124  # Wait for the boot process to end.
   125  wait_boot()
   126  {
   127          local runlevel=$( sed -n '/^ *#/d; 
s/.*:\(.*\):initdefault:.*/\1/g; p; q' /etc/inittab )
   128  
   129          # The processes we have to wait for
   130          local exit_proc="gdmgreeter gdm-binary kdm_greet kdm"
   131          # early_login in FC4 starts gdm early, so fall back to mingetty
   132          local early_login="no"
   133          grep -q early_login /proc/cmdline && early_login="yes"
   134          if [ "$runlevel" -eq "2" -o "$runlevel" -eq "3" -o 
"$early_login" = "yes" ]; then
   135                  exit_proc="mingetty agetty rungetty getty fgetty"
   136          fi
   137          while [ -f "$BOOTLOG_LOCK" ]; do
   138                  if [ -n "$( pidof $exit_proc )" ]; then
   139                          # Give the exit process some time to start
   140                          sleep 5
   141                          # Flush the log files
   142                          stop
   143                          return
   144                  fi
   145                  sleep 2
   146          done;
   147  }

I guess for some reason the runlevel variable is empty or NaN.
But it seems to work anyway. Maybe just use something like:
if [ "x$runlevel" = "x2" -o "x$runlevel" = "x3" -o "$early_login" = "yes" ]; 
then
?

Greetings,
Jens

-- System Information:
Debian Release: 5.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages bootchart depends on:
ii  lsb-base                      3.2-20     Linux Standard Base 3.2 init scrip
ii  psmisc                        22.6-1     Utilities that use the proc filesy

Versions of packages bootchart recommends:
ii  acct                       6.4~pre1-6    The GNU Accounting utilities for p
ii  bootchart-view             0.10~svn407-3 Boot process performance analyser 

bootchart suggests no packages.

-- no debconf information



--- End Message ---
--- Begin Message ---
Source: bootchart
Source-Version: 0.10~svn407-3.2

We believe that the bug you reported is fixed in the latest version of
bootchart, which is due to be installed in the Debian FTP archive:

bootchart-view_0.10~svn407-3.2_all.deb
  to pool/main/b/bootchart/bootchart-view_0.10~svn407-3.2_all.deb
bootchart_0.10~svn407-3.2.diff.gz
  to pool/main/b/bootchart/bootchart_0.10~svn407-3.2.diff.gz
bootchart_0.10~svn407-3.2.dsc
  to pool/main/b/bootchart/bootchart_0.10~svn407-3.2.dsc
bootchart_0.10~svn407-3.2_all.deb
  to pool/main/b/bootchart/bootchart_0.10~svn407-3.2_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Petter Reinholdtsen <[email protected]> (supplier of updated bootchart package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Sun, 13 Sep 2009 14:40:29 +0200
Source: bootchart
Binary: bootchart bootchart-view
Architecture: source all
Version: 0.10~svn407-3.2
Distribution: unstable
Urgency: low
Maintainer: Jörg Sommer <[email protected]>
Changed-By: Petter Reinholdtsen <[email protected]>
Description: 
 bootchart  - Boot process performance analyser
 bootchart-view - Boot process performance analyser (visualisation)
Closes: 511317 543280
Changes: 
 bootchart (0.10~svn407-3.2) unstable; urgency=low
 .
   * Non-maintainer upload to fix release goal.
   * Drop init.d script dependency on rmnologin.  It create a dependency
     loop (Closes: #543280).
   * Updated fix-inittab.dpatch and made runlevel detection code in
     /sbin/bootlogd more robust (Closes: #511317)
Checksums-Sha1: 
 256017f83eb6e2d42381ae1d9415d42e70bec4f0 1270 bootchart_0.10~svn407-3.2.dsc
 06d1001919215da82b8a2c56a95d889bb2268062 14834 
bootchart_0.10~svn407-3.2.diff.gz
 3e554fc6c78c09ead6d2ee9338eb0ca5955adabd 28714 
bootchart_0.10~svn407-3.2_all.deb
 d97fc3983d13726626ba13f869f444ac880fc25b 198364 
bootchart-view_0.10~svn407-3.2_all.deb
Checksums-Sha256: 
 2b0a7a8dae96515e7ea069aebdf375ce0e977d414ed77c936962451078824234 1270 
bootchart_0.10~svn407-3.2.dsc
 f33e423c021a3d6f129155f4390ddcba5eb3dfdee969a1cbce1578b0cb616d14 14834 
bootchart_0.10~svn407-3.2.diff.gz
 d34403805ac8427143ee2c09d2498d79048bc3271f941a7d47134b7c4d9947dd 28714 
bootchart_0.10~svn407-3.2_all.deb
 141467ef08bb8441263d419bec6f16e60f9c8274925f625f2593f6de4a2a3c7c 198364 
bootchart-view_0.10~svn407-3.2_all.deb
Files: 
 b10409f4f00c6e73d07f9bb45889154a 1270 admin optional 
bootchart_0.10~svn407-3.2.dsc
 d3ce6ebdb15421f7c96bfedcb2bccfc9 14834 admin optional 
bootchart_0.10~svn407-3.2.diff.gz
 7359ee4b8817a8e812470db2bccdfa56 28714 admin optional 
bootchart_0.10~svn407-3.2_all.deb
 d9228403d8015a5298bdd6b56fa9b19a 198364 admin optional 
bootchart-view_0.10~svn407-3.2_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iD8DBQFKrOkE20zMSyow1ykRAnW6AJ0TRAOqIoRmuOXoulgASpgGdPdQSwCgq3dH
bqWo/jphwOdhZCY7KlYOeZE=
=hwlF
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to