Handling environment in s6

2020-11-10 Thread billa chaitanya
Hi team, Is there anything in s6 equivalent to below of systemd? /bin/systemctl set-environment SERVICEFILE=$SERVICEFILE Thanks, Chaitanya

Re: Handling environment in s6

2020-11-10 Thread Laurent Bercot
Is there anything in s6 equivalent to below of systemd? /bin/systemctl set-environment SERVICEFILE=$SERVICEFILE There is not. The process supervisor itself (s6-supervise) and the service scanner (s6-svscan) do not use the environment. Services can define their own environment in their run

Missing "$@" at the end of the s6-linux-init invocation in basedir/bin/init script

2020-11-10 Thread Muhammad Mahendra Subrata
Hello everyone, I don't know if this problem is specific to me or I just missed some steps, after running s6-linux-init-maker with below invocation: s6-linux-init-maker -c /etc/s6/init/current -u adm -G 'agetty 38400 tty12 linux' -1 -p '/usr/bin:/usr/sbin:/bin:/sbin' -t 2 -D 3

Re: Missing "$@" at the end of the s6-linux-init invocation in basedir/bin/init script

2020-11-10 Thread Laurent Bercot
So, is that "$@" supposed to be there or not? It absolutely is! You found a bug. Thanks for the report! Now fixed in release 1.0.5.1, which I cut immediately because it is pretty critical. -- Laurent