Skip to content

fix(enter): inherit parent PID namespace#152

Merged
water-sucks merged 1 commit intonix-community:mainfrom
Sporif:enter-fix-pid-namespace
Jan 22, 2026
Merged

fix(enter): inherit parent PID namespace#152
water-sucks merged 1 commit intonix-community:mainfrom
Sporif:enter-fix-pid-namespace

Conversation

@Sporif
Copy link
Copy Markdown
Collaborator

@Sporif Sporif commented Jan 22, 2026

Original commit: NixOS/nixpkgs@798aa80

This is to stop systemd detecting the chroot as a container, and thus inhibiting bootctl from populating EFI variables.

It can be tested with nixos enter -c systemd-detect-virt, which outputs kvm with the fix, and container-other without it.

@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Jan 22, 2026

Important

Review skipped

Auto reviews are disabled on this repository.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown
Collaborator

@water-sucks water-sucks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! It is hard to keep feature parity with nixpkgs since I'm pretty busy these days, so this is well appreciated.

@water-sucks water-sucks merged commit e5eabab into nix-community:main Jan 22, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants