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

From: Muhammad Mahendra Subrata <mumahendras3_at_gmail.com>
Date: Wed, 11 Nov 2020 00:59:38 +0700

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

I got the generated /etc/s6/init/current/bin/init script like below:

#!/bin/execlineb -S0

s6-linux-init -c "/etc/s6/init/current" -m 0022 -p
"/usr/bin:/usr/sbin:/bin:/sbin" -D "3"

Using that generated script, I tried to boot my system by adding "4" in
kernel command line hoping that it will boot to that runlevel instead of
the default one (in this case it's 3) but it still booted to runlevel 3.
I then looked at other scripts inside /etc/s6/init/current/bin and all
of them had "$_at_" at the end of their respective s6-linux-init-*
invocation. So I tried adding "$_at_" at the end of s6-linux-init
invocation in /etc/s6/init/current/bin/init and tried booting to
runlevel 4 again using kernel command line option as before and it
booted successfully to runlevel 4.

So, is that "$_at_" supposed to be there or not?

Received on Tue Nov 10 2020 - 17:59:38 UTC

This archive was generated by hypermail 2.3.0 : Sun May 09 2021 - 19:44:19 UTC