summaryrefslogtreecommitdiff
path: root/gnu/packages/sssd.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludovic.courtes@inria.fr>2020-08-27 15:02:04 +0200
committerLudovic Courtès <ludo@gnu.org>2020-08-27 19:58:16 +0200
commit8df6900dffa9e1c74ac3f64877f067974eee0eeb (patch)
tree856c65f5a7d8ecd44ba01800692331e58951d75e /gnu/packages/sssd.scm
parent0c9d22c13fef9056413338293747c0d32f0cd5a4 (diff)
gnu: sssd: Pass '--localstatedir=/var' and '--sysconfdir=/etc'.
This ensures notably that libnss_sss looks for the mmap cache files in the right place, /var/lib/sss/mc, rather than in the store. * gnu/packages/patches/sssd-system-directories.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/sssd.scm (sssd)[source]: Use it. [arguments]: Pass "--localstatedir" and "--sysconfdir".
Diffstat (limited to 'gnu/packages/sssd.scm')
-rw-r--r--gnu/packages/sssd.scm8
1 files changed, 6 insertions, 2 deletions
diff --git a/gnu/packages/sssd.scm b/gnu/packages/sssd.scm
index c004e8c21c..aa91424b4d 100644
--- a/gnu/packages/sssd.scm
+++ b/gnu/packages/sssd.scm
@@ -90,7 +90,8 @@ fundamental object types for C.")
(sha256
(base32
"1h6hwibaf3xa2w6qpzjiiywmfj6zkgbz4r2isf3gd0xm6vq7n6if"))
- (patches (search-patches "sssd-fix-samba.patch"))))
+ (patches (search-patches "sssd-fix-samba.patch"
+ "sssd-system-directories.patch"))))
(build-system gnu-build-system)
(arguments
`(#:make-flags
@@ -103,7 +104,10 @@ fundamental object types for C.")
;; online DTDs.
"XMLLINT_FLAGS = --catalogs --nonet --noent --xinclude --noout")
#:configure-flags
- (list "--disable-cifs-idmap-plugin"
+ (list "--localstatedir=/var" ;for /var/lib/sss, /var/run/sssd.pid, etc.
+ "--sysconfdir=/etc" ;/etc/sssd
+
+ "--disable-cifs-idmap-plugin"
"--without-nfsv4-idmapd-plugin"
"--without-python2-bindings"
"--without-python3-bindings"