Setting runlevel at kernel cmdline vs config #259
Unanswered
hongkongkiwi
asked this question in
Q&A
Replies: 1 comment 3 replies
-
I see there is a It seems like the solution is to remove runlevel from my config and set the default to 3 via this compile time option, then the cmdline should override. This was a bit confusing as I expected kernel to always take priority if set. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm wondering the read order of runlevel in finit (cmdline/config).
Right now, I have runlevel 3 set in my /etc/finit.conf config via
runlevel 3
. This makes sense as a default.If the runlevel is set via the kernel commandline I would like to override the runlevel set in the config (because obviously we are specifically asking for it to be something). That's how I expected it to work but it seems to not be doing that.
Is this a bug or by design?
e.g. here's my kernel cmdline:
quiet 9 -- finit.fstab=/etc/myfstab
So according to this I should expect finit will launch at runlevel 9 , but after reading the finit.conf it changes it to runlevel 3.
Beta Was this translation helpful? Give feedback.
All reactions