guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

06/07: gnu: slurm: Configure with a "standard" syslogdir.


From: guix-commits
Subject: 06/07: gnu: slurm: Configure with a "standard" syslogdir.
Date: Tue, 16 Apr 2019 11:33:16 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit e31ece97517312e9b054767c18c6f38d8d5d8618
Author: Ludovic Courtès <address@hidden>
Date:   Tue Apr 16 17:27:18 2019 +0200

    gnu: slurm: Configure with a "standard" syslogdir.
    
    Until now, we were using syslogdir=$prefix/etc, which did not exist.
    Thus, commands would always fail like this:
    
      $ guix environment --ad-hoc slurm --pure -- squeue -u $USER
      squeue: error: s_p_parse_file: unable to status file 
/gnu/store/…-slurm-17.11.3/etc/slurm.conf: No such file or directory, retrying 
in 1sec up to 60sec
    
    * gnu/packages/parallel.scm (slurm)[arguments]: Pass --sysconfdir.
---
 gnu/packages/parallel.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/packages/parallel.scm b/gnu/packages/parallel.scm
index 167d03b..ceedae2 100644
--- a/gnu/packages/parallel.scm
+++ b/gnu/packages/parallel.scm
@@ -136,7 +136,7 @@ and they are executed on lists of files, hosts, users or 
other items.")
    (build-system gnu-build-system)
    (arguments
     `(#:configure-flags
-      (list "--enable-pam"
+      (list "--enable-pam" "--sysconfdir=/etc/slurm"
             (string-append "--with-freeipmi=" (assoc-ref %build-inputs 
"freeipmi"))
             (string-append "--with-hwloc=" (assoc-ref %build-inputs "hwloc"))
             (string-append "--with-json=" (assoc-ref %build-inputs "json-c"))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]