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.
This commit is contained in:
parent
05d907ac6f
commit
8d080506f4
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue