Skip to content

Commit

Permalink
nixos: make initrd-network-ssh test a channel blocker
Browse files Browse the repository at this point in the history
Last year the initrd sshd broke due to an openssh update which looked
innocent enough (the change that broke the initrd was mentioned in the
changelog, but you'd be forgiven for not making the connection):
- NixOS#323753
- NixOS#323796

Hopefully this won't happen again, the initrd test has been added to
passthru.tests for openssh since:
NixOS#356190

However, it is probably best to also have such an issue block the
channel. The ssh initrd is probably almost exclusively used on
remote machines where it is really bad when the initrd sshd
doesn't come up since it is used to unlock an encrypted volume
or similar, so it'd be stuck in initrd indefinitely. Also,
for such systems it is usually very difficult to impossible
to easily choose a different generation to boot into via
the boot loader.
  • Loading branch information
sternenseemann committed Feb 5, 2025
1 parent 16ed3b8 commit bba6b37
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nixos/release-combined.nix
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ rec {
(onFullSupported "nixos.tests.nfs4.simple")
(onSystems [ "x86_64-linux" ] "nixos.tests.oci-containers.podman")
(onFullSupported "nixos.tests.openssh")
(onFullSupported "nixos.tests.initrd-network-ssh")
(onFullSupported "nixos.tests.pantheon")
(onFullSupported "nixos.tests.php.fpm")
(onFullSupported "nixos.tests.php.httpd")
Expand Down

0 comments on commit bba6b37

Please sign in to comment.