diff --git a/open-vm-tools.changes b/open-vm-tools.changes index cd715b9..6134682 100644 --- a/open-vm-tools.changes +++ b/open-vm-tools.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed May 14 15:40:19 UTC 2014 - meissner@suse.com + +- added forgotten %pre snippet for service addition, this made + systemd service not auto-start. bnc#870737 + ------------------------------------------------------------------- Tue Mar 17 21:52:29 UTC 2014 - mlatimer@suse.com diff --git a/open-vm-tools.spec b/open-vm-tools.spec index 49103da..eb969e6 100644 --- a/open-vm-tools.spec +++ b/open-vm-tools.spec @@ -333,6 +333,11 @@ install -D -m 0644 %{SOURCE6} %{buildroot}%{_sysconfdir}/modprobe.d/50-vmnics.co find %{buildroot} -name '*vmhgfs*' -delete -print %endif +%pre +%if %{with_systemd} +%service_add_pre vmtoolsd.service +%endif + %post %if 0%{?suse_version} <= 1130 %run_permissions