Weirdness in gdm shutdown

Ken Moffat zarniwhoop at ntlworld.com
Fri Nov 2 04:52:56 PDT 2007


On Fri, Nov 02, 2007 at 10:01:31PM +1300, Simon Geard wrote:
> On Thu, 2007-11-01 at 21:39 +0000, Ken Moffat wrote:
> >  What happens now is:
> > 1. gdm calls 'shutdown -h now', causing the rc bootscript to be called
> > for runlevel 0.
> > 2. The Knn scripts run - in my case, starting with cups
> > 3. X restarts (in my opinion, this is not the expected behaviour).
> >  (in the log, the kernel agp messages appear)
> > 4. My second Knn script is gdm - at this point X hasn't finished
> > reloading so the test for /var/run/gdm.pid fails and gdm-stop is not
> > called (even if the test was removed, gdm-stop has the same test and
> > there is, as yet, nothing to kill).
> 
> Does this happen if you stop gdm without a system shutdown, e.g
> switching from runlevel 5 to 3, or just running the gdm stop script by
> hand?
> 
 Those both seem fine - running 'telinit 3' dropped me straight back
to the console.  Logged in, remembered to su, 'telinit 5' brought up
gdm.  Running gdm-stop dropped me straight back to the console.

 I'll try reverting gdm when I've got time, just in case.

ĸen
-- 
das eine Mal als Tragödie, das andere Mal als Farce



More information about the blfs-support mailing list