This is an issue only in the master branch. The recent patch to stop installing the example config into /etc/sssd/sssd.conf was incomplete and resulted in RPM removing existing configurations. This config file needs to be listed as a %ghost entry so it's maintained properly.
From 670cde3837db9316607153735711cfbead5cf38b Mon Sep 17 00:00:00 2001 From: Stephen Gallagher <sgall...@redhat.com> Date: Tue, 9 Aug 2011 08:02:26 -0400 Subject: [PATCH] Include the configuration file as a %ghost entry
The recent change to cease installing the sample configuration file caused existing config files to be removed on upgrade. This will prevent that from happening. --- contrib/sssd.spec.in | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/contrib/sssd.spec.in b/contrib/sssd.spec.in index 781bdb12573ee7434412e2b89a2168ee9bbad9b9..4e35585f2b42888ab84d491ff6c97de874301395 100644 --- a/contrib/sssd.spec.in +++ b/contrib/sssd.spec.in @@ -255,6 +255,7 @@ rm -rf $RPM_BUILD_ROOT %attr(700,root,root) %dir %{pipepath}/private %attr(750,root,root) %dir %{_var}/log/%{name} %attr(711,root,root) %dir %{_sysconfdir}/sssd +%ghost %attr(0600,root,root) %config(noreplace) %{_sysconfdir}/sssd/sssd.conf %config(noreplace) %{_sysconfdir}/logrotate.d/sssd %config(noreplace) %{_sysconfdir}/rwtab.d/sssd %config %{_sysconfdir}/sssd/sssd.api.conf -- 1.7.6
signature.asc
Description: This is a digitally signed message part
_______________________________________________ sssd-devel mailing list sssd-devel@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/sssd-devel