about summary refs log tree commit diff
path: root/nixos/tests/sourcehut
diff options
context:
space:
mode:
authorTomas Antonio Lopez <entropy.overseer@entropic.network>2024-01-04 00:00:32 +0100
committerTomas Antonio Lopez <entropy.overseer@entropic.network>2024-01-04 00:00:32 +0100
commit147cc4061eed12dc418ec753def00a1f9544fc23 (patch)
tree57c36e54f4c0144ff0f39aafd74f0b6479dcee8b /nixos/tests/sourcehut
parent195cbfc0124ea3d5e4b6469cdd3efb42840d32eb (diff)
nixos/sourcehut: ensure that the repos directory exists
Fixes a bug where, if the OpenSSH server starts before the first initialization
of the git service, the SSH service fails to find the corresponding bind mount
and terminates with a 226/NAMESPACE error.
Diffstat (limited to 'nixos/tests/sourcehut')
-rw-r--r--nixos/tests/sourcehut/git.nix2
1 files changed, 0 insertions, 2 deletions
diff --git a/nixos/tests/sourcehut/git.nix b/nixos/tests/sourcehut/git.nix
index cb3ca57ddf628..ed184d5d55180 100644
--- a/nixos/tests/sourcehut/git.nix
+++ b/nixos/tests/sourcehut/git.nix
@@ -49,8 +49,6 @@ in
     ''
       start_all()
       machine.wait_for_unit("multi-user.target")
-      # For some reason, OpenSSH fails to start on boot with code 226/NAMESPACE
-      machine.systemctl("start sshd.service")
       machine.wait_for_unit("sshd.service")
 
       with subtest("Check whether meta comes up"):