nixos/profiles/bashless: init#435428
Conversation
|
Would there be an option to remove bash from the initrd without removing it from the full system? I think it would be reasonable to want a slimmer / more locked down early boot stage without necessarily removing behavior from the final booted system. |
I think that would be a good idea. Maybe something like |
24d5e16 to
48eacf6
Compare
Ma27
left a comment
There was a problem hiding this comment.
Please retarget to staging-nixos since this causes a rebuild of all nixos tests.
Everything in there will usually be merged with the next kernel update, i.e. ~weekly.
a9c7c1d to
27edaf0
Compare
The default was previously set by the bash module. It's not set directly here (to the compiled in value) of the shadow package to allow disabling the bash module. Note that this doesn't mean that the effective default shell of a normal NixOS installation has changed. It is still bash.
This allows using the test-instrumentation without the backdoor. This is useful for example for bashless tests.
Done. Thanks for pointing it out! |
|
Glad to see this merged! :) |
Concludes #428908
Things done
passthru.tests.nixpkgs-reviewon this PR. See nixpkgs-review usage../result/bin/.Add a 👍 reaction to pull requests you find important.