From 2e523789e08bdcd069faf2b73794ce9e9136b4e3 Mon Sep 17 00:00:00 2001 From: Alexander Bokovoy Date: Wed, 14 Aug 2013 14:29:52 +0300 Subject: [PATCH] upgrade: do not run sysv to systemd upgrade anymore --- freeipa.spec | 21 +++++---------------- 1 file changed, 5 insertions(+), 16 deletions(-) diff --git a/freeipa.spec b/freeipa.spec index 1cefd12..4bd129c 100644 --- a/freeipa.spec +++ b/freeipa.spec @@ -8,7 +8,7 @@ Name: freeipa Version: 3.3.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: The Identity, Policy and Audit system Group: System Environment/Base @@ -482,10 +482,6 @@ install -m 644 init/systemd/ipa.service %{buildroot}%{_unitdir}/ipa.service install -m 644 init/systemd/ipa_memcached.service %{buildroot}%{_unitdir}/ipa_memcached.service # END -# Fedora spec file only: START -mkdir -p %{buildroot}%{_libexecdir} -install -m 755 init/systemd/freeipa-systemd-upgrade %{buildroot}%{_libexecdir}/freeipa-systemd-upgrade -# Fedora spec file only: END mkdir -p %{buildroot}/%{_localstatedir}/lib/ipa/backup %endif # ! %{ONLY_CLIENT} @@ -518,14 +514,6 @@ rm -rf %{buildroot} /bin/systemctl --system daemon-reload 2>&1 || : # END if [ $1 -gt 1 ] ; then - # Fedora spec file only: START - # When upgrade is performed from SysV to systemd, ipa.service will be inactive - # due to https://bugzilla.redhat.com/show_bug.cgi?id=752846 - # FreeIPA existing setup cannot be used without upgrade script - # Note also it is now safe to run this script against working FreeIPA install - # after it has been migrated to systemd setup - /usr/libexec/freeipa-systemd-upgrade || : - # Fedora spec file only: END /bin/systemctl condrestart certmonger.service 2>&1 || : fi @@ -669,9 +657,6 @@ fi %config %{_sysconfdir}/tmpfiles.d/ipa.conf %attr(644,root,root) %{_unitdir}/ipa.service %attr(644,root,root) %{_unitdir}/ipa_memcached.service -# Fedora spec file only: START -%{_libexecdir}/freeipa-systemd-upgrade -# Fedora spec file only: END # END %attr(644,root,root) %{_unitdir}/ipa-otpd.socket %attr(644,root,root) %{_unitdir}/ipa-otpd@.service @@ -899,6 +884,10 @@ fi %endif # ! %{ONLY_CLIENT} %changelog +* Wed Aug 14 2013 Alexander Bokovoy - 3.3.0-2 +- Remove freeipa-systemd-upgrade as non-systemd installs are not supported + anymore by Fedora project + * Wed Aug 7 2013 Martin Kosek - 3.3.0-1 - Update to upstream 3.3.0