From 96af022af5d587dc3de21334c24760df8117bc26 Mon Sep 17 00:00:00 2001 From: markuskowa Date: Sat, 9 Jun 2018 00:50:28 +0200 Subject: nixos/munge: run munge as user munge instead of root. (#41509) * Added a note in release notes (incompatibilities) * Adapt slurm test * Change user to munge in service.munge --- nixos/tests/slurm.nix | 1 + 1 file changed, 1 insertion(+) (limited to 'nixos/tests/slurm.nix') diff --git a/nixos/tests/slurm.nix b/nixos/tests/slurm.nix index c23d85e40020..ec67ea092874 100644 --- a/nixos/tests/slurm.nix +++ b/nixos/tests/slurm.nix @@ -61,6 +61,7 @@ in { $node->succeed("mkdir /etc/munge"); $node->succeed("echo '${mungekey}' > /etc/munge/munge.key"); $node->succeed("chmod 0400 /etc/munge/munge.key"); + $node->succeed("chown munge:munge /etc/munge/munge.key"); $node->succeed("systemctl restart munged"); } -- cgit 1.4.1