From 8df6900dffa9e1c74ac3f64877f067974eee0eeb Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Thu, 27 Aug 2020 15:02:04 +0200 Subject: 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". --- gnu/packages/sssd.scm | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'gnu/packages/sssd.scm') 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" -- cgit 1.4.1