From: Muhammad Mahendra Subrata <mumahendras3@gmail.com>
To: supervision@list.skarnet.org
Subject: Missing "$@" at the end of the s6-linux-init invocation in basedir/bin/init script
Date: Wed, 11 Nov 2020 00:59:38 +0700 [thread overview]
Message-ID: <edcceebf-1cc6-8051-b336-8f7fafafdf6e@gmail.com> (raw)
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
/etc/s6/init/current
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 the end of their respective s6-linux-init-*
invocation. So I tried adding "$@" 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 "$@" supposed to be there or not?
Thanks!
next reply other threads:[~2020-11-10 17:59 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-10 17:59 Muhammad Mahendra Subrata [this message]
2020-11-10 23:08 ` Laurent Bercot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=edcceebf-1cc6-8051-b336-8f7fafafdf6e@gmail.com \
--to=mumahendras3@gmail.com \
--cc=supervision@list.skarnet.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).