Hello Ziga,

I have another bug and would like to hear what you think about it:

Michael Biebl schrieb am Fri 23. Mar, 00:55 (+0100):
> 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.

Do you think it's possible that wait_boot() checks if
/var/run/bootchartd.pid becomes writable and then writes its PID there.
Then a init script can send a signal to it after the boot process came to
end.

Schöne Grüße, Jörg.
-- 
Wir leben zwar unter dem gleichen Himmel,
müssen aber nicht zwangsläufig den gleichen Horizont haben.

Attachment: pgpHlAmUTDPp1.pgp
Description: PGP signature

Reply via email to