site  contact  subhomenews

Weird shutdown problem

November 17, 2009 — BarryK
I was testing a T2 build, and when I tried to do a shutdown, it asked if I wanted to save the session, I declined, then X restarted!

Hmmm. There was something different from normal. Usually I unmount all partitions before closing down, but this time I had left one mounted.

The /etc/rc.d/rc.shutdown script attempts to kill any processes running on that partition (then later unmount it). take the example of /dev/sdc3 mounted, this is executed:

fuser -k -m /dev/sdc3

However, there are no processes running on /dev/sdc3, as 'fuser -m /dev/sdc3' confirms.
However that line causes a weird event to occur -- X immediately restarts!

I have put a workaround into rc.shutdown:

http://bkhome.org/fossil/woof.cgi/timeline

However, I really do need to investigate this some more.

Note, you will need to login as 'anonymous' to see the actual changes made to rc.shutdown.

Comments

Mount Issue
Username: newbie
Attempt to mount a UDF CD using mount icon doesn't work. Opening a console and issuing "mount /dev/dvd /somedir" does work. I don't think the '-t udf' parm was required to get it mounted. Does the mount wizard need a review ?


Tags: woof