[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/08: gnu: munge: Pass '--localstatedir=/var'.
From: |
guix-commits |
Subject: |
04/08: gnu: munge: Pass '--localstatedir=/var'. |
Date: |
Tue, 14 May 2019 06:15:57 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 8d080506f4957e67d4e6d969f2743870db168abf
Author: Ludovic Courtès <address@hidden>
Date: Tue May 14 11:42:17 2019 +0200
gnu: munge: Pass '--localstatedir=/var'.
Previously, Munge users such as Slurm would fail with:
squeue: error: Munge encode failed: Failed to access
"/gnu/store/…-munge-0.5.13/var/run/munge/munge.socket.2": No such file or
directory
squeue: error: authentication: Socket communication error
* gnu/packages/admin.scm (munge)[source](modules, snippet): New fields.
[arguments]: New field.
---
gnu/packages/admin.scm | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index b6aba4c..f485ea9 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -1972,11 +1972,20 @@ displays a table of current bandwidth usage by pairs of
hosts.")
version ".tar.xz"))
(sha256
(base32
- "1nj486bbg1adfg298zck96vgx57kchcypc1zdz1n7w540vyksxcr"))))
+ "1nj486bbg1adfg298zck96vgx57kchcypc1zdz1n7w540vyksxcr"))
+ (modules '((guix build utils)))
+ (snippet
+ '(begin
+ ;; Don't insist on write access to /var.
+ (substitute* "src/etc/Makefile.in"
+ (("\\$\\(INSTALL\\)(.*)localstatedir" _ middle)
+ (string-append "-$(INSTALL)" middle "localstatedir")))
+ #t))))
(inputs
`(("openssl" ,openssl)
("libgcrypt" ,libgcrypt)))
(build-system gnu-build-system)
+ (arguments '(#:configure-flags '("--localstatedir=/var")))
(home-page "https://dun.github.io/munge/")
(synopsis "Cluster computing authentication service")
(description
- branch master updated (ae5de93 -> 45d41c0), guix-commits, 2019/05/14
- 01/08: gnu: hdf5: Build a thread-safe library., guix-commits, 2019/05/14
- 04/08: gnu: munge: Pass '--localstatedir=/var'.,
guix-commits <=
- 03/08: services: Add 'network-manager-applet' to %DESKTOP-SERVICES., guix-commits, 2019/05/14
- 08/08: guix build: Gracefully handle invalid '--with-git-url' specs., guix-commits, 2019/05/14
- 06/08: installer: Allow for arbitrary long passphrases and passwords., guix-commits, 2019/05/14
- 07/08: gnu: Add emacs-evil-cleverparens, guix-commits, 2019/05/14
- 02/08: gnu: hdf5: Add dependency on Perl., guix-commits, 2019/05/14
- 05/08: gnu: Add font-hermit, guix-commits, 2019/05/14