Weird shutdown problem

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.


Posted on 17 Nov 2009, 18:28


Comments:

Posted on 18 Nov 2009, 8:20 by newbie
Mount Issue
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 ?


Posted on 18 Nov 2009, 8:23 by newbie
Mount Issue
Oops, meant UDF DVD.