Comment 4 for bug 35182

Revision history for this message
Jan Mynarik (jan-mynarik) wrote :

> /sbin/usplash_down
> /sbin/usplash_write "System is shutting down, please wait..."
> /sbin/shutdown -h now
>
> shut your system down with usplash okay?

Unfortunately it doesn't. It switches usplash on and writes "System is
shutting down ...." but then it blinks (probably during the stop of gdm)
and continues without usplash (even without text console shutdown, just
console login prompt is shown). Probably bug in gdm (in ubuntu).

> >Ideally the hal-system-power-shutdown script should try to shutdown
> >computer via gdm
>
> Nahh, this is the wrong way round, gdm should ask hal that it wants to
> shutdown, as hal is not aware of anything "per-session" as it's "per-
> system". The hal-system-power-shutdown script is to abstract how to do
> the actual shutdown, with distro tweaks (like the usplash thing) and
> where files are not in standard locations between distros.
>
> This abstraction allows gdm/g-p-m/whatever to call the Shutdown() dbus
> methods without worrying about "how" the method is performed, and any
> tweaks only have to be done in one place (e.g. gdm, kdm, etc).

I see, so current gdm behaviour is wrong (?). gdm should use hal to
reboot/shutdown.

Probably, this problem should be discussed with Ubuntu's gdm maintainer.

Pogo (that's me - Jan Mynarik :-))