On Tue, 15 Jan 2013 21:47:46 +0700 Pandu Poluan <pa...@poluan.info> wrote:
> On Jan 15, 2013 7:59 PM, "Alan McKinnon" <alan.mckin...@gmail.com> > wrote: > > > > On Tue, 15 Jan 2013 11:09:56 +0000 > > Neil Bothwick <n...@digimed.co.uk> wrote: > > > > > On Tue, 15 Jan 2013 11:57:21 +0200, Alan McKinnon wrote: > > > > > > > On the rare occasion when I reboot or shut this laptop down, it > > > > continually and consistently gets stuck on one of the final > > > > steps, to umount /home > > > > > > If you logout as your user(s) so only root is logged in, does lsof > > > show any hits for /home? > > > > Only 1 hit - a background ssh process that sets up a bunch of > > tunnels and port forwards so I can get into the corporate network > > for anywhere. [snip] > A bit roundabout, but you can also try making a 'pseudo-service'. > Make it 'depend' on a late-stage service so it starts last, and shuts > down early. The stop() part of the pseudo-service should perform an > lsof >> a file (in a directory still available during the last throes > of OpenRC like, say, /etc). > > I hope I'm making sense... Makes perfect sense, a good idea actually :-) Easiest would be to echo lsof to the console, I only need it if umount hangs and it will be there and visible. If umount worked it won't be visible and not needed either -- Alan McKinnon alan.mckin...@gmail.com