On Thu, 13 Oct 2005, Dan Hatton wrote:
On Thu, 13 Oct 2005, Tim Green wrote:
Another strategy is to re-mount root as read-only before the end.
Ah, yes; this is what my system was trying to do, but unfortunately never got round to it, because the relevant script (S60umountroot) came after K99reboot or K99halt (neither of which unmounts anything) in the run_parts sequence; S60umountroot also has all its action in its "stop" subroutine, which presumably means that, whatever the run order, it wouldn't have worked while it was named with an "S." Renaming the symlink from "S60umountroot" to "K98umountroot" got things working right again.
However, I'm perturbed to find that an apt-get update/apt-get install yesterday deleted my nice shiny new symlink, leaving my system once again unable to shut down properly. I've re-created the symlink manually, but would be interested to know if anyone can think of a more permanent solution.