Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package wicked for openSUSE:Factory checked in at 2022-01-21 01:25:19 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/wicked (Old) and /work/SRC/openSUSE:Factory/.wicked.new.1938 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "wicked" Fri Jan 21 01:25:19 2022 rev:87 rq:947475 version:0.6.68 Changes: -------- --- /work/SRC/openSUSE:Factory/wicked/wicked.changes 2021-12-23 17:53:35.683713361 +0100 +++ /work/SRC/openSUSE:Factory/.wicked.new.1938/wicked.changes 2022-01-21 01:25:42.414469248 +0100 @@ -1,0 +2,8 @@ +Wed Jan 19 16:36:28 UTC 2022 - Marius Tomaschewski <m...@suse.com> + +- fsm: fix device rename via yast (bsc#1194392) + Reset worker config instead to reject a NULL/empty config + xml node -- introduced in wicked 0.6.67 by commit c2a0385. + [+ 0001-fsm-fix-device-rename-via-yast-bsc-1194392.patch] + +------------------------------------------------------------------- New: ---- 0001-fsm-fix-device-rename-via-yast-bsc-1194392.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ wicked.spec ++++++ --- /var/tmp/diff_new_pack.gV4Sn3/_old 2022-01-21 01:25:43.202463847 +0100 +++ /var/tmp/diff_new_pack.gV4Sn3/_new 2022-01-21 01:25:43.206463819 +0100 @@ -1,7 +1,7 @@ # # spec file for package wicked # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -26,6 +26,7 @@ URL: https://github.com/openSUSE/wicked Source0: %{name}-%{version}.tar.bz2 Source1: wicked-rpmlintrc +Patch1: 0001-fsm-fix-device-rename-via-yast-bsc-1194392.patch # # Upstream First - openSUSE Build Service Policy: # @@ -185,6 +186,7 @@ %prep %setup +%patch1 -p1 %build test -x ./configure || autoreconf --force --install ++++++ 0001-fsm-fix-device-rename-via-yast-bsc-1194392.patch ++++++ >From cc33ea321801ad8cd6689addd47d32215925de28 Mon Sep 17 00:00:00 2001 From: Marius Tomaschewski <m...@suse.de> Date: Tue, 18 Jan 2022 16:09:39 +0100 Subject: [PATCH] fsm: fix device rename via yast (bsc#1194392) Reset worker config instead to reject a NULL/empty config xml node -- introduced in wicked 0.6.67 by commit c2a0385. diff --git a/src/fsm.c b/src/fsm.c index 416e7c49..37d588d8 100644 --- a/src/fsm.c +++ b/src/fsm.c @@ -2088,11 +2088,15 @@ ni_ifworker_set_config(ni_ifworker_t *w, xml_node_t *ifnode, const char *config_ { xml_node_t *child; - if (!w || xml_node_is_empty(ifnode)) + if (!w) return FALSE; xml_node_free(w->config.node); + w->config.node = NULL; ni_client_state_config_reset(&w->config.meta); + if (xml_node_is_empty(ifnode)) + return TRUE; + if (!(w->config.node = xml_node_clone_ref(ifnode))) return FALSE; -- 2.31.1