Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting runlevel at kernel cmdline #261

Closed
troglobit opened this issue May 6, 2022 Discussed in #259 · 0 comments
Closed

Setting runlevel at kernel cmdline #261

troglobit opened this issue May 6, 2022 Discussed in #259 · 0 comments
Assignees
Milestone

Comments

@troglobit
Copy link
Owner

Discussed in #259

Originally posted by hongkongkiwi May 6, 2022
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.

@troglobit troglobit self-assigned this May 8, 2022
@troglobit troglobit added this to the 4.3 milestone May 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant