summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2011-08-09 08:02:26 -0400
committerStephen Gallagher <sgallagh@redhat.com>2011-08-10 14:05:48 -0400
commit1919c61f1c1f399539f8349e8c117bc66d147119 (patch)
tree237b22566605986c4fa09aaa8fca97bd08f00dbc
parentbc2e582558b2b6f4e15f2835f2e8f2cf5ca9e485 (diff)
downloadsssd-1919c61f1c1f399539f8349e8c117bc66d147119.tar.gz
sssd-1919c61f1c1f399539f8349e8c117bc66d147119.tar.xz
sssd-1919c61f1c1f399539f8349e8c117bc66d147119.zip
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.
-rw-r--r--contrib/sssd.spec.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/sssd.spec.in b/contrib/sssd.spec.in
index 8bf156970..707cf24f1 100644
--- a/contrib/sssd.spec.in
+++ b/contrib/sssd.spec.in
@@ -253,6 +253,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