[announce] buildroot-s6 0.2.0

2015-11-12 Thread Eric Le Bihan
Hi! The version 0.2.0 of buildroot-s6, a set of Makefiles to generate embedded Linux systems using s6 as init system, is available [1]. What's new? - update of the s6 stack. - possibility to select "s6 init" as init system in Buildroot configuration menu. - addition of s6-linux-init-skeleton.

Re: [announce] buildroot-s6 0.2.0

2015-11-12 Thread Alex Suykov
Thu, Nov 12, 2015 at 09:29:37PM +0100, Eric Le Bihan wrote: > Comments welcomed! depends on BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL looks really strange, uClibc is typically the least problematic libc. I can definitely build it with a uclibc toolchain, all it needs is -lrt in

Re: s6 hangs at shutdown

2015-11-12 Thread Eric Le Bihan
Hi everybody! On Thu, Nov 12, 2015 at 06:37:00PM +0100, Laurent Bercot wrote: > On 12/11/2015 16:45, Alex Suykov wrote: > > s6-svc: fatal: unable to control /run/service/s6-svscan-log: supervisor > > not listening > >(...) > >By this point ps shows pid 1 as > > > > foreground s6-rc -ad

Re: Safely replacing /etc/s6-rc/compiled

2015-11-12 Thread Laurent Bercot
On 12/11/2015 18:59, Jan Bramkamp wrote: Is there a way to update /etc/s6-rc/compiled without risking a broken system if the power fails midway through the update? The best I can come up with is to use a symlink to a uniquely named compiled directory and a recompile wrapper That is exactly

s6 hangs at shutdown

2015-11-12 Thread Alex Suykov
Hi, I'm trying to reboot s6-based qemu system [1] and it seems to hang at around s6-rc -ad change stage. Could anyone please point out why it can't proceed to reboot, maybe I'm doing something wrong? The system runs with s6-svscan as pid 1. I log in and initiate reboot with s6-svscanctl -i

Safely replacing /etc/s6-rc/compiled

2015-11-12 Thread Jan Bramkamp
Is there a way to update /etc/s6-rc/compiled without risking a broken system if the power fails midway through the update? The best I can come up with is to use a symlink to a uniquely named compiled directory and a recompile wrapper along those lines: cd /etc/s6-rc s6-rc-compile

Re: Safely replacing /etc/s6-rc/compiled

2015-11-12 Thread Steve Litt
On Thu, 12 Nov 2015 18:59:30 +0100 Jan Bramkamp wrote: > Is there a way to update /etc/s6-rc/compiled without risking a broken > system if the power fails midway through the update? Couldn't you just back up the file(s), and if something goes wrong, boot back in with System