Re: s6-linux-init and ttys in lxc containers

2022-03-08 Thread Laurent Bercot
s6-linux-init: warning: unable to ttyname stdout: No such device I suspect this is due to the mechanism described on https://github.com/lxc/lxd/issues/1724#issuecomment-194412831, although I’m not using LXD, only lxc (which does not have a daemon running as root). You're right, it's the

s6-linux-init and ttys in lxc containers

2022-03-08 Thread Hoël Bézier
Hi, I’m using s6 and s6-linux-init inside lxc containers. My /sbin/init (created with s6-linux-init-maker) contains the following: ``` #!/bin/execlineb -S0 s6-linux-init -c "/etc/s6-linux-init/current" -m 0022 -p "/usr/bin:/bin" -C -- "$@" ``` Right after starting my container with