diff --git a/dhcp.changes b/dhcp.changes index c12a426..4d41ed4 100644 --- a/dhcp.changes +++ b/dhcp.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Sep 17 14:55:25 UTC 2020 - Reinhard Max + +- Don't create dhclient.leases in %post. It affects transactional + updates and the files don't need to pre-exist (boo#1129951). + ------------------------------------------------------------------- Thu Sep 3 13:52:57 UTC 2020 - Franck Bui diff --git a/dhcp.spec b/dhcp.spec index 78fe03a..30291ad 100644 --- a/dhcp.spec +++ b/dhcp.spec @@ -459,12 +459,6 @@ fi %service_del_postun dhcrelay.service %service_del_postun dhcrelay6.service -%post client -test -e %{_localstatedir}/lib/dhcp/dhclient.leases || \ - echo -n > %{_localstatedir}/lib/dhcp/dhclient.leases -test -e %{_localstatedir}/lib/dhcp6/dhclient6.leases || \ - echo -n > %{_localstatedir}/lib/dhcp6/dhclient6.leases - %files %license LICENSE %{_bindir}/omshell