From: Stefan Schantl Date: Sun, 19 Mar 2023 14:01:44 +0000 (+0100) Subject: sssd: Use /var/lib/sss and drop /var/run X-Git-Url: http://git.ipfire.org/?p=ipfire-3.x.git;a=commitdiff_plain;h=b4df42b998ff6a4e2db22c4bd7552b6550615885 sssd: Use /var/lib/sss and drop /var/run Signed-off-by: Stefan Schantl --- diff --git a/sssd/sssd.nm b/sssd/sssd.nm index 2a6c8aa19..90d804469 100644 --- a/sssd/sssd.nm +++ b/sssd/sssd.nm @@ -5,7 +5,7 @@ name = sssd version = 2.8.2 -release = 1.1 +release = 2 groups = System/Tools url = https://github.com/SSSD/sssd @@ -63,10 +63,10 @@ build configure_options += \ --with-crypto=libcrypto \ - --with-db-path=%{localstatedir}/sss/db \ - --with-pipe-path=%{localstatedir}/sss/pipe \ - --with-pubconf-path=%{localstatedir}/sss/pubconf \ - --with-mcache-path=%{localstatedir}/sss/mc \ + --with-db-path=%{sharedstatedir}/sss/db \ + --with-pipe-path=%{sharedstatedir}/sss/pipe \ + --with-pubconf-path=%{sharedstatedir}/sss/pubconf \ + --with-mcache-path=%{sharedstatedir}/sss/mc \ --with-krb5-rcache-dir=%{localstatedir}/cache/krb5rcache \ --with-default-ccache-dir=/run/user/%U \ --with-default-ccname-template=DIR:%d/krb5cc \ @@ -92,6 +92,9 @@ build # Remove old sysVinit stuff. rm -rvf %{BUILDROOT}%{sysconfdir}/rc.d + + # Drop /var/run + rm -rvf %{BUILDROOT}%{localstatedir}/run end end