Package: bootchart
Version: 0.9-4
Severity: normal

/sbin/bootchartd contains the following lines in the wait_boot()
function:

        # The processes we have to wait for
        local exit_proc="gdmgreeter gdm-binary kdm_greet kdm"
        # early_login in FC4 starts gdm early, so fall back to mingetty
        local early_login="no"
        grep -q early_login /proc/cmdline && early_login="yes"
       if [ "$runlevel" -eq "2" -o "$runlevel" -eq "3" -o "$early_login" = 
"yes" ]; then
               exit_proc="mingetty agetty rungetty getty"
       fi

Though, in Debian the display manager/X is started by default in runlevel 2.
So we wrongly exit to early when using a display manager. Please also
keep in mind, that gdm is by default run at S21 and Debian doesn't have
a early_login variable.

And indeed, I don't get the full boot process listed in the final bootchart.png.

The cleanest solution imo would be to add a stop script
"stop-bootchartd" which runs at /etc/rc(2345)/S99stop-bootchartd" and
which stops bootchartd instead of grepping for running processes.

Cheers,
Michael


-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (300, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.21-rc4
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)

bootchart depends on no packages.

Versions of packages bootchart recommends:
pn  acct                          <none>     (no description available)
ii  bootchart-view                0.9-4      Boot process performance analyser 

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to