]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
sssd: Use /var/lib/sss and drop /var/run
authorStefan Schantl <stefan.schantl@ipfire.org>
Sun, 19 Mar 2023 14:01:44 +0000 (15:01 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 21 Mar 2023 18:25:40 +0000 (18:25 +0000)
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
sssd/sssd.nm

index 2a6c8aa1967a5e78c3121d8bc5be4ddd97122724..90d804469b60ddfc48985e47c0533736aacbc365 100644 (file)
@@ -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