Re: Booting, s6-rc services and controlling terminal

2016-04-02 Thread Guillermo
Some more background on this. 2016-04-02 14:42 GMT-03:00 Laurent Bercot: > > I have no idea what the TIOCSCTTY is for, though. Apparently, on Linux and the BSDs, if 'fd' is an open file descriptor to a terminal device, ioctl(fd, TIOCSCTTY, ...) (two or three arguments) sets it as the

Re: Booting, s6-rc services and controlling terminal

2016-04-02 Thread Laurent Bercot
Consider a machine with an s6-linux-init-maker-style setup, that also uses s6-rc in the stage2 and stage2_finish scripts. Longruns managed by s6-rc without a 'producer-for' file in their definition directory have their stdout and stderr redirected to the catch-all logger, and so do oneshots via

s6-rc-init segmentation fault with existing, empty live dir

2016-04-02 Thread Patrick Mahoney
Given an empty src dir, and a dest dir created by `s6-rc-compile dest src` (so it has service dirs for only s6rc-fdholder and s6rc-oneshot-runner): $ mkdir scandir # same error with or without s6-svscan running $ mkdir live $ s6-rc-init -c $PWD/dest -l $PWD/live $PWD/scandir

Re: target mismatch building on different versions of darwin

2016-04-02 Thread Patrick Mahoney
On 2016-02-28 10:54 am, Laurent Bercot wrote: On 28/02/2016 17:21, Guillermo wrote: ./configure --target=x86_64-apple-darwin13.4.0 --with-sysdeps=whatever/skalibs/sysdeps That would work too, but then the same target should be given to compile every package that uses skalibs. It's as