- Don't create dhclient.leases in %post. It affects transactional
updates and the files don't need to pre-exist (boo#1129951). OBS-URL: https://build.opensuse.org/package/show/network:dhcp/dhcp?expand=0&rev=216
This commit is contained in:
parent
1f0e368f81
commit
e9c2ed32e7
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Sep 17 14:55:25 UTC 2020 - Reinhard Max <max@suse.com>
|
||||||
|
|
||||||
|
- 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 <fbui@suse.com>
|
Thu Sep 3 13:52:57 UTC 2020 - Franck Bui <fbui@suse.com>
|
||||||
|
|
||||||
|
@ -459,12 +459,6 @@ fi
|
|||||||
%service_del_postun dhcrelay.service
|
%service_del_postun dhcrelay.service
|
||||||
%service_del_postun dhcrelay6.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
|
%files
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{_bindir}/omshell
|
%{_bindir}/omshell
|
||||||
|
Loading…
x
Reference in New Issue
Block a user