Marius Tomaschewski changed bug 1038408
What Removed Added
Status NEW RESOLVED
CC   mt@suse.com
Resolution --- WORKSFORME

Comment # 1 on bug 1038408 from
The `%{service_add_pre wicked.service}` & co are used in wicked, but presets
are simply not enough to cover proper migration, see also bug 843526 that is
mentioned in the spec file:

%pre service
# upgrade from sysconfig[-network] scripts
_id=`readlink /etc/systemd/system/network.service 2>/dev/null` || :
if test "x${_id##*/}" = "xnetwork.service" -a -x /etc/init.d/network ; then
        /etc/init.d/network stop-all-dhcp-clients || :
fi
%{service_add_pre wicked.service}

%post service
%{service_add_post wicked.service}
# See bnc#843526: presets do not apply for upgrade / are not sufficient
#                 to handle sysconfig-network|wicked -> wicked migration
_id=`readlink /etc/systemd/system/network.service 2>/dev/null` || :
case "${_id##*/}" in
""|wicked.service|network.service)
        /usr/bin/systemctl --system daemon-reload || :
        /usr/bin/systemctl --force enable wicked.service || :
;;
esac

I consider this as WORKSFORME.


You are receiving this mail because: