Re: s6-rc shutdown timing issue

2015-09-13 Thread Laurent Bercot
On 13/09/2015 09:08, Colin Booth wrote: I've been digging into managing a system completely under s6 and I can't seem to find the right time to run `s6-rc -da change'. Run it before sending s6-svscan the shutdown/reboot/halt commands and can end up with a situation where your read/write drive

Re: s6-rc shutdown timing issue

2015-09-13 Thread Laurent Bercot
On 13/09/2015 20:25, Colin Booth wrote: My current issue is that I'm initially remounting my root filesystem as r/w as one of the first steps for s6-rc, which means that if I'm doing everything correctly, s6-rc attempts to remount root as read-only as part of its shutdown. Yeah, indeed, that

Re: s6-rc shutdown timing issue

2015-09-13 Thread Colin Booth
On Sun, Sep 13, 2015 at 2:34 PM, Laurent Bercot wrote: > > I'm afraid there's no real solution to the stragglers problem, and the > only safe approach is to keep everything mounted all the time and only > perform the unmounts in stage 3 after everything else has been