Repository navigation
smokey: fix login issues due to missing shells - #474
Merged
Merged
Conversation
some users are unable to login on smokey: - activation script creating shell symlinks in /bin and /usr/bin is run before those directories are created, thus failing to create symlinks. - user tries to login, /usr/bin/zsh (or whatever shell) does not exist, login fails. initrd-nixos-activation-start[737]: ln: failed to create symbolic link '/usr/bin/': No such file or directory initrd-nixos-activation-start[589]: Activation script snippet 'shells' failed (1)
24apricots
enabled auto-merge
October 15, 2026 06:32
Member
Author
|
tested |
kafu-densha
approved these changes
Oct 15, 2026
dotlambda
reviewed
Oct 15, 2026
dotlambda
left a comment
Member
There was a problem hiding this comment.
Why not use deps = [ "binsh" "usrbinenv" ]?
Member
Author
|
i thought about this but was thinking it might be good to not overwrite things accidentally. but we already check for the shell to make sure it doesnt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
some users are unable to login on smokey:
initrd-nixos-activation-start[737]: ln: failed to create symbolic link '/usr/bin/': No such file or directory
initrd-nixos-activation-start[589]: Activation script snippet 'shells' failed (1)