Unverified Commit 90bb2053 authored by Michael Franzl's avatar Michael Franzl
Browse files

Add regression test for libvirt NSS modules

This is a regression test for the implementation in
412543dd which was fixed in #322022.
parent c2586ca2
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -20,6 +20,11 @@ import ./make-test-python.nix ({ pkgs, ... }: {
        networking.hostId = "deadbeef"; # needed for zfs
        security.polkit.enable = true;
        environment.systemPackages = with pkgs; [ virt-manager ];

        # This adds `resolve` to the `hosts` line of /etc/nsswitch.conf; NSS modules placed after it
        # will not be consulted. Therefore this tests that the libvirtd NSS modules will be
        # be placed early enough for name resolution to work.
        services.resolved.enable = true;
      };
  };