about summary refs log tree commit diff
path: root/nixos/doc/manual
diff options
context:
space:
mode:
authorMarkus Kowalewski <markus.kowalewski@gmail.com>2018-10-23 23:43:53 +0200
committerMarkus Kowalewski <markus.kowalewski@gmail.com>2018-10-30 19:50:46 +0100
commit111d4eb090cdd71b227701842dc67f3bc6dc5f44 (patch)
tree0e793c9d8438b0ca8d8c09078650b2ac42b5619f /nixos/doc/manual
parentf129ed25a04090e5427efd3200101ca47c1b002d (diff)
downloadnixlib-111d4eb090cdd71b227701842dc67f3bc6dc5f44.tar
nixlib-111d4eb090cdd71b227701842dc67f3bc6dc5f44.tar.gz
nixlib-111d4eb090cdd71b227701842dc67f3bc6dc5f44.tar.bz2
nixlib-111d4eb090cdd71b227701842dc67f3bc6dc5f44.tar.lz
nixlib-111d4eb090cdd71b227701842dc67f3bc6dc5f44.tar.xz
nixlib-111d4eb090cdd71b227701842dc67f3bc6dc5f44.tar.zst
nixlib-111d4eb090cdd71b227701842dc67f3bc6dc5f44.zip
nixos/slurm: run ctld as user and fix spool dir
* run as user 'slurm' per default instead of root
* add user/group slurm to ids.nix
* fix default location for the state dir of slurmctld:
  (/var/spool -> /var/spool/slurmctld)
* Update release notes with the above changes
Diffstat (limited to 'nixos/doc/manual')
-rw-r--r--nixos/doc/manual/release-notes/rl-1903.xml14
1 files changed, 14 insertions, 0 deletions
diff --git a/nixos/doc/manual/release-notes/rl-1903.xml b/nixos/doc/manual/release-notes/rl-1903.xml
index 9c07184613e4..4f3e632c3777 100644
--- a/nixos/doc/manual/release-notes/rl-1903.xml
+++ b/nixos/doc/manual/release-notes/rl-1903.xml
@@ -152,6 +152,20 @@
      has been renamed to <varname>postgresql_9_6</varname>.
     </para>
    </listitem>
+   <listitem>
+    <para>
+      Slurm introduces the new option
+      <literal>services.slurm.stateSaveLocation</literal>,
+      which is now set to <literal>/var/spool/slurm</literal> by default
+      (instead of <literal>/var/spool</literal>).
+      Make sure to move all files to the new directory or to set the option accordingly.
+    </para>
+    <para>
+      The slurmctld now runs as user <literal>slurm</literal> instead of <literal>root</literal>.
+      If you want to keep slurmctld running as <literal>root</literal>, set
+      <literal>services.slurm.user = root</literal>.
+    </para>
+   </listitem>
   </itemizedlist>
  </section>