[Splashy-devel] Bug#421441: splashy: splashy->gdm hangs system
randomly
Lorenzo Martignoni
lorenzo.martignoni at poste.it
Sat May 5 18:11:29 UTC 2007
Geoffrey L. Brimhall wrote:
> Package: splashy
> Version: 0.3.2
> Severity: important
>
> There is a race condition between when splashy ends and gdm starts that
> happens on my system about 1 in 3 boots, when it happens the splashy
> screen is just "hangs" and console switching to X doesn't work. Think it
> may be related to my system being SMP (dual core ).
>
> This bug is really identical to #350179 - so either close this bug or
> re-open that one !
>
> By updating the gdm and splashy scripts I got rid of the race condition,
> here's the fix ( note the fix really requires updating all display
> manager scripts to be aware if a boot gui is being used, if so shut it
> down ):
>
> REMOVE from splashy script in the "start" sequence:
>
> else
> log_daemon_msg "Stopping $DESC" $NAME
> /sbin/splashy_update exit
> log_end_msg $?
> # wait until splashy exits before changing tty's
> while `pidof splashy > /dev/null`; do
> sleep 0.2
> done
> # do some magic with the TTYs
> if test -z "$CHVT_TTY"; then
> CHVT_TTY=1
> fi
> # detect X, if not, go to CHVT_TTY
> X11_RUNNING=1
> pidof X > /dev/null && X11_RUNNING=1
> if [ $X11_RUNNING -eq 1 ]; then
> splashy_chvt 7
> else
> splashy_chvt $CHVT_TTY
> fi
>
> ADD to gdm script the above functionality, before the "start_daemon"
> command:
>
> # Disable splashy if running
> if `pidof splashy > /dev/null`; then
> log_daemon_msg "Stopping $DESC" $NAME
> /sbin/splashy_update exit
> /sbin/splashy_chvt 7
> log_end_msg $?
> fi
I have the same problem on my laptop (splashy 0.3.2 + xdm 1:1.1.4-3):
the machine hangs on the splash screen.
The workaround suggested seems to solve the startup problem.
-- lorenzo
More information about the Splashy-devel
mailing list