about summary refs log tree commit diff
path: root/nixos/tests/slurm.nix
diff options
context:
space:
mode:
authormarkuskowa <markus.kowalewski@gmail.com>2018-06-09 00:50:28 +0200
committerxeji <36407913+xeji@users.noreply.github.com>2018-06-09 00:50:28 +0200
commit96af022af5d587dc3de21334c24760df8117bc26 (patch)
tree00dfaec8d7603c91d3d7e4a92b394347a6ace12c /nixos/tests/slurm.nix
parentb22c1b79943c24bb71859ac29194877a471a5160 (diff)
downloadnixlib-96af022af5d587dc3de21334c24760df8117bc26.tar
nixlib-96af022af5d587dc3de21334c24760df8117bc26.tar.gz
nixlib-96af022af5d587dc3de21334c24760df8117bc26.tar.bz2
nixlib-96af022af5d587dc3de21334c24760df8117bc26.tar.lz
nixlib-96af022af5d587dc3de21334c24760df8117bc26.tar.xz
nixlib-96af022af5d587dc3de21334c24760df8117bc26.tar.zst
nixlib-96af022af5d587dc3de21334c24760df8117bc26.zip
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
Diffstat (limited to 'nixos/tests/slurm.nix')
-rw-r--r--nixos/tests/slurm.nix1
1 files changed, 1 insertions, 0 deletions
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");
   }