From c00ef8aad2262500c820b293dfd47533009265483da5c33e31c8b9a82db0f75b Mon Sep 17 00:00:00 2001 From: wicked maintainers Date: Wed, 8 Jan 2025 10:24:17 +0000 Subject: [PATCH 1/2] - Update to version 0.6.78 - man: small fixes in wireless manpage (gh#opensuse/wicked#1053) - rtnetlink: fix RTM_NEWLINK name resolution in debug (gh#opensuse/wicked#1052) - Add support for IPVLAN/IPVTAP (jsc#PED-1942, gh#opensuse/wicked#1050, gh#opensuse/wicked#1051) - fsm: remove children reference array from worker (gh#opensuse/wicked#1049) - ifxml: migrate and generate lower configs/policies (gh#opensuse/wicked#1048) - fsm: use refcount and array macros in worker and policy (gh#opensuse/wicked#1047) - route: use refcounted array and fix error leaks (gh#opensuse/wicked#1046) - utils: add support for refcounted objects in generic array (gh#openSUSE/wicked#1045) OBS-URL: https://build.opensuse.org/package/show/network:wicked:factory/wicked?expand=0&rev=267 --- .gitattributes | 23 + .gitignore | 1 + ...-repair-dummy-interfaces-boo-1229555.patch | 39 + ...n-on-master-lower-changes-bsc1224100.patch | 119 ++ ...retry-attempts-on-sending-bsc1218668.patch | 162 ++ ...to-in-favor-of-Requisite-bsc-1229745.patch | 150 ++ wicked-0.6.75.tar.bz2 | 3 + wicked-0.6.77.tar.bz2 | 3 + wicked-0.6.78.tar.bz2 | 3 + wicked-rpmlintrc | 1 + wicked.changes | 1831 +++++++++++++++++ wicked.spec | 426 ++++ 12 files changed, 2761 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 0001-compat-suse-repair-dummy-interfaces-boo-1229555.patch create mode 100644 0001-ifreload-pull-UP-again-on-master-lower-changes-bsc1224100.patch create mode 100644 0002-increase-arp-retry-attempts-on-sending-bsc1218668.patch create mode 100644 0002-systemd-use-Bindsto-in-favor-of-Requisite-bsc-1229745.patch create mode 100644 wicked-0.6.75.tar.bz2 create mode 100644 wicked-0.6.77.tar.bz2 create mode 100644 wicked-0.6.78.tar.bz2 create mode 100644 wicked-rpmlintrc create mode 100644 wicked.changes create mode 100644 wicked.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/0001-compat-suse-repair-dummy-interfaces-boo-1229555.patch b/0001-compat-suse-repair-dummy-interfaces-boo-1229555.patch new file mode 100644 index 0000000..2783da8 --- /dev/null +++ b/0001-compat-suse-repair-dummy-interfaces-boo-1229555.patch @@ -0,0 +1,39 @@ +From d8735359252d70ac44fa0359a78809a41d8f393a Mon Sep 17 00:00:00 2001 +From: Georg Pfuetzenreuter +Date: Sat, 24 Aug 2024 05:46:37 +0200 +Subject: [PATCH] compat-suse: repair dummy interfaces (boo#1229555) +Reference: boo#122955 +Upstream: merged + +Commit 98b4fb3359ebf48e2466338df2b89e263e0aa609 introduced changes +causing dummy interaces configured using "INTERFACETYPE=dummy" +or "DUMMY=yes" to presumably inadvertently no longer be recognized. +Restore functionality of these settings by only calling the new +pattern matching logic if a prior iftype lookup did not yield success. +This is needed to continue supporting configuration of dummy interfaces +not matching the predefined naming scheme. + +The following constellations have been tested: +- "ifcfg-foo" file with "INTERFACETYPE=dummy" +- "ifcfg-foo" file with "DUMMY=yes" +- "ifcfg-dummy1" file without "INTERFACETYPE" or "DUMMY" + +Fixes: 98b4fb3359eb ("compat-suse: fix dummy type detection from ifname") +Signed-off-by: Georg Pfuetzenreuter +--- + client/suse/compat-suse.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/client/suse/compat-suse.c b/client/suse/compat-suse.c +index 1ed3e778..82ed3cfb 100644 +--- a/client/suse/compat-suse.c ++++ b/client/suse/compat-suse.c +@@ -3787,7 +3787,7 @@ try_dummy(ni_suse_ifcfg_array_t *ifcfgs, ni_suse_ifcfg_t *ifcfg) + if (iftype && !ni_string_eq_nocase(iftype, "dummy")) + return 1; + +- if (dev->link.type != NI_IFTYPE_UNKNOWN || !maybe_dummy(dev->name)) ++ if (dev->link.type != NI_IFTYPE_UNKNOWN || (!iftype && !maybe_dummy(dev->name))) + return 1; + } else { + if (!ni_sysconfig_get_boolean(sc, "DUMMY", &enabled) || !enabled) diff --git a/0001-ifreload-pull-UP-again-on-master-lower-changes-bsc1224100.patch b/0001-ifreload-pull-UP-again-on-master-lower-changes-bsc1224100.patch new file mode 100644 index 0000000..d3c5681 --- /dev/null +++ b/0001-ifreload-pull-UP-again-on-master-lower-changes-bsc1224100.patch @@ -0,0 +1,119 @@ +From c6eb69d80a5c5c548d7c0a663d8a7bdd4fdd963c Mon Sep 17 00:00:00 2001 +From: Marius Tomaschewski +Date: Wed, 15 May 2024 11:19:38 +0200 +Subject: [PATCH 1/2] nanny: reset instead to rearm worker on disable +Upstream: yes +References: bsc#1224100,gh#openSUSE/wicked#1014 + +Reset interface worker on ifreload/ifdown to cleanup fsm state, +master / lower hierarchy references and requirements, so there +are no leftovers for the ifup part of ifreload that may change +e.g. lower link reference (vlan's underlying device changes) +with the new policy/config it is applying. + +diff --git a/nanny/interface.c b/nanny/interface.c +index b1f53ce38..fa4cef283 100644 +--- a/nanny/interface.c ++++ b/nanny/interface.c +@@ -88,7 +88,7 @@ ni_managed_netdev_disable(ni_managed_device_t *mdev) + + ni_nanny_schedule_recheck(&mgr->down, w); + ni_nanny_unschedule(&mgr->recheck, w); +- ni_ifworker_rearm(w); ++ ni_ifworker_reset(w); + + mdev->monitor = FALSE; + return TRUE; +-- +2.35.3 + + +From 855719b2ba8c65147ae7c5a0cf36e283bc2c22db Mon Sep 17 00:00:00 2001 +From: Marius Tomaschewski +Date: Wed, 15 May 2024 11:21:10 +0200 +Subject: [PATCH 2/2] fsm: pull UP ports/links on master/lower change +Upstream: yes +References: bsc#1224100,gh#openSUSE/wicked#1014 + +Inherit the config changed state from master and lower interfaces. +The ifreload down part pulls ports/linked interfaces DOWN when the +master/lower changed, the up part needs to pull them UP again. + +diff --git a/src/fsm.c b/src/fsm.c +index 16d43c8b8..353a9e2c7 100644 +--- a/src/fsm.c ++++ b/src/fsm.c +@@ -3140,13 +3140,13 @@ ni_fsm_ifmatch_pull_up_lower(ni_fsm_t *fsm, ni_ifmatcher_t *match, + ni_log_fn_t *logit, ni_ifworker_t *w, + ni_bool_t master, ni_bool_t lower, + ni_bool_t ports, ni_bool_t links, +- ni_bool_t changed) ++ ni_bool_t *changed) + { + if (!w->lowerdev) + return TRUE; /* we don't have a lower */ + + if (!ni_fsm_ifmatch_pull_up(fsm, match, matching, guard, logit, +- w->lowerdev, master, lower, ports, FALSE, changed)) { ++ w->lowerdev, master, lower, ports, FALSE, *changed)) { + + logit("skipping '%s' %s: unable to setup lower %s '%s'", + w->name, ni_ifworker_type_to_string(w->type), +@@ -3154,6 +3154,10 @@ ni_fsm_ifmatch_pull_up_lower(ni_fsm_t *fsm, ni_ifmatcher_t *match, + w->lowerdev->name); + return FALSE; + } ++ ++ if (match->ifreload && ni_ifworker_array_index(matching, w->lowerdev) != -1) ++ *changed = TRUE; ++ + return TRUE; + } + +@@ -3163,13 +3167,13 @@ ni_fsm_ifmatch_pull_up_master(ni_fsm_t *fsm, ni_ifmatcher_t *match, + ni_log_fn_t *logit, ni_ifworker_t *w, + ni_bool_t master, ni_bool_t lower, + ni_bool_t ports, ni_bool_t links, +- ni_bool_t changed) ++ ni_bool_t *changed) + { + if (!w->masterdev) + return TRUE; /* we don't have a master */ + + if (!ni_fsm_ifmatch_pull_up(fsm, match, matching, guard, logit, +- w->masterdev, master, lower, FALSE, links, changed)) { ++ w->masterdev, master, lower, FALSE, links, *changed)) { + + logit("skipping '%s' %s: unable to setup master %s '%s'", + w->name, ni_ifworker_type_to_string(w->type), +@@ -3178,6 +3182,9 @@ ni_fsm_ifmatch_pull_up_master(ni_fsm_t *fsm, ni_ifmatcher_t *match, + return FALSE; + } + ++ if (match->ifreload && ni_ifworker_array_index(matching, w->masterdev) != -1) ++ *changed = TRUE; ++ + return TRUE; + } + +@@ -3232,7 +3239,7 @@ ni_fsm_ifmatch_pull_up(ni_fsm_t *fsm, ni_ifmatcher_t *match, + ni_ifworker_array_append(guard, w); + + if (lower && !ni_fsm_ifmatch_pull_up_lower(fsm, match, &pulled, +- guard, logit, w, TRUE, TRUE, ports, FALSE, FALSE)) { ++ guard, logit, w, TRUE, TRUE, ports, FALSE, &changed)) { + + ni_ifworker_array_destroy(&pulled); + ni_ifworker_array_remove(guard, w); +@@ -3240,7 +3247,7 @@ ni_fsm_ifmatch_pull_up(ni_fsm_t *fsm, ni_ifmatcher_t *match, + } + + if (master && !ni_fsm_ifmatch_pull_up_master(fsm, match, &pulled, +- guard, logit, w, TRUE, TRUE, FALSE, links, FALSE)) { ++ guard, logit, w, TRUE, TRUE, FALSE, links, &changed)) { + + ni_ifworker_array_destroy(&pulled); + ni_ifworker_array_remove(guard, w); +-- +2.35.3 + diff --git a/0002-increase-arp-retry-attempts-on-sending-bsc1218668.patch b/0002-increase-arp-retry-attempts-on-sending-bsc1218668.patch new file mode 100644 index 0000000..53ac984 --- /dev/null +++ b/0002-increase-arp-retry-attempts-on-sending-bsc1218668.patch @@ -0,0 +1,162 @@ +From be8f79764694d54230d28fd483eb9a129830629f Mon Sep 17 00:00:00 2001 +From: Clemens Famulla-Conrad +Date: Wed, 5 Jun 2024 10:55:37 +0200 +Subject: [PATCH 1/4] appconfig: increase arp (verify|notify) retry value + (bsc#1218668) +Upstream: yes +References: bsc#1218668,gh#openSUSE/wicked#1022 + + +When the kernel report ENOBUFS while sending the arp package, we +do not want to treat this as a fatal error. But we also don't want +to accept ENOBUFS forever. The previous retry value of 3 wasn't +sufficient and was triggered on bond interfaces with 802.3ad mode +to often. +With a default of 10 we give the driver a minimum amount of 6s +to accept packages. +--- + src/appconfig.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/src/appconfig.c b/src/appconfig.c +index 82afb403..b67ccc76 100644 +--- a/src/appconfig.c ++++ b/src/appconfig.c +@@ -67,11 +67,11 @@ static unsigned int ni_config_addrconf_update_auto6(void); + static void ni_config_addrconf_arp_default(ni_config_arp_t *); + + #define NI_ADDRCONF_ARP_VERIFY_COUNT 3 /* PROBE_NUM */ +-#define NI_ADDRCONF_ARP_VERIFY_RETRIES 3 ++#define NI_ADDRCONF_ARP_VERIFY_RETRIES 10 + #define NI_ADDRCONF_ARP_VERIFY_MIN (2000 / NI_ADDRCONF_ARP_VERIFY_COUNT) /* PROBE_MIN */ + #define NI_ADDRCONF_ARP_VERIFY_MAX (3000 / NI_ADDRCONF_ARP_VERIFY_COUNT) /* PROBE_MAX */ + #define NI_ADDRCONF_ARP_NOTIFY_COUNT 1 /* ANNOUNCE_NUM */ +-#define NI_ADDRCONF_ARP_NOTIFY_RETRIES 0 ++#define NI_ADDRCONF_ARP_NOTIFY_RETRIES 10 + #define NI_ADDRCONF_ARP_NOTIFY_INTERVAL 300 /* ANNOUNCE_INTERVAL */ + #define NI_ADDRCONF_ARP_INTERVAL_MIN 100 + #define NI_ADDRCONF_ARP_MAX_DURATION 15000 +-- +2.35.3 + + +From c6a4dca68b581295b29e9610cb76ca089a7e4ba7 Mon Sep 17 00:00:00 2001 +From: Clemens Famulla-Conrad +Date: Wed, 5 Jun 2024 11:05:03 +0200 +Subject: [PATCH 2/4] arputil: increase the retry attempts on sending + +On bond with mode 802.3ad, we realized ENOBUFS occur and a +retry value of 3 is to small (see bsc#1218668). +--- + client/arputil.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/client/arputil.c b/client/arputil.c +index ab35782c..12833a89 100644 +--- a/client/arputil.c ++++ b/client/arputil.c +@@ -46,7 +46,7 @@ + + struct arp_ops; + +-#define NI_ARPUTIL_MAX_SEND_ERR 3 ++#define NI_ARPUTIL_MAX_SEND_ERR 10 + + #define ARP_VERIFY_COUNT 3 + #define ARP_VERIFY_INTERVAL_MIN 1000 +-- +2.35.3 + + +From 87d8f8d24135a04bf9fc80bb4e2260a09a7dec72 Mon Sep 17 00:00:00 2001 +From: Clemens Famulla-Conrad +Date: Tue, 18 Jun 2024 14:35:43 +0200 +Subject: [PATCH 3/4] arp: increase retries to 16 for >10s grace time + +Tests with 10 retries shown, that we where just one attempt +before an error. Thus we give more extra time. +--- + client/arputil.c | 2 +- + src/appconfig.c | 4 ++-- + 2 files changed, 3 insertions(+), 3 deletions(-) + +diff --git a/client/arputil.c b/client/arputil.c +index 12833a89..c6e23f74 100644 +--- a/client/arputil.c ++++ b/client/arputil.c +@@ -46,7 +46,7 @@ + + struct arp_ops; + +-#define NI_ARPUTIL_MAX_SEND_ERR 10 ++#define NI_ARPUTIL_MAX_SEND_ERR 16 + + #define ARP_VERIFY_COUNT 3 + #define ARP_VERIFY_INTERVAL_MIN 1000 +diff --git a/src/appconfig.c b/src/appconfig.c +index b67ccc76..cc4b08f5 100644 +--- a/src/appconfig.c ++++ b/src/appconfig.c +@@ -67,11 +67,11 @@ static unsigned int ni_config_addrconf_update_auto6(void); + static void ni_config_addrconf_arp_default(ni_config_arp_t *); + + #define NI_ADDRCONF_ARP_VERIFY_COUNT 3 /* PROBE_NUM */ +-#define NI_ADDRCONF_ARP_VERIFY_RETRIES 10 ++#define NI_ADDRCONF_ARP_VERIFY_RETRIES 16 + #define NI_ADDRCONF_ARP_VERIFY_MIN (2000 / NI_ADDRCONF_ARP_VERIFY_COUNT) /* PROBE_MIN */ + #define NI_ADDRCONF_ARP_VERIFY_MAX (3000 / NI_ADDRCONF_ARP_VERIFY_COUNT) /* PROBE_MAX */ + #define NI_ADDRCONF_ARP_NOTIFY_COUNT 1 /* ANNOUNCE_NUM */ +-#define NI_ADDRCONF_ARP_NOTIFY_RETRIES 10 ++#define NI_ADDRCONF_ARP_NOTIFY_RETRIES 16 + #define NI_ADDRCONF_ARP_NOTIFY_INTERVAL 300 /* ANNOUNCE_INTERVAL */ + #define NI_ADDRCONF_ARP_INTERVAL_MIN 100 + #define NI_ADDRCONF_ARP_MAX_DURATION 15000 +-- +2.35.3 + + +From e7b0ff10cdc782b7688d42d087983e8e4ef7440e Mon Sep 17 00:00:00 2001 +From: Clemens Famulla-Conrad +Date: Tue, 18 Jun 2024 14:37:21 +0200 +Subject: [PATCH 4/4] capture: log individual send errors from kernel as debug + +The caller may or may not report them or the result as error later. +--- + src/capture.c | 5 ++++- + 1 file changed, 4 insertions(+), 1 deletion(-) + +diff --git a/src/capture.c b/src/capture.c +index 0b7f6d71..b18c140c 100644 +--- a/src/capture.c ++++ b/src/capture.c +@@ -818,7 +818,7 @@ ni_capture_send_buf(const ni_capture_t *capture, const ni_buffer_t *buf) + rv = sendto(capture->sock->__fd, ni_buffer_head(buf), ni_buffer_count(buf), 0, + &capture->addr.sa, sizeof(capture->addr)); + if (rv < 0) +- ni_error("%s: unable to send %s%spacket: %m", capture->ifname, ++ ni_debug_socket("%s: unable to send %s%spacket: %m", capture->ifname, + capture->desc ?: "", capture->desc ? " " : ""); + + return rv; +@@ -828,8 +828,10 @@ ssize_t + ni_capture_send(ni_capture_t *capture, const ni_buffer_t *buf, const ni_timeout_param_t *tmo) + { + ssize_t rv; ++ int err; + + rv = ni_capture_send_buf(capture, buf); ++ err = errno; + if (tmo) { + capture->retrans.buffer = buf; + capture->retrans.timeout = *tmo; +@@ -837,6 +839,7 @@ ni_capture_send(ni_capture_t *capture, const ni_buffer_t *buf, const ni_timeout_ + } else { + ni_capture_disarm_retransmit(capture); + } ++ errno = err; + return rv; + } + +-- +2.35.3 + diff --git a/0002-systemd-use-Bindsto-in-favor-of-Requisite-bsc-1229745.patch b/0002-systemd-use-Bindsto-in-favor-of-Requisite-bsc-1229745.patch new file mode 100644 index 0000000..bee3c37 --- /dev/null +++ b/0002-systemd-use-Bindsto-in-favor-of-Requisite-bsc-1229745.patch @@ -0,0 +1,150 @@ +From bba6482f285b7bbf8d29b6a607bceff1175f66a4 Mon Sep 17 00:00:00 2001 +From: Simon Lees +Date: Wed, 28 Aug 2024 19:19:09 +0930 +Subject: [PATCH 1/2] systemd: use Bindto= in favor of Requisite= + (bsc#1229745,gh#openSUSE/wicked#1032) +Upstream: yes +References: bsc#1229745,gh#openSUSE/wicked#1032,gh#openSUSE/wicked#1033 + +After the change to dbus-broker, it was possible for wickedd* to +start before the dbus-broker service was running. +Using `BindsTo=dbus.service` will explicitly start dbus-broker and +fixes the dependency issue. + +Co-authored-by: Clemens Famulla-Conrad + +diff --git a/etc/systemd/wickedd-auto4.service.in b/etc/systemd/wickedd-auto4.service.in +index 9636a435..508d59c7 100644 +--- a/etc/systemd/wickedd-auto4.service.in ++++ b/etc/systemd/wickedd-auto4.service.in +@@ -1,6 +1,6 @@ + [Unit] + Description=wicked AutoIPv4 supplicant service +-Requisite=dbus.service ++BindTo=dbus.service + After=local-fs.target dbus.service network-pre.target SuSEfirewall2_init.service + Before=wickedd.service wicked.service network.target + PartOf=wickedd.service +diff --git a/etc/systemd/wickedd-dhcp4.service.in b/etc/systemd/wickedd-dhcp4.service.in +index 5d9af3d9..5ca5655c 100644 +--- a/etc/systemd/wickedd-dhcp4.service.in ++++ b/etc/systemd/wickedd-dhcp4.service.in +@@ -1,6 +1,6 @@ + [Unit] + Description=wicked DHCPv4 supplicant service +-Requisite=dbus.service ++BindTo=dbus.service + After=local-fs.target dbus.service network-pre.target SuSEfirewall2_init.service + Before=wickedd.service wicked.service network.target + PartOf=wickedd.service +diff --git a/etc/systemd/wickedd-dhcp6.service.in b/etc/systemd/wickedd-dhcp6.service.in +index 61e3fc93..216ee184 100644 +--- a/etc/systemd/wickedd-dhcp6.service.in ++++ b/etc/systemd/wickedd-dhcp6.service.in +@@ -1,6 +1,6 @@ + [Unit] + Description=wicked DHCPv6 supplicant service +-Requisite=dbus.service ++BindTo=dbus.service + After=local-fs.target dbus.service network-pre.target SuSEfirewall2_init.service + Before=wickedd.service wicked.service network.target + PartOf=wickedd.service +diff --git a/etc/systemd/wickedd-nanny.service.in b/etc/systemd/wickedd-nanny.service.in +index d039ff37..eb884de6 100644 +--- a/etc/systemd/wickedd-nanny.service.in ++++ b/etc/systemd/wickedd-nanny.service.in +@@ -1,6 +1,6 @@ + [Unit] + Description=wicked network nanny service +-Requisite=dbus.service ++BindTo=dbus.service + After=local-fs.target dbus.service network-pre.target SuSEfirewall2_init.service wickedd.service + Before=wicked.service network.target + PartOf=wickedd.service +diff --git a/etc/systemd/wickedd.service.in b/etc/systemd/wickedd.service.in +index 090f926b..4130c17c 100644 +--- a/etc/systemd/wickedd.service.in ++++ b/etc/systemd/wickedd.service.in +@@ -1,6 +1,6 @@ + [Unit] + Description=wicked network management service daemon +-Requisite=dbus.service ++BindTo=dbus.service + Wants=wickedd-nanny.service wickedd-dhcp6.service wickedd-dhcp4.service wickedd-auto4.service + After=local-fs.target dbus.service isdn.service rdma.service network-pre.target SuSEfirewall2_init.service openvswitch.service + Before=wickedd-nanny.service wicked.service network.target +-- +2.43.0 + + +From 5b0a4fbfbbeb51e01d34c89dff5fb0b9580b15eb Mon Sep 17 00:00:00 2001 +From: Clemens Famulla-Conrad +Date: Wed, 28 Aug 2024 12:46:23 +0200 +Subject: [PATCH 2/2] systemd: fix typo to use correct BindsTo= +Upstream: yes +References: bsc#1229745,gh#openSUSE/wicked#1032,gh#openSUSE/wicked#1033 + + +diff --git a/etc/systemd/wickedd-auto4.service.in b/etc/systemd/wickedd-auto4.service.in +index 508d59c7..aa52f327 100644 +--- a/etc/systemd/wickedd-auto4.service.in ++++ b/etc/systemd/wickedd-auto4.service.in +@@ -1,6 +1,6 @@ + [Unit] + Description=wicked AutoIPv4 supplicant service +-BindTo=dbus.service ++BindsTo=dbus.service + After=local-fs.target dbus.service network-pre.target SuSEfirewall2_init.service + Before=wickedd.service wicked.service network.target + PartOf=wickedd.service +diff --git a/etc/systemd/wickedd-dhcp4.service.in b/etc/systemd/wickedd-dhcp4.service.in +index 5ca5655c..9866c84b 100644 +--- a/etc/systemd/wickedd-dhcp4.service.in ++++ b/etc/systemd/wickedd-dhcp4.service.in +@@ -1,6 +1,6 @@ + [Unit] + Description=wicked DHCPv4 supplicant service +-BindTo=dbus.service ++BindsTo=dbus.service + After=local-fs.target dbus.service network-pre.target SuSEfirewall2_init.service + Before=wickedd.service wicked.service network.target + PartOf=wickedd.service +diff --git a/etc/systemd/wickedd-dhcp6.service.in b/etc/systemd/wickedd-dhcp6.service.in +index 216ee184..0268772e 100644 +--- a/etc/systemd/wickedd-dhcp6.service.in ++++ b/etc/systemd/wickedd-dhcp6.service.in +@@ -1,6 +1,6 @@ + [Unit] + Description=wicked DHCPv6 supplicant service +-BindTo=dbus.service ++BindsTo=dbus.service + After=local-fs.target dbus.service network-pre.target SuSEfirewall2_init.service + Before=wickedd.service wicked.service network.target + PartOf=wickedd.service +diff --git a/etc/systemd/wickedd-nanny.service.in b/etc/systemd/wickedd-nanny.service.in +index eb884de6..fb435ed9 100644 +--- a/etc/systemd/wickedd-nanny.service.in ++++ b/etc/systemd/wickedd-nanny.service.in +@@ -1,6 +1,6 @@ + [Unit] + Description=wicked network nanny service +-BindTo=dbus.service ++BindsTo=dbus.service + After=local-fs.target dbus.service network-pre.target SuSEfirewall2_init.service wickedd.service + Before=wicked.service network.target + PartOf=wickedd.service +diff --git a/etc/systemd/wickedd.service.in b/etc/systemd/wickedd.service.in +index 4130c17c..9b8ba9a7 100644 +--- a/etc/systemd/wickedd.service.in ++++ b/etc/systemd/wickedd.service.in +@@ -1,6 +1,6 @@ + [Unit] + Description=wicked network management service daemon +-BindTo=dbus.service ++BindsTo=dbus.service + Wants=wickedd-nanny.service wickedd-dhcp6.service wickedd-dhcp4.service wickedd-auto4.service + After=local-fs.target dbus.service isdn.service rdma.service network-pre.target SuSEfirewall2_init.service openvswitch.service + Before=wickedd-nanny.service wicked.service network.target +-- +2.43.0 + diff --git a/wicked-0.6.75.tar.bz2 b/wicked-0.6.75.tar.bz2 new file mode 100644 index 0000000..1f72e80 --- /dev/null +++ b/wicked-0.6.75.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6f3fe0427e692a5ae05119948da4999cdb6cf99eca699300e9f55173d455b8f4 +size 1528599 diff --git a/wicked-0.6.77.tar.bz2 b/wicked-0.6.77.tar.bz2 new file mode 100644 index 0000000..3fe3531 --- /dev/null +++ b/wicked-0.6.77.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:db6e38bcda154ccf2db59019bc918a65c276c2d44ab23daa81ffcf1cf32053af +size 1600767 diff --git a/wicked-0.6.78.tar.bz2 b/wicked-0.6.78.tar.bz2 new file mode 100644 index 0000000..69a4e7a --- /dev/null +++ b/wicked-0.6.78.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7398775172ac0a250ffd71f0029ec1adf9f9760d6d6d518574a665e136833391 +size 1592588 diff --git a/wicked-rpmlintrc b/wicked-rpmlintrc new file mode 100644 index 0000000..ffea069 --- /dev/null +++ b/wicked-rpmlintrc @@ -0,0 +1 @@ +# Currently nothing. diff --git a/wicked.changes b/wicked.changes new file mode 100644 index 0000000..1dac50f --- /dev/null +++ b/wicked.changes @@ -0,0 +1,1831 @@ +------------------------------------------------------------------- +Wed Jan 8 10:20:17 UTC 2025 - wicked maintainers + +- Update to version 0.6.78 + - man: small fixes in wireless manpage (gh#opensuse/wicked#1053) + - rtnetlink: fix RTM_NEWLINK name resolution in debug (gh#opensuse/wicked#1052) + - Add support for IPVLAN/IPVTAP (jsc#PED-1942, gh#opensuse/wicked#1050, gh#opensuse/wicked#1051) + - fsm: remove children reference array from worker (gh#opensuse/wicked#1049) + - ifxml: migrate and generate lower configs/policies (gh#opensuse/wicked#1048) + - fsm: use refcount and array macros in worker and policy (gh#opensuse/wicked#1047) + - route: use refcounted array and fix error leaks (gh#opensuse/wicked#1046) + - utils: add support for refcounted objects in generic array (gh#openSUSE/wicked#1045) + +------------------------------------------------------------------- +Fri Oct 25 13:24:54 UTC 2024 - Clemens Famulla-Conrad + +- Update to version 0.6.77 + - compat-suse: use iftype in sysctl handling (bsc#1230911, gh#openSUSE/wicked#1043) + - Always generate the ipv4/ipv6 true|false node + - Inherit all, default and interface sysctl settings also for loopback, + except for use_tempaddr and accept_dad. + - Consider only interface specific accept_redirects sysctl settings. + - Adopt ifsysctl(5) manual page with wicked specific behavior. + - route: fix family and destination processing (bsc#1231060) + - man: improve wicked-config(5) file description (gh#openSUSE/wicked#1039) + - dhcp4: add ignore-rfc3927-1-6 wicked-config(5) option (jsc#PED-10855, gh#openSUSE/wicked#1038) + - team: set arp link watcher interval default to 1s (gh#openSUSE/wicked#1037) + - systemd: use `BindsTo=dbus.service` in favor of `Requisite=` (bsc#1229745) + - compat-suse: fix use of deprecated `INTERFACETYPE=dummy` (boo#1229555) + - arp: don't set target broadcast hardware address (gh#openSUSE/wicked#1036) + - dbus: don't memcpy empty/NULL array value (gh#openSUSE/wicked#1035) + - ethtool: fix leak and free pause data in ethtool_free (gh#openSUSE/wicked#1030) +- Removed patches included in the source archive: + [- 0001-compat-suse-repair-dummy-interfaces-boo-1229555.patch] + [- 0002-systemd-use-Bindsto-in-favor-of-Requisite-bsc-1229745.patch] + +------------------------------------------------------------------- +Wed Aug 28 10:19:49 UTC 2024 - Clemens Famulla-Conrad + +- systemd: Fix wicked start failures because of dependency issue. + With the change to dbus-broker, wicked has to trigger dbus service start. + Use BindsTo= in favor of Requisite= (bsc#1229745,gh#openSUSE/wicked#1032, + gh#openSUSE/wicked#1033). + [+ 0002-systemd-use-Bindsto-in-favor-of-Requisite-bsc-1229745.patch] +- compat-suse: fix dummy interfaces configuration with + INTERFACETYPE=dummy (boo#1229555, gh#openSUSE/wicked#1031) + [+ 0001-compat-suse-repair-dummy-interfaces-boo-1229555.patch] + +------------------------------------------------------------------- +Thu Jul 18 14:32:55 UTC 2024 - Clemens Famulla-Conrad + +- Update to version 0.6.76 + - compat-suse: warn user and create missing parent config of + infiniband children (gh#openSUSE/wicked#1027) + - client: fix origin in loaded xml-config with obsolete port + references but missing port interface config, causing a + no-carrier of master (bsc#1226125) + - ipv6: fix setup on ipv6.disable=1 kernel cmdline (bsc#1225976) + - wireless: add frequency-list in station mode (jsc#PED-8715) + - client: fix crash while hierarchy traversing due to loop in + e.g. systemd-nspawn containers (bsc#1226664) + - man: add supported bonding options to ifcfg-bonding(5) man page + (gh#openSUSE/wicked#1021) + - arputil: Document minimal interval for getopts (gh#openSUSE/wicked#1019) + - man: (re)generate man pages from md sources (gh#openSUSE/wicked#1018) + - client: warn on interface wait time reached (gh#openSUSE/wicked#1017) + - compat-suse: fix dummy type detection from ifname to not cause + conflicts with e.g. correct vlan config on dummy0.42 interfaces + (gh#openSUSE/wicked#1016) + - compat-suse: fix infiniband and infiniband child type detection + from ifname (gh#openSUSE/wicked#1015) +- Removed patches included in the source archive: + [- 0001-ifreload-pull-UP-again-on-master-lower-changes-bsc1224100.patch] + [- 0002-increase-arp-retry-attempts-on-sending-bsc1218668.patch] + +------------------------------------------------------------------- +Tue Jun 11 11:22:19 UTC 2024 - Marius Tomaschewski + +- arp: increase arp-send retry value to avoid address configuration + failure due to ENOBUF reported by kernel while duplicate address + detection with underlying bonding in 802.3ad mode reporting link + "up & running" too early (bsc#1218668, gh#openSUSE/wicked#1020, + gh#openSUSE/wicked#1022). + [+ 0002-increase-arp-retry-attempts-on-sending-bsc1218668.patch] + +------------------------------------------------------------------- +Wed May 15 15:00:02 UTC 2024 - Marius Tomaschewski + +- client: fix ifreload to pull UP ports/links again when the config + of their master/lower changed (bsc#1224100,gh#openSUSE/wicked#1014). + [+ 0001-ifreload-pull-UP-again-on-master-lower-changes-bsc1224100.patch] + +------------------------------------------------------------------- +Wed May 8 10:16:30 UTC 2024 - Marius Tomaschewski + +- Update to version 0.6.75: + - cleanup: fix ni_fsm_state_t enum-int-mismatch warnings + - cleanup: fix overflow warnings in a socket testcase on i586 + - ifcheck: report new and deleted configs as changed (bsc#1218926) + - man: improve ARP configuration options in the wicked-config.5 + - bond: add ports when master is UP to avoid port MTU revert (bsc#1219108) + - cleanup: fix interface dependencies and shutdown order (bsc#1205604) + - Remove port arrays from bond,team,bridge,ovs-bridge (redundant) + and consistently use config and state info attached to the port + interface as in rtnetlink(7). + - Cleanup ifcfg parsing, schema configuration and service properties + - Migrate ports in xml config and policies already applied in nanny + - Remove "missed config" generation from finite state machine, which + is completed while parsing the config or while xml config migration. + - Issue a warning when "lower" interface (e.g. eth0) config is missed + while parsing config depending on it (e.g. eth0.42 vlan). + - Resolve ovs master to the effective bridge in config and wickedd + - Implement netif-check-state require checks using system relations + from wickedd/kernel instead of config relations for ifdown and add + linkDown and deleteDevice checks to all master and lower references. + - Add a `wicked --dry-run …` option to show the + system/config interface hierarchies as notice with +/- marked + interfaces to setup and/or shutdown. +- Removed patches included in the source archive: + [- 0001-addrconf-fix-fallback-lease-drop-bsc-1220996.patch] + [- 0002-extensions-nbft-replace-nvme-show-nbft-with-nvme-nbf.patch] + [- 0003-move-all-attribute-definitions-to-compiler-h.patch] + [- 0004-hide-secrets-in-debug-log-bsc-1221194.patch] + [- 0005-client-do-to-not-convert-sec-to-msec-twice-bsc-1222105.patch] + +------------------------------------------------------------------- +Tue Apr 9 15:39:01 UTC 2024 - Clemens Famulla-Conrad + +- client: do not convert sec to msec twice (bsc#1222105) + [+ 0005-client-do-to-not-convert-sec-to-msec-twice-bsc-1222105.patch] + +------------------------------------------------------------------- +Thu Mar 19 17:00:01 UTC 2024 - Clemens Famulla-Conrad + +- hide secrets in debug log (bsc#1221194) + [+ 0003-move-all-attribute-definitions-to-compiler-h.patch] + [+ 0004-hide-secrets-in-debug-log-bsc-1221194.patch] + +------------------------------------------------------------------- +Thu Mar 14 11:37:01 UTC 2024 - Marius Tomaschewski + +- addrconf: fix fallback-lease drop (bsc#1220996) + [+ 0001-addrconf-fix-fallback-lease-drop-bsc-1220996.patch] +- extensions/nbft: use upstream `nvme nbft show` (bsc#1221358) + [+ 0002-extensions-nbft-replace-nvme-show-nbft-with-nvme-nbf.patch] + +------------------------------------------------------------------- +Fri Feb 23 16:06:09 UTC 2024 - Clemens Famulla-Conrad + +- update to version 0.6.74 + + team: add new options like link_watch_policy (jsc#PED-7183) + + Fix memory leaks in dbus variant destroy and fsm free (gh#openSUSE/wicked#1001) + + xpath: allow underscore in node identifier (gh#openSUSE/wicked#999) + + vxlan: don't format unknown rtnl attrs (bsc#1219751) +- removed patches included in the source archive: + [- 0009-ifreload-VLAN-changes-require-device-deletion-bsc-12.patch] + [- 0008-ifcheck-fix-config-changed-check-bsc-1218926.patch] + [- 0007-Fix-ifstatus-exit-code-for-NI_WICKED_ST_NO_CARRIER-s.patch] + [- 0006-dhcp6-omit-the-SO_REUSEPORT-option-bsc-1215692.patch] + [- 0005-duid-fix-comment-for-v6time.patch] + [- 0004-rtnl-parse-peer-address-on-non-ptp-interfaces.patch] + [- 0003-rtnl-pass-ifname-in-newaddr-parsing-and-logging.patch] + [- 0002-system-updater-Parse-updater-format-from-XML-configu.patch] + [- 0001-fix_arp_notify_loop_and_burst_sending.patch] + +------------------------------------------------------------------- +Thu Feb 1 08:58:28 UTC 2024 - Clemens Famulla-Conrad + +- ifreload: VLAN changes require device deletion (bsc#1218927) + [+ 0009-ifreload-VLAN-changes-require-device-deletion-bsc-12.patch] +- ifcheck: fix config changed check (bsc#1218926) + [+ 0008-ifcheck-fix-config-changed-check-bsc-1218926.patch] +- client: fix exit code for no-carrier status (bsc#1219265) + [+ 0007-Fix-ifstatus-exit-code-for-NI_WICKED_ST_NO_CARRIER-s.patch] +- dhcp6: omit the SO_REUSEPORT option (bsc#1215692) + [+ 0006-dhcp6-omit-the-SO_REUSEPORT-option-bsc-1215692.patch] +- duid: fix comment for v6time + (https://github.com/openSUSE/wicked/pull/989) + [+ 0005-duid-fix-comment-for-v6time.patch] +- rtnl: fix peer address parsing for non ptp-interfaces + (https://github.com/openSUSE/wicked/pull/987, + https://github.com/openSUSE/wicked/pull/988) + [+ 0003-rtnl-pass-ifname-in-newaddr-parsing-and-logging.patch] + [+ 0004-rtnl-parse-peer-address-on-non-ptp-interfaces.patch] +- system-updater: Parse updater format from XML configuration to + ensure install calls can run. + (https://github.com/openSUSE/wicked/pull/985) + [+ 0002-system-updater-Parse-updater-format-from-XML-configu.patch] + +------------------------------------------------------------------- +Wed Jul 5 08:06:15 UTC 2023 - Clemens Famulla-Conrad + +- ifconfig: fix arp notify loop (boo#1212806) and burst sending + [+ 0001-fix_arp_notify_loop_and_burst_sending.patch] + +------------------------------------------------------------------- +Thu Jun 15 16:15:04 UTC 2023 - Clemens Famulla-Conrad + +- update to version 0.6.73 (see also ChangeLog file): +- spec: cleanup artefacts removing systemv scripts and hooks + (not used on any released version) and fix rpmlint warnings +- arp: allow verify/notify counter and interval configuration +- arp: handle ENOBUFS sending errors (bsc#1203300) +- extensions: improve environment variable handling +- firmware: refactor firmware extension definition to unify + its format with system-updater and dbus-service extensions. +- firmware: improve enable, disable and revert cli command; + see wicked-firmware(8) manual page. +- code cleanup: fix memory leaks, add array/list utils +- wireless: Ignore not applicable WIRELESS_EAP_AUTH suse ifcfg + variable within an within EAP-TLS network (bsc#1211026) +- cleanup /var/run leftovers in extension scripts (bsc#1194557) +- json: output formatting improvements, unicode support via iconv +- removed patches included in the source archive: + [- 0001-bond-workaround-6.1-enslave-regression-boo-1206674.patch, + - 0002-extensions-nbft-add-post-up-script.bsc-1211647.patch] + +------------------------------------------------------------------- +Wed May 24 16:06:40 UTC 2023 - Marius Tomaschewski + +- extensions/nbft: add post-up script (bsc#1211647) + In multipath scenarios, not all NBFT interfaces and respective + connections may have been brought up during initramfs processing. + If wicked brings up some NBFT interfaces after switching to the + root file system, run a post-up script to initiate the NVMe + connections. + [+ 0002-extensions-nbft-add-post-up-script.bsc-1211647.patch] + +------------------------------------------------------------------- +Fri Feb 10 07:15:55 UTC 2023 - Marius Tomaschewski + +- bond: workaround 6.1 kernel enslave regression (boo#1206674) + The kernel bond enslave rtnetlink message processing changed + breaking an `ip link set down master bond0 dev eth0` like + enslave which worked with all kernels from 4.12 up to 6.0. + [+ 0001-bond-workaround-6.1-enslave-regression-boo-1206674.patch] + +------------------------------------------------------------------- +Wed Jan 25 21:41:04 UTC 2023 - Marius Tomaschewski + +- version 0.6.72 +- nbft: introduced new wicked-nbft sub-package to setup network interfaces using NBFT + firmware configuration according to the NVM Express Boot Specification 1.0 (jsc#PED-3132) +- client: add `wicked firmware extensions|interfaces|enable|disable` command to + improve `ibft`,`nbft`,`redfish` firmware extension and interface handling (jsc#PED-3132) +- client: improve error handling in netif firmware discovery extension execution +- appconfig: improved to handle extension definition overrides in the wicked-config +- nanny: fix use-after-free in debug mode (bsc#1206447) +- spec: replace transitional `%usrmerged` macro with regular version check (boo#1206798) +- client: improve to show `no-carrier` in ifstatus output +- linux: cleanup inclusions and update uapi header to 6.0 +- ethtool: link mode nwords cleanup and new advertise link mode map names + +------------------------------------------------------------------- +Wed Dec 21 16:15:11 UTC 2022 - Marius Tomaschewski + +- version 0.6.71 +- dhcp: enable raw-ip support for wwan-qmi interfaces (jsc#PED-90) +- schema: fix the ip rule to-selector to handle network prefixes + +------------------------------------------------------------------- +Mon Dec 12 07:23:12 UTC 2022 - Marius Tomaschewski + +- spec: Add /etc/sysconfig/network to file list, no longer + in the default list of a cleaned up filesystem package + (https://github.com/openSUSE/wicked/pull/939). + +------------------------------------------------------------------- +Thu Oct 20 14:36:21 UTC 2022 - Clemens Famulla-Conrad + +- version 0.6.70 +- build: Link as Position Independent Executable (bsc#1184124) +- dhcp4: Fix issues in reuse of last lease (bsc#1187655) +- dhcp6: Add option to refresh lease (jsc#SLE-9492,jsc#SLE-24307) +- dhcp6: Remove address before release (USGv6 DHCPv6_1_2_07b) +- dhcp6: Ignore lease release status (USGv6 DHCPv6_1_2_07e,1_3_03) +- dhcp6: Consider ppp interfaces supported (gh#openSUSE/wicked#924) +- team: Fix to configure port priority in teamd (bsc#1200505) +- firewall-ext: No config change on ifdown (bsc#1201053,bsc#118950) +- wireless: Fix SEGV on supplicant restart (gh#openSUSE/wicked#931) +- wireless: Add support for WPA3 and PMF (bsc#1198894) +- wireless: Remove libiw dependencies (gh#openSUSE/wicked#910) +- client: Fix SEGV on empty xpath results (gh#openSUSE/wicked#919) +- client: Add release options to ifdown/ifreload (jsc#SLE-10249) +- dbus: Clear string array before append (gh#openSUSE/wicked#913) +- socket: Fix SEGV on heavy socket restart errors (bsc#1192508) +- systemd: Remove systemd-udev-settle dependency (bsc#1186787) + +------------------------------------------------------------------- +Wed Apr 13 11:43:38 UTC 2022 - Marius Tomaschewski + +- version 0.6.69 +- redfish: decode smbios and setup host interface + Add initial support to decode the SMBIOS Management Controller Host + Interface (Type 42) structure and expose it as wicked `firmware:redfish` + configuration to setup a Host Network Interface (to the BMC) using the + `Redfish over IP` protocol allowing access to the Redfish Service (via + redfish-localhost in /etc/hosts) used to manage the computer system. + Tech Preview (jsc#SLE-17762). +- buffer: fix size_t length downcast to uint, add guards to init functions +- wireless: fix to not expect colons in 64byte long wpa-psk hex hash string +- xml-schema: reference counting fix to not crash at exit on schema errors +- compat-suse: match sysctl.d /etc vs. /run read order with systemd-sysctl, + remove obsolete (sle11/sysconfig) lines about ifup-sysctl from ifsysctl.5. +- compat-suse: fix reading of sysctl addr_gen_mode to wrong variable +- auto6: fix to apply DNS from RA rdnss after ifdown/ifup (bsc#1181429) +- removed obsolete patch included in the master sources (bsc#1194392) + [- 0001-fsm-fix-device-rename-via-yast-bsc-1194392.patch] + +------------------------------------------------------------------- +Wed Jan 19 16:36:28 UTC 2022 - Marius Tomaschewski + +- 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] + +------------------------------------------------------------------- +Tue Dec 21 08:44:56 UTC 2021 - Clemens Famulla-Conrad + +- version 0.6.68 +- sysctl: process sysctl.d directories as in sysctl --system +- sysctl: fix sysctl values for loopback device (bsc#1181163, bsc#1178357) +- dhcp4: add option to set route pref-src to dhcp IP (bsc#1192353) +- cleanup: warnings, time calculations and dhcp fixes (bsc#1188019) +- wireless: reconnect on unexpected wpa_supplicant restart (bsc#1183495) +- tuntap: avoid sysfs attr read error (bsc#1192311) +- ifstatus: fix warning of unexpected interface flag combination (bsc#1192164) + +------------------------------------------------------------------- +Thu Nov 4 08:06:33 UTC 2021 - Marius Tomaschewski + +- dbus: config files in /usr shouldn't be marked as config in spec + +------------------------------------------------------------------- +Fri Oct 1 14:19:44 UTC 2021 - Marius Tomaschewski + +- version 0.6.67 +- dbus: install bus config in /usr (bsc#1183407,jsc#SLE-9750) +- logging: log reaped sub-process command and as debug, not error +- ifstatus: Don't show link as "up" without RUNNING flag set +- firewalld: Make the zone assignment permanent (boo#1189560) +- fsm: cleanup and improve ifconfig and ifpolicy access utils +- dbus: cleanup the dbus-service.h file and unused property macros +- cleanup: applied code-spell run typo corrections +- dracut: initial fixes and improved option handling (boo#1182227) + +------------------------------------------------------------------- +Tue Jun 15 17:30:40 UTC 2021 - Marius Tomaschewski + +- version 0.6.66 +- wireless: migrate to wpa-supplicant v1 DBus interface (bsc#1156920) + - support multiple networks configurations per interface + - show connection status and scan-results (bsc#1160654) + - corrected eap-tls,ttls cetificate handling and open vs. shared + wep,open,psk,eap-tls,ttls,peap parsing from ifcfg (bsc#1057592) + - cleanups and several other improvements, see changes + - updated man ifcfg-wireless manual pages +- nanny: fix identify node owner exit condition +- schema: several xml-schema and dbus/property improvements +- utils: format/parse bitmap to array and string alternatives +- client: expose ethtool --get-permanent-address option +- removed sle15-sp3 patches included in the master sources (bsc#1181812) + [- 0001-dhcp4-discover-on-reboot-timeout-after-start-delay.1181812.patch] + [- 0002-dhcp6-request-nis-options-on-sle15-by-default.1181812.patch] + +------------------------------------------------------------------- +Wed Apr 7 09:54:25 UTC 2021 - mt@suse.com + +- dhcp4: discover on reboot timeout after start-delay (bsc#1181812) + [+ 0001-dhcp4-discover-on-reboot-timeout-after-start-delay.1181812.patch] +- dhcp6: request nis options on sle15 by default (bsc#1181812) + [+ 0002-dhcp6-request-nis-options-on-sle15-by-default.1181812.patch] + +------------------------------------------------------------------- +Thu Mar 4 13:35:33 UTC 2021 - mt@suse.com + +- version 0.6.65 +- ifconfig: differentiate if to re-trigger dad on address updates (bsc#1177215) +- client: parse sysctl files in the correct order (bsc#1181186) +- ifup: fix for set up with unenslave from unconfigured master (boo#954329) +- rpm: prepare for new builds using usrmerged rpm macro (boo#1029961) +- rpm: Let wicked-service also provide service(network) +- cleanup: remove obsolete use-nanny=false (gh#openSUSE/wicked#815) +- dbus: add variant container, generic object-path and uint32 array macros + +------------------------------------------------------------------- +Wed Sep 30 16:37:00 UTC 2020 - rtorreromarijnissen@suse.com + +- version 0.6.64 +- avoid incomplete ifdown/timeout on route deletion error (bsc#1174099) +- dhcp4: add DHCLIENT_CREATE_CID to ifcfg (jsc#SLE-15770) +- wicked: fixes to ifreload on port changes (bsc#1168155,bsc#1172082) +- team: fix schema to use correct hwaddr_policy property (boo#1171234) +- team: enable ipv6 on ports when nsna_ping linkwatch is used (bsc#959556) + +------------------------------------------------------------------- +Wed Mar 4 13:24:18 UTC 2020 - mt@suse.com + +- version 0.6.63 +- spec: fix old libwicked package provides/obsoletes (bsc#1165180) +- ipv6: support to apply stable secret ifsysctl (jsc#SLE-6960) + +------------------------------------------------------------------- +Wed Feb 26 21:00:16 UTC 2020 - rtorreromarijnissen@suse.com + +- version 0.6.62 +- dhcp4: discard lease on client-id mismatch (CVE-2020-7217,bsc#1160906) +- dhcp4: free lease on response without message type (CVE-2020-7216,bsc#1160905) +- dhcp6: don't add free'd IA to ia_pd_list on T1>T2 (CVE-2019-18903,bsc#1160904) +- dhcp6: fix use-after-free on option parsing failure (CVE-2019-18902,bsc#1160903) +- utils: don't reject NULL var array names/keys breaking wicked duid dump +- routes: schema fix to avoid not applying rto_min incl. new time format (bsc#1160939) +- systemd: order start wicked after network-pre.target and openvswitch.service start +- packaging: use pkgconfig(libsystemd) instead of systemd-devel +- misc bug fixes by Malte Kraus including undefined behaviour, memory access alignment +- corrections, use-after-free, missed initialization and format errors + +------------------------------------------------------------------- +Wed Dec 11 11:23:05 UTC 2019 - mt@suse.com + +- version 0.6.61 +- dracut: add initial cmdline parsing as a config source +- address: don't check hwaddr length if parsing as ARPHRD_VOID +- utils: added find and insert var array utils, cleanup +- client: add show-policy command calling policy generation +- client: initial support to generate a basic policy directly +- client: cleanup convert and show-config commands + +------------------------------------------------------------------- +Fri Oct 4 11:41:32 UTC 2019 - mt@suse.com + +- version 0.6.60 +- libwicked: fix versioning and packaging (bsc#1143182,bsc#1132977) + shipping the internal helper library inside of the wicked package. + +------------------------------------------------------------------- +Thu Sep 19 16:36:26 UTC 2019 - mt@suse.com + +- version 0.6.57 +- dhcp6: omit noprefixroute with address-length (bsc#1150972) + Permit to assume that the address prefix-length override specified + in the config is a valid on-link prefix length, to let the kernel + create a route for this prefix. +- dhcp6: differentiated mode=auto resolving from RA (bsc#1150183) + Fixed to not trigger to report an error when ipv6 RA is not + available or the received RA disables dhcp while mode is set to + auto, but to deliver a 'deferred' results. + +------------------------------------------------------------------- +Fri Sep 6 18:41:46 UTC 2019 - mt@suse.com + +- version 0.6.56 +- dhcp6: initial support to request prefix for delegations (jsc#SLE-5936) +- dhcp6: set the noprefixroute address option (bsc#1132280) + +------------------------------------------------------------------- +Wed Aug 14 17:23:36 UTC 2019 - rtorreromarijnissen@suse.com + +- version 0.6.55 +- dhcp6: do not default to a /64 address prefix-length (bsc#1132280) + Add an address-length aka DHCLIENT6_ADDRESS_LENGTH ifcfg option, which + permits to specify explicit prefix-length to use for the DHCPv6 address + and override detection using RA prefix info and a default to /128. +- time: use boot time for timer instead of real time (bsc#1129986) +- dhcp: Consistently log dhcp xid and enabled to log dhcp6 timings line. +- dhcp6: lower unexpected xid messages to debug level +- systemd: change to depend on udev settle service (bsc#1136034,bsc#1132774) + Calling udevadm settle directly caused systemd to kill wicked services. +- bridge: honour ifcfg LLADDR and set link address (bsc#1042123,boo#1142670) +- rfkill: fix switch statement to check enum variable not a constant (bsc#1140117) +- man: ifcfg-ovs-bridge(5): recommend STARTMODE=nfsroot +- dhcp4: nullify defer timer pointer when timeout (openSUSE/wicked#798,bsc#1142214) +- dhcp4: fix to request routing options when custom options are used (bsc#1132326) +- testing: add ifbind.sh helper script allowing to test hotplugging + +------------------------------------------------------------------- +Fri Apr 5 13:17:07 UTC 2019 - mt@suse.de + +- version 0.6.54 +- switch to use systemd notify and prevent event backlog at start + by calling udevadm settle before starting wickedd (bsc#1118206) +- dhcp6: don't discard confirm reply without status (bsc#1127340) +- ethtool: set lro legacy flag and not txvlan (bsc#1123555) +- init memory before use in ioctl +- fsm: fix find pending worker loop segfault (boo#1106809) + +------------------------------------------------------------------- +Thu Jan 24 17:50:03 UTC 2019 - rtorreromarijnissen@suse.de + +- version 0.6.53 +- dhcp: request hostname/fqdn option in the tester (bsc#1118378) +- build: link with relro by default for binary hardening + +------------------------------------------------------------------- +Fri Nov 16 11:38:24 UTC 2018 - mt@suse.de + +- version 0.6.52 +- wickedd: fix netdev detection bootstrap race (bsc#1107579) +- compat: fix ifcfg parsing crash if network/config is missed + +------------------------------------------------------------------- +Fri Oct 26 12:36:25 UTC 2018 - mt@suse.de + +- version 0.6.51 +- wireless: fix eap peap auth mapping for wpa-supplicant (bsc#1026807) +- vxlan: fix to convert dst_port to network byte order + +------------------------------------------------------------------- +Fri Oct 5 11:06:49 UTC 2018 - rtorreromarijnissen@suse.com + +- version 0.6.50 +- firewall: do not assign default zone, but pass as is (bsc#1109147) +- nanny: fix memory leaks on fast create-delete calls (bsc#1095818) + + fsm: cleanup worker reset (reinit) vs. free + + fsm: do not process or pass pending workers to nanny + + nanny: catch init failures in device registration + + netdev: allow NULL in get and put functions + + model: fix to call (netif) dbus object destructors + + model: removed server specific call in netif destroy + + fsm: handle NULL in worker get and release calls + + fsm: process device delete event separately + + calls: split get netif service and netif list utils + + xml-schema: fix range constraint values parsing + + xml-schema: remove underscores from ni_xs_type_new + + xml-schema: fix type leak around ni_xs_build_one_type + + fsm: free worker control mode on worker free + + xpath: trace and free complete xpath expression tree + + nanny: fix config leak in ni_nanny_recheck_policy + + dbus: free pending call in ni_dbus_connection_call + + dbus: free dbus_message_iter_get_signature result + +------------------------------------------------------------------- +Fri Sep 21 14:27:21 UTC 2018 - rtorreromarijnissen@suse.com + +- version 0.6.49 +- dhcp6: fix to properly decline dynamic addresses +- extensions: do not use /etc/HOSTNAME artifact (bsc#972463) +- ethtool: call offload ioctl if requested by offload name, + e.g. tso has been split into several features and the + old STSO offload ioctl sets multiple features at once. +- ethtool: add missing pause support (bsc#1102871) +- dhcp6: refresh info using rfc4242 info-refresh-time +- dhcp6: add ia and ia addr list search utilities, improve + status utils and use timeval struct in ia acquired times +- dhcp6: restart on NotOnLink status request reply +- ifcfg: show unknown/invalid bootproto as error +- dhcp6: Fix server preference and weight option behaviour +- dhcp6: retrigger duplicate detection on all address updates +- man: add ifcfg-lo.5 manual page +- man: add missing documentation for DHCLIENT6_CLIENT_ID +- man: improved create-cid docs in wicked-config(5) (bsc#1084527) + +------------------------------------------------------------------- +Fri Jun 1 16:15:28 UTC 2018 - ndas@suse.de + +- version 0.6.48 +- address cache-info and lease acquisition time fixes and cleanups +- ethtool: streamline options available on all devices (bsc#1085786) +- dhcp4: expose broadcast response as DHCLIENT_BROADCAST in ifcfg + +------------------------------------------------------------------- +Fri Mar 23 16:56:33 CET 2018 - ndas@suse.de + +- version-0.6.47 +- ipoib: do not fail setup on mode or umcast set failure (bsc#1084462) +- bond: avoid reenslave failure in fail_over_mac mode (bsc#1083670) +- Fix show-xml filtering by interface name (issue #735,bsc#954758) + +------------------------------------------------------------------- +Fri Mar 16 16:34:59 CET 2018 - ndas@suse.de + +- version-0.6.46 +- ifconfig: refresh state before link reenslave hotfix (bsc#1061051 +- ethtool: query priv-flags bitmap first (bsc#1085020) +- util: fix a memory leak in ni_var_array_free +- client: refactor arp utility to add missed arp ping (bsc#1078245) +- dbus: omit zero-length hwaddr data properties + +------------------------------------------------------------------- +Mon Feb 26 07:24:07 UTC 2018 - mt@suse.de + +- version 0.6.45 +- ibft: no IP setup on bnx2x storage-only interfaces (bsc#1072343) +- fixed format, self compare and always true issues + +------------------------------------------------------------------- +Fri Feb 2 15:26:32 UTC 2018 - mt@suse.de + +- version 0.6.44 +- dhcp4: use rfc4361 client-id as new default for ethernet on sle15 + (fate#323576). It can be also enabled/disabled in wicked-config(5). +- client: fixed broken wicked arp utility command (bsc#1078245) +- cleanup: add missing/explicit designated field initializers +- pkgconfig: fix to request libnl3 instead of libnl1 +- dbus: add missing DBUS_ERROR_FAILED type to a dbus_set_error call + and enforce formatting input as string when an extension did not + returned any error message. +- Removed patch included in the source archive + [- 0001-wickedd-explicitly-unbind-slaves-on-deletion.patch] + +------------------------------------------------------------------- +Thu Dec 21 11:49:14 UTC 2017 - mt@suse.de + +- wickedd: clear master references on slaves when a master gets + deleted and the deletion event arrives before unenslave event + to avoid a bridge reenslave failure on restart (bsc#1061051). + [+ 0001-wickedd-explicitly-unbind-slaves-on-deletion.patch] + +------------------------------------------------------------------- +Sat Dec 16 01:34:13 UTC 2017 - mt@suse.de + +- version 0.6.43 +- ifconfig: set MTU even if device is up (bsc#1059292) +- dhcp6: reapply confirmed addresses, also on any confirm + status other to not-on-link + +------------------------------------------------------------------- +Fri Dec 1 12:44:34 UTC 2017 - mt@suse.de + +- version 0.6.42 +- spec: use new _fillupdir macro for fillup-templates (boo#1069468) +- dhcp: clear hostname on lease recovery/reboot (bsc#1057007) +- firewall: add firewalld and zone support (fate#320794) +- ifconfig: cleanup slaves before enslaving (bsc#1036675) +- ethtool: add rxvlan, txvlan, ntuple and rxhash offloads +- ethtool: handle channel parameters (bsc#1043883) + +------------------------------------------------------------------- +Fri Jul 28 14:09:39 CEST 2017 - ndas@suse.com + +- version 0.6.41 +- dhcp6: fix to send up to 5 release retransmissions +- ifconfig: do not stop adding routes on one bad route (bsc#1036619) +- dhcp4: fix to use rfc4361 client-id on infiniband (bsc#1022872) +- man: ifcfg.5: Fix directory name for compatibility scripts +- dhcp4: own check for user class id strings (bsc#1045522) +- dhcp: cleanup common option update flags (bsc#1027099) +- vxlan: convert ifcfg VXLAN_REMOTE_IP to remote-ip + +------------------------------------------------------------------- +Thu May 4 12:56:33 UTC 2017 - mt@suse.de + +- version 0.6.40 +- fsm: clone bound config and cleanup references fixing ifindex + reference handling in iBFT vlan configuration (bsc#1030053) +- updater: fix to not leave orphaned bg jobs on device delete, + causing to block processing of synchronized jobs (bsc#1029133) +- vxlan: initial support (boo#1026780) +- dhcp: correct and complete fqdn option support (bsc#1025757) +- bonding: properly send primary reselect to kernel (bsc#1027231) +- dbus: fix caller-uid timeout to 15sec, not 15ms (bsc#1026683) +- ethtool: handle ring,coalesce,eee parameters (bsc#1007909) +- bond: fix xmit-hash-policy option mismatch (bsc#1021914) +- ifconfig: avoid timeouts on large number of IPs by performing + ipv4 duplicate address detection, apply and sending gratuitous + ARP for chunks of multiple addresses at once (bsc#1009801) + +------------------------------------------------------------------- +Fri Nov 18 12:08:22 UTC 2016 - mt@suse.de + +- version 0.6.39 +- dhcp: support to define and request custom options (bsc#988954), + documented in wicked-config(5) and ifcfg-dhcp(5) manual pages. +- dhcp6: fix refresh on newprefix workaround (boo#972471) +- dhcp4: do not fail in capture on link type change (bsc#975466) +- dhcp4: ignore invalid options, do not discard complete message + (https://github.com/openSUSE/wicked/issues/671) +- dhcp4: log and add sender (server or relay) ethernet hw-address + to the lease (https://github.com/openSUSE/wicked/issues/663) +- ifdown: show reasons to skip an action (bsc#997027) +- ifconfig: fix to consider address scope in dbus model (bsc#988794) +- bonding: set the primary slave in the master at enslave of the + primary when it were not yet ready while bond setup (bsc#998413) +- removed patch included in this version + [- 0001-dhcp-fixed-to-properly-append-dhcp-option-data.patch] + +------------------------------------------------------------------- +Mon Oct 10 18:42:38 CEST 2016 - ndas@suse.com + +- dhcp: fixed to properly append dhcp option data. + Bug introduced by changes applied in version 0.6.37 (bsc#988954). + [+ 0001-dhcp-fixed-to-properly-append-dhcp-option-data.patch] + +------------------------------------------------------------------- +Mon Sep 26 15:59:50 UTC 2016 - mt@suse.de + +- version 0.6.38 +- addrconf: rewrite to run lease updates in background jobs and use + netconfig 0.84 batch support if available (bsc#989741). + Fixed auto4 and dhcp supplicants to explicitly stop device before + unregistering dbus object to disarm it and return release request + result before sensing the released event. + Fixed fsm to not advance fsm state on unrelated events and use new + call to refresh addresses from kernel for tentative checks in ifup. + +------------------------------------------------------------------- +Tue Aug 2 19:59:07 CEST 2016 - ndas@suse.de + +- version 0.6.37 +- auto6: do not apply rdnss/dnssl if autoconf=0 (bsc#984088) +- addrconf: utility to parse string with update flags +- leasefile: added an lease file exists utility +- ifstatus: show IPv6 privacy addresses as autoconf +- updater: adjusted system settings update debug info +- updater: no remove before install on granted lease +- updater: no backup/restore for netconfig, unused +- updater: no warning on unset optional backup/restore +- man: added DHCLIENT_REQUEST_OPTION to ifcfg-dhcp +- leaseinfo: dump other/unknown dhcp options +- dhcp4: initial support to request custom options (bsc#916948,bsc#988954) +- lease: store and load other/unknown dhcp options +- utils: fixed last byte formatting in ni_format_hex +- dbus: handle unparsed dhcp options in leases +- dhcp4: store unparsed options in the lease +- addrconf: add generic dhcp options to lease +- dhcp: move specific dhcp.h to dhcp4.h and dhcp6.h +- ovs: use generic ovs type until we can query ovs (bsc#982231) +- dhcp4: send hostname in discover (bsc#985894) +- ifconfig: fixed to apply address preferred_lft 0 +- address: apply suse ifcfg IP_OPTIONS (bsc#984088) +- config: add a global LINK_REQUIRED ifcfg default +- client: apply global LINK_REQUIRED setting if any + +------------------------------------------------------------------- +Fri Jun 10 14:47:38 UTC 2016 - ndas@suse.de + +- version 0.6.36 +- ifreload: make output more informative (bsc#982952) +- rules: do not fail when kernel support is missed (bsc#981887) +- nanny: reapply policies on device renames (bsc#973355) +- iflist: fixed macvlan/macvtap link info data parsing +- auto6: apply rdnss/dnssl and wait for autoconf (bsc#902897,boo#916613) + +------------------------------------------------------------------- +Fri May 27 09:38:12 UTC 2016 - mt@suse.com + +- version 0.6.35 +- spec: removed ppp service template macro calls (fate#317976) +- bonding: support for new v3.7.1 netlink options in 4.4 kernel +- linux: update included headers to 4.4, add if_addr.h + +------------------------------------------------------------------- +Fri May 20 13:29:49 UTC 2016 - pwieczorkiewicz@suse.com + +- version 0.6.34 +- utils: fix for ni_string_set to set empty pointers +- team: fix for unclosed file descriptor and string memleak +- ppp: initial implementation of PPPoE support + (fate#317976,bsc#865573,boo#913861) + +------------------------------------------------------------------- +Wed May 4 09:31:11 UTC 2016 - mt@suse.de + +- version 0.6.33 +- route: initial routing policy rules support (fate#312217) + +------------------------------------------------------------------- +Fri Apr 15 15:40:07 UTC 2016 - mt@suse.de + +- version 0.6.32 +- tunnel: add device binding support (fate#317977) +- gre: fix flags use, added missed keyed gre options +- doc: added an initial FAQ to the documentation +- util: fix null string and string array in compare +- ipv6: cleaned up IPv6 RA PI and RDNSS processing +- ipv6: receive IPv6 RA DNSSL options forwarded by kernel +- dhcp6: refresh ipv6 link on each prefix event to fix workaround + for missed NEWLINK event on changes caused by RA (boo#972471). +- macvlan: fix enum values for BRIDGE and PASSTHRU modes (boo#974231) + +------------------------------------------------------------------- +Tue Apr 5 13:50:07 UTC 2016 - mt@suse.de + +- version 0.6.31 +- xml: fix to not assert on too long entities or missed semicolon + and fixed pointer use on DOCTYPE related parse error. +- ifconfig: re-add broadcast calculation (bcs#971629). + While the kernel does not need it and calculates itself, e.g. + glibc getbroadcastnets function used by yp expect it to be set. +- ifup: let ovs bridges pull ovs-system config and omit ovs-system + master reference in policy match (bsc#964019) +- fsm: fixed a negated check causing a segmentation fault in some + cases where the vlan config references a device without config. +- bonding: call setup routine at the end of create (bsc#964877), + fixed mismatched carrier-detect and validate-targets attributes + in schema and dbus, permit to set bonding's hardware address, + process bonding settings in newlink events and switched to create + and setup also bonding the master device via netlink by default. +- xml-schema: do not add description node to enums +- ifreload: let ifdown delete team instances (bsc#954012,bsc#964477) +- fsm: reset device_api of deleted workers (bsc#954012) +- removed patch included in the source archive + [- 0001-fsm-do-not-use-master-name-after-reset-bsc-959356.patch] + +------------------------------------------------------------------- +Mon Feb 22 12:24:21 UTC 2016 - pwieczorkiewicz@suse.com + +- fsm: do not segfault on device hierarchy loops (bnc#959356); + corrected pull#618 fix to not reset master and use its name then. + [+ 0001-fsm-do-not-use-master-name-after-reset-bsc-959356.patch] + +------------------------------------------------------------------- +Fri Jan 29 12:32:20 UTC 2016 - mt@suse.de + +- version 0.6.30 +- wireless: fix EAP inconsistencies and add missing auth method + names to translation maps (bsc#936514, boo#927615). +- ipv6: clear old address list before applying new fixing to not + wait full time in the client-side tentative address check +- fsm: do not segfault on device hierarchy loops but (bnc#959356) +- fsm: handle down/step back events in ifup flow instead to try to + workaround in nanny (bsc#955864). +- man: documented how to declare several team link watches. +- ethtool: map da,none,other port types (bsc#957944). +- ipv4: removed pointless broadcast calculations and send to the + kernel only if explicitly requested in ifcfg file or by dhcp + options. The kernel has an own logic to automatically calculate + related settings as needed. Also removed broadcast setting from + ifcfg-lo to not override kernel's setup (bsc#944710). + +------------------------------------------------------------------- +Fri Nov 20 17:06:10 UTC 2015 - mt@suse.de + +- version 0.6.29 +- rpm: do not use systemctl show in scripts (bsc#955778) + systemctl show makes a systemd query and does not work in + a chroot or when systemd is not available and using it in + RPM scripts breaks offline update. Replaced with readlink. +- team: fix to use proper names of ethtool delay options +- nanny: skip recheck when no policy configured (bsc#953107) + +------------------------------------------------------------------- +Thu Nov 12 16:19:49 UTC 2015 - mt@suse.de + +- version 0.6.28 +- fsm: dynamically resolve references and requirements (bsc#954289) +- nanny: do not pull in and rearm subordinate workers (bsc#954289) +- nanny: fix managed policy list handling (bsc#953107) +- ifup: do not update policy when it has been created and recheck + with a name filter list instead to enable separately to avoid a + race condition (bsc#953107) +- ovs: do not require link on ovs-system device + +------------------------------------------------------------------- +Thu Oct 22 09:53:35 UTC 2015 - mt@suse.de + +- version 0.6.27 +- nanny: fix policy file reading and objects references (boo#916035) +- ovs: use --may-exist option in add-port (bsc#951315) commands to + avoid error messages when the port is already in the db. +- netconfig: do not refresh unrelated details in supplicants +- service: fixed wicked client and nanny dependencies (bsc#950333). +- service: restart wickedd* on dbus restart (bsc#941964) +- fsm: do not follow link-up checks on configured master devices + not involved in the current ifup operation (bsc#948423). +- client: added more comfortable "wicked test dhcp[46]" commands + executing the wickedd-dhcp[46] in their --test mode (bsc#942278) + +------------------------------------------------------------------- +Fri Oct 9 14:10:06 UTC 2015 - mt@suse.de + +- version 0.6.26 +- nanny: add link device references to policy match (bsc#941611) + This causes, that nanny checks and waits until the configuration + for link references is applied by ifup (master device worker is + available) in order to not start managing ports/slaves and fail + on unresolvable requirements with "document error" first. + Unavailable reference matches caused a timing race, where nanny + omits to enslave ports into master (e.g. a dummy into ovsbr), + but was not limited to ovs setups. +- dhcp4: fix to request offer by default in --test (bsc#942278) +- teamd: adjust permissions of the teamd interface config to be + owned by teamd user if available and to always re-read dbus + busname from the service file (bsc#947542) + +------------------------------------------------------------------- +Fri Sep 25 11:21:26 UTC 2015 - pwieczorkiewicz@suse.com + +- version 0.6.25 +- compat: read complete sysctl file set (bsc#928459) +- wireless: fixed to parse/format hex escapes in essid (bsc#928459) + +------------------------------------------------------------------- +Thu Sep 17 16:58:11 UTC 2015 - pwieczorkiewicz@suse.com + +- version 0.6.24 +- auto4: initial autoip and dhcp4 fallback fix (bsc#899985) +- ethtool: update to the most recent ethtool.h, fixed + advertised mode and flags (bsc#927309) +- dhcp4: verify received client-id, accept hex encoded id +- ovs: fixes for ovs bridge handling +- make: fixed to add linux header copies as noinst + +------------------------------------------------------------------- +Mon Sep 7 14:42:45 UTC 2015 - pwieczorkiewicz@suse.com + +- version 0.6.23 +- ovs: initial openvswitch bridge support (fate#318840) +- team: fix segfault on discovery failure +- nanny: register device object also on device-up event + +------------------------------------------------------------------- +Tue Sep 1 09:06:56 UTC 2015 - mt@suse.de + +- version 0.6.22 +- fsm: do not run post-up scripts when leases defer (bsc#940239) +- team: configurable teamd support and ctl detection (fate#318389) + [- 0001-teamd-create-teamd-run-directory-when-missed.patch] + +------------------------------------------------------------------- +Thu Aug 20 15:25:08 UTC 2015 - pwieczorkiewicz@suse.com + +- Add 0001-teamd-create-teamd-run-directory-when-missed.patch: + Make sure /run/teamd directory is created on config generation. + +------------------------------------------------------------------- +Wed Aug 19 17:22:25 UTC 2015 - pwieczorkiewicz@suse.com + +- version 0.6.21 +- team: initial team device support (fate#318389) +- ifstatus: fixed error return code and quiet option (bsc#939142) + +------------------------------------------------------------------- +Fri Jul 31 16:41:26 UTC 2015 - pwieczorkiewicz@suse.com + +- version 0.6.20 +- spec: enable nanny use by default (fate#318977) +- ifconfig: handle link up of externally enslaved devices + (fate#318840) +- ifcfg: generate link master from master config, + added MASTER_DEVICE variable +- fsm: master/slave transition dependency and state check fixes +- fsm: improve subordinate device relation updating and logging +- fsm: reference count config nodes to avoid memleaks +- ethtool: fix option tables terminator (bsc#925276) +- scripts: fixed typo breaking wicked scheme scripts +- sysfs: fixed memleak while reading device path +- client: client: config parsing, origin processing, root-directory + cleanup and memory leak fixes. +- xml: fixes to memory leaks, location functions cleanup +- firmware: properly extract discovery type and path + +------------------------------------------------------------------- +Fri Jul 3 14:35:02 UTC 2015 - mt@suse.de + +- version 0.6.19 +- dhcp4: improve invalid dhcp options handling (boo#918069) +- dhcp6: just drop an info lease on release request and stop +- dhcp6: refresh ipv6 link on newprefix in auto mode to + workaround, that the kernel does not send us events about + mode change when RA timers are unspecified (bsc#934067) +- ethtool: do not warn when reading ethtool settings while + netlink newlink processing and the device is already gone. +- ibft: ignore invalid default gateway (0.0.0.0 and ::) + provided by the firmware (bsc#903759) +- wireless: handle ANY for WPA-EAP methods and send passwd + when phase2 method isn't set (boo#927615) +- bonding: don't insist, that arp_validate=none default is + valid in active-backup mode only (boo#919573) +- wickedd: fix to send requested device-up event ack +- nanny: fix error handling for NULL policy objects and fix + to not compare iftype to a dbus class name (boo#931288) +- nanny: ensure a device is ready to satisfy a policy match +- nanny: fixes improving delete and hotplug handling +- ifup: do not recurse when generating nanny policy matches +- ifreload: properly handle some config rename cases +- fsm: ensure to process events in order and don't advance + fsm state from events when device state outdistances it. +- schema: cleanup netif-reference meta:require checks. +- spec: require util-linux-systemd providing logger (bsc#911310) +- conditionally enable nanny use (boo#915025,bsc#916402) + +------------------------------------------------------------------- +Sat Apr 25 00:18:30 UTC 2015 - mt@suse.de + +- version 0.6.18 +- initial pre/post-up/down script and systemd service start support + (bsc#920070,boo#907215) +- fixed lease address owner and lifetime tracking to update address + lifetimes on dhcp6 renewal, correctly drop (requesting/deferred) + leases in wickedd not (yet) existing as lease in dhcp supplicants + and avoid address exists error messages (bsc#920889,bsc#907694) +- add missed wpa_supplicant's wireless mode names (bsc#927616) +- schema: require macvlan lower device same as vlan (bsc#927065) +- fixes to use only ready devices by name to avoid dependency + confusion mapping config to wrong device, event races and wrong + use of the link-up instead of the wireless link-associated event + (bsc#918662,bsc#921218). + +------------------------------------------------------------------- +Mon Feb 23 09:44:07 UTC 2015 - rguenther@suse.com + +- Build with -std=gnu89 to deal with GCC 5 defaulting to -std=gnu11 + and that changing the semantics of 'inline' + +------------------------------------------------------------------- +Thu Feb 19 10:43:23 UTC 2015 - pwieczorkiewicz@suse.com + +- version 0.6.17 +- nanny: fixed a memory-leak on policy load failure +- wickedd: fixed broken dummy0 autocreation workaround + +------------------------------------------------------------------- +Tue Feb 17 10:21:16 UTC 2015 - mt@suse.de + +- version 0.6.16 +- ifreload: segfault fix to require argument for --timeout option +- client/nanny: initial handing of link-detection/require-link and + timeout control flags (LINK_REQUIRED, LINK_READY_WAIT variables in + suse ifcfg) to continue setup without ready link when requested in + the config or based on device requirements (bsc#911562,bsc#914792). +- client/nanny: wait for event ACKs from wickedd instead to continue + on successful request results where possible, to minimize the risk + of an event backlog (bsc#905421). +- client/nanny: fsm timer and cleanup related fixes and improvements, + fix to use "device-setup" (MAC, bond/bridge options, ...) as state + name instead of "device-up" and use "device-up" as state when the + device/link is administratively set UP. Separated waitLinkUp method + to wait for link/carrier from linkUp setting it administratively UP. +- wickedd: fix to handle automatically created dummy0 interface +- wireless: consider auth-proto parameter (wpa1|wpa2) (bsc#911299) +- ipv6: add accept-dad sysctl support, fix accept-ra constants +- dhcp4: do not set/query mtu if set in the config (bsc#904323) +- dhcp4: limit MTU to be lower-equal 576 as before +- dhcp4: completed user-class option support permitting an rfc3004 + formatted option or as non-rfc, but widely used string (bsc#909307) + +------------------------------------------------------------------- +Fri Jan 23 13:05:39 UTC 2015 - mt@suse.de + +- version 0.6.15 +- nanny: use ifindex to reference workers in managed devices + and hold worker references when starting fsm (bsc#904061) +- nanny: Always reference mdev's worker by ifindex (bsc#904061) +- nanny: register discovered devices only when ready (bsc#904061) +- events: query and update device name on events (bsc#904061) +- udev: verify netdev index and update name at start, disable + ready handling if udev is not used, e.g. in LXC (bug#904061) +- xml: don't require parent's control node in config (bsc#901517) +- wireless: use string dict entry for WIRELESS_AP/bssid (bsc#911315) +- extensions: fixed false errors from hostname update (bsc#910323) +- tuntap: typo fix causing to not set IFF_NO_PI flag +- fixed some memory leaks in client and dbus object code +- doc/ChangeLog: do not omit merge commits which contain bug refs + +------------------------------------------------------------------- +Fri Dec 19 11:53:58 UTC 2014 - mt@suse.de + +- version 0.6.14 +- client: fixed segfault in status (bsc#908554) +- bonding: add new/missed bonding options (bsc#905750) +- systemd: service ordering dependencies (bsc#895600,bsc#901337) + +------------------------------------------------------------------- +Mon Dec 8 18:13:06 UTC 2014 - mt@suse.de + +- version 0.6.13 +- sysctl: do not fail on read-only proc e.g. in LXC (bsc#904432) +- netlink: recover from netlink event socket errors and allow to + configure the event socket buffer sizes (bsc#905421) +- fixed some memory and a file descriptor leak +- bonding: add encap2+3 and 3+4 xmit-hash-policies (bsc#905750) +- client: apply suse ifcfg alias label (bsc#907683) +- netlink: retry on DUMP_INTR and AGAIN (bsc#904776) +- gcrypt: do not fail when wicked has been build using a newer + but compatible library than the currently used (bsc#906217) +- compat: use info level on unspecified ip (bsc#904903) +- compat: fix tap group node generation (bsc#904380) +- sit,ipip,gre: generate tunnel config on change (bsc#901402) +- fsm: always refresh worker on device-ready event and match only + ready devices against config workers (bsc#904061) +- fsm: perform tentative check on all started interfaces with + nanny (bsc#900951) + +------------------------------------------------------------------- +Fri Oct 10 12:06:15 UTC 2014 - pwieczorkiewicz@suse.com + +- version 0.6.12 +- ethernet: Do not fail when ETHTOOL_GSET/SSET fails + (bnc#900401, bnc#900112) +- dbus: omit ethernet speed, duplex, autoneg properties if not + supported by the driver +- ethtool: independent ioctl requests are handled separately: + if one fails it does not stop the following ones +- wireless: request assosciation even if link was up; linkup + indicates assosciation, rather than explicit linkAssosciate + event (bnc#893665) +- bonding: ignore redundant slaves in configs with a warning +- fsm: Generate default config for children in existing relation +- compat: prefer /etc/hostname over /etc/HOSTNAME and warn about + missed global configs (bnc#887910) + +------------------------------------------------------------------- +Fri Sep 26 14:50:43 UTC 2014 - pwieczorkiewicz@suse.com + +- version 0.6.11 +- client-state: Do not fail on parsing empty origin and uuid + (bnc#890084) +- hwaddr: change hwaddr only when valid (bnc#898622) +- ifup/ifstatus: no failure report on failed/deferred lease, + correctly OR grouped lease status (bnc#896188) +- ifup,ifreload: wait for all tentative addresses +- config: improved allowed update mask/defaults +- man: added startmode hotplug and use-nanny (bnc#896403), +- Introduce ifcfg-dhcp man page covering DHCLIENT and + DHCLIENT6 vars, remove template reference from ifup(8), + ifcfg-wireless(5), reference ifcfg-dhcp(5) +- README: updated / improved +- rpm: dbus policies as noreplace config (bnc#897775), + reload dbus in wicked-service post-install (bnc#897775) +- fsm: corrected device hierarchy structure print +- routes: generate routes also without IP (bnc#895219), + show a note about not matching routes (bnc#895219) +- ethernet: lower ethtool not supported messages to debugs + +------------------------------------------------------------------- +Fri Sep 19 14:16:26 UTC 2014 - mt@suse.de + +- version 0.6.10 +- ifconfig: apply address lease priorities same as for routes + to dhcp6 to takeover addresses from guessed lower-priority + leases e.g. after restart and adjust lifetime on renewal. +- routes: lookup and accept custom table names defined in the + /etc/iproute2/rt_tables file and set forgotten route table + netlink attribute if provided by the kernel (bnc#885007). +- ethernet: do not fail when some ethtool operation is not + supported (bnc#897264) +- fsm: add link-masterdev relation when all dependencies are + already created and detect existing/conflicting masterdev + references. + +------------------------------------------------------------------- +Wed Sep 17 11:12:57 UTC 2014 - pwieczorkiewicz@suse.com + +- version 0.6.9 +- ifstatus: address status reporting improvements, adding --verbose + parameter +- addrconf: correctly fetch lease info flags, disarmed old auto6 + code, added prerequires (bnc#894885) +- fsm: Do not destroy schema requirements on rearm +- ipv6: added accept-ra sysctl support, auto6 code clean-up +- ifconfig: fixed lease updater allocation + +------------------------------------------------------------------- +Tue Sep 16 03:25:28 UTC 2014 - mt@suse.de + +- version 0.6.8 +- ifup,reload,status: return setup-in-progress code, + fix exit code override when systemd in picture and + disable pulling device status from addresses +- ifstatus: report slaves device as enslaved +- fixed to not reset master device name on success +- lower printout of debug messages (bnc#891036) +- nanny: correctly initialize timeout variable to + busy wait instead to wasting cpu using poll with + a 0 timeout (bnc#895970) + +------------------------------------------------------------------- +Wed Sep 10 09:34:53 UTC 2014 - pwieczorkiewicz@suse.com + +- version 0.6.7 +- config: fixed optional include attribute parsing bug introduced + in version 0.6.6 and causing wicked to fail while config parsing. +- util: install signal handlers only once + +------------------------------------------------------------------- +Tue Sep 9 15:20:02 UTC 2014 - pwieczorkiewicz@suse.com + +- version 0.6.6 +- Add wake-on-lan support (bnc#869114) +- ifconfig: delete address first if address differs (bnc#890406) +- config: support a local.xml file, clean-up of config file syntax +- man page wicked-config.5 update +- Clean-up and removing unused functions + +------------------------------------------------------------------- +Fri Sep 5 15:14:37 UTC 2014 - mt@suse.de + +- version 0.6.5 +- nanny: fixed to reset on rearm and to hotplug bonding slaves + (bnc#884012,bnc#880515) + +------------------------------------------------------------------- +Wed Sep 3 22:34:51 UTC 2014 - mt@suse.de + +- version 0.6.4 +- dhcp6: changed --test to request in auto mode, recheck RA + and try to start on new device-change events (bnc#889981) +- address: enable events in wickedd and expose flags to make + them visible and up-to-date in ifstatus (bnc#889981) +- nanny: reset/rearm on enable/disable, do not arm at all + when the use-nanny is false (bnc#891045) +- leases: intrinsic lease installation hook improvements as + preparation for PPPoE support (bnc#865573) +- dhcp4: do not release and remove lease without request + (DHCLIENT_RELEASE_BEFORE_QUIT), randomized startup delay + (DHCLIENT_SLEEP) if enabled, handle defer timeout to stop + client waiting at ifup (DHCLIENT_WAIT_AT_BOOT), rebind and + reboot state fixes (bnc#866994) + +------------------------------------------------------------------- +Mon Sep 1 19:25:47 UTC 2014 - mt@suse.de + +- version 0.6.3 +- client/nanny: lease handling/status fixes (partial bnc#891045), + do not fail when slave/port is missing (bnc#889666,bnc#890275) +- ifstatus: Do not check for config files (bnc#889666,bnc#890275) +- dhcp4: advance secs field for dhcpd min-secs (bnc#889314), + retransmit DHCP4 renewals enter reboot state with valid lease. +- ifevent: increase netlink socket recv buffer size (bnc#884012) +- ipv6: wait for addresses to become usable (bnc#882259) +- fixed completed sit/gre/ipip tunnel support +- dhcp6: initial defer handling and no-addr cleanup (bnc#891045) +- dhcp: apply suse ifcfg dhcp options (bnc#866994) +- ifup/reload: use default timeout if 0 (bnc#892486) + +------------------------------------------------------------------- +Mon Aug 18 12:14:08 UTC 2014 - mt@suse.de + +- version 0.6.2 +- nanny: disable nanny use by default again (bnc#891045) +- fsm: generate default configs for ports/slaves (bnc#889666) +- dbus: increase signal/default call timeouts (bnc#890084) +- dhcp4: pad dhcp4 packet to correct minimal len (bnc#882561) +- dhcp4: apply interface MTU provided by server (bnc#890230) + +------------------------------------------------------------------- +Wed Aug 6 18:02:32 UTC 2014 - kmroz@suse.com + +- version 0.6.1 +- nanny: Do not call link monitor on enable() (bnc#884012, bnc#890643) +- bridge,bond: Add only device-ready ports/slaves +- ifup,ifdown,ifreload: correct command status display messages +- fsm: Add new, free, clone functions for ifworker arrays +- client-state: Allow printing empty origin and UUID (bnc#890084) + +------------------------------------------------------------------- +Fri Aug 1 13:02:20 UTC 2014 - mt@sue.de + +- version 0.6.0 +- client: added missed ifcfg remote-ip route match (bnc#889801) +- client: ifstatus/reload/up status reporting fixes (bnc#876845) +- client: calculate additional bridge STP timeouts (bnc#888323) +- nanny: do not use fsm default but infinite timeout (bnc#876845) +- nanny: save and load policies on restart to recover (bnc#876845) +- server: client configuration state load/save fixes (bnc#876845) +- ifconfig: fixed to close tun/tap device descriptor (bnc#889326) + +------------------------------------------------------------------- +Thu Jul 24 16:23:53 UTC 2014 - mt@suse.de + +- version 0.5.38 +- dhcp4: wait and discover if unable to rebind/reboot. +- ifreload: fixed to use nanny ifup flow when enabled, + fire nanny in down part, initial status info cleanup + (bnc#880515,bnc#884012) +- ifup/ifreload: apply wait-for-interfaces (bnc#888323) +- wickedd: fixed to process complete device state event + change transitions, avoiding manual refreshes breaking + them where possible (bnc#880515,bnc#884012) + +------------------------------------------------------------------- +Wed Jul 23 13:22:44 UTC 2014 - mt@suse.de + +- version 0.5.37 +- nanny: enabled nanny use for hotplugging (bnc#880515) + To disable again in case of trouble, edit /etc/wicked/common.xml + and set false, restart wickedd.service + and execute "wicked ifup all" to start the interfaces directly. +- ifdown: flush addrs and routes on device-down (bnc#885236) +- dhcp6: do not break ifdown if release fails (bnc#884012) + When the interface is not ready to send out a lease release, + commit the lease drop and notify wickedd, so ifdown goes on. +- ifup: update client-info and client-state on device-ready, + do not detect persistence but set if requested only (bnc#876845). + +------------------------------------------------------------------- +Mon Jul 21 18:23:54 UTC 2014 - mt@suse.de + +- version 0.5.36 +- ifup/nanny: refresh state data when address event arrives + to have complete lease data for status evaluation on timeout + (bnc#884012,bnc#876845) +- nanny: make policy application mechanism aware of children + dependency, fixed ifcondition child handling. +- ibft: enable ipv6, use sysfs prefix-len (bnc#887542) + +------------------------------------------------------------------- +Fri Jul 18 10:16:12 UTC 2014 - mt@suse.de + +- version 0.5.35 +- dhcp4: fix routes with gateway on other network than IP address + and use address class based netmask if it is missed (bnc#887586) +- route,address: check also gw address to set scope correctly and + omit sending a broadcast when equal to IP address (bnc#887586) +- ethtool: fix to set link speed, duplex and port options +- iflist: fix link type detection for tap devices (bnc#887564) +- ifup/reload: status reporting and complex device hierarchy fixes + +------------------------------------------------------------------- +Tue Jul 15 07:50:55 UTC 2014 - mt@suse.de + +- version 0.5.34 +- dhcp6: do not fail on read-only root-fs (bnc#885625) +- leases: fallback to statedir on read-only fs (bnc#885625) +- ifreload: hierarchy and multiple devices fixes +- ifreload: more diagnostic messages (bnc#882311) +- man: ifcfg(5) document update + +------------------------------------------------------------------- +Fri Jul 11 13:54:32 UTC 2014 - pwieczorkiewicz@suse.com + +- version 0.5.33 +- capture: lower to debug on reconfig changes device type (bnc#880700) +- policy: add node for policy condition checking +- client: do not apply NULL config to nanny and segfault +- client: lowering log level of "skipping" messages +- server: lookup using link not the hwaddr type +- dhcp6: use RA prefix len if available (bnc#885234) +- iflist: fixed to use proper kind mapping, cleanup, refactoring +- fsm nanny: fix handling of DEVICE_DOWN event +- nanny: adapt recheck to handle hotplug devices +- nanny: schedule recheck on new device when policy exists +- nanny: Change managed and factory up functions +- nanny: Disable unnecessary schedule recheck calls +- nanny: Fix handlin DEVICE_CREATE and DEVICE_READY events +- fsm: ni_fsm_build_hierarchy destructive switch +- nanny: Trigger recheck on factory devices from create policy +- client: include and sort children using nanny +- fsm: Proper subclass and superclass check in ni_ifcondition_type() +- nanny: create workers and assign config from create policy +- nanny: Clear config.node on delete policy +- nanny: disable down operation for now +- dhcp4: fix link type comparison during device up events +- fsm: Move ni_ifup_pull_in_children to FSM +- client, nanny: Add policies first, enable successful devices +- lib: added netdev_ref_resolve utility, improved related + +------------------------------------------------------------------- +Fri Jul 4 12:22:17 UTC 2014 - mt@suse.de + +- version 0.5.32 +- client: fixed hierarchy building to consider ifup/ifdown separately, + improved verbosity debug and error messages (bnc#883203,bnc#884012) +- fsm: Do not fail completely on broken configuration (bnc#883203) +- fsm: wait for existing configuration workers (bnc#876855, bnc#880515) +- ifstatus: fixed to report status of requested interfaces only, + moved device-ready flag to ifflags to be visible in xml status. +- ifreload: correctly set ipv4 and ipv6 enable flags disabled before. +- service: replaced incorrect network-online.target wants dependency + with a WantedBy network-online.target dependency (bnc#883565) +- dhcp4,dhcp6: create storedir at tester start (bnc#885005) +- routes: apply ipv6 routes without device (bnc#882425) +- routes: fix to apply routes to device (bnc#883838) + +------------------------------------------------------------------- +Fri Jun 27 11:02:57 UTC 2014 - mt@suse.de + +- version 0.5.31 +- fsm: maintain shared_users in refresh lowerdev (bnc#883976) + +------------------------------------------------------------------- +Thu Jun 26 21:21:33 UTC 2014 - mt@suse.de + +- version 0.5.30 +- ifdown: rebuild hierarchy from lower and masterdev to stop + requested interfaces in their correct order (bnc#883976) +- config: added true switch, which + allows to test using nanny -- default is false. +- client: log exec commands and exit codes as debug +- client: initial merge of nanny ifup and ifdown +- nanny: initial merge of nanny fork changes +- rpm: removed obsolete pkgconfig(systemd), use unitdir +- library: fixed versioning of internal wicked lib + +------------------------------------------------------------------- +Wed Jun 25 16:09:25 UTC 2014 - mt@suse.de + +- version 0.5.29 +- dhcp4: recover lease, correctly build requests (bnc#881475) +- ipv4: fix duplicate address detection (bnc#881475) +- service: added network-online.target to wants (bnc#883565) +- ibft: fixed to generate proper static address node, no + static config with dhcp origin and to verify mac in ibft + nic selection as it may be for offload device (bnc#883712) +- client: if needed refresh worker in addressAcquired callback +- client: wicked xpath subcommand argument check +- doc: README and manual page updates (bnc#874609,bnc#880262) +- client: require directory in --ifconfig compat (bnc#881544) +- dhcp: show progress notifications (bnc#874609) + +------------------------------------------------------------------- +Tue Jun 3 11:18:29 UTC 2014 - mt@suse.de + +- version 0.5.28 +- client: avoid FSM refreshes and unsolicited state updates causing + to exit at assert, drop config origin and UUID on ifdown causing + ifreload to do nothing (bnc#876848,bnc#880664). + +------------------------------------------------------------------- +Wed May 28 19:09:54 UTC 2014 - mt@suse.de + +- version 0.5.27 +- server: do not apply multiple equal priority (merics) routes + to the same destination (bnc#879842) +- compat: pass DHCLIENT_ROUTE_PRIORITY suse ifcfg variable to + the backend allowing to set custom mertics on dhcp4 routes + (bnc#879842) +- dhcp4: set protocol dhcp hint to all routes, strip domain + when sending a hostname option to not break ddns updates +- hostname: reload syslog after change (bnc#874161) +- dbus: do not close shared connections (bnc#880124) +- ipv4: new default to send gratuitous arp + Consider new suse ifcfg variable default SEND_GRATUITOUS_ARP=auto + for arp-notify, enabling to send gratuitous arp by default, when + duplicate IPv4 check is enabled via arp-verify/CHECK_DUPLICATE_IP + and the check were successful (bnc#879911,fate#314399). + +------------------------------------------------------------------- +Thu May 22 09:05:15 UTC 2014 - mt@suse.de + +- version 0.5.26 +- rpm: rpm: drop useless ghost dirs in spec (bnc#873857) +- client: do not try to fire nanny in ifdown, it is not hired yet + We do not install nanny policies by default in ifup, so it is + not needed to try to delete them in ifdown. There is currently + no nanny started in inst-sys and the attempt is causing ifdown + to run into timeouts (bnc#876848,bnc#879127). +- client: wait for optional leases, just don't fail + When waiting for a group-optional lease pair (dhcp4 or dhcp6) + and one arrives, wait for the second one until timeout and + recheck the results then (bnc#876848,bnc#879127). +- dhcp6: fix reset and allocate message buffer in build to use + clean buffer in release messages sometimes having crap behind. + +------------------------------------------------------------------- +Mon May 19 15:42:43 UTC 2014 - mt@suse.de + +- version 0.5.25 +- server: no unrequested device-ready events (bnc#871135) + This bug caused e.g. bridges not going up from device-exists + even they already were in device-ready state before. +- client: do not mix shared with exclusive references (bnc#877776) +- ifconfig: do not fail on delete for vanished devices +- nanny: drop policies on ifdown, turn some errors to debug +- sysconfig: add WICKED_DEBUG and WICKED_LOG_LEVEL variables + to /etc/sysconfig/network/config. +- man: added ifcfg-{dummy,macvlan,macvtap,tunnel},ifroute,routes + ifsysctl and updated already existing manual pages. + +------------------------------------------------------------------- +Wed May 14 11:01:39 UTC 2014 - mt@suse.de + +- version 0.5.24 +- rpm: use _rundir rpm macro if defined (bnc#873857) + +------------------------------------------------------------------- +Wed May 14 10:39:02 UTC 2014 - mt@suse.de + +- version 0.5.23 +- fsm: added device-ready wait processing syncing at udev network + device rename events (bnc#871135) +- ifup: no timeout report on group-optional leases (bnc#875154) +- ifstatus: no failure report if peer lease is up (bnc#875154) +- tunnels: discover gre,sit,ipip tunnels (read-only for now) +- client/nanny: utilities to convert ifconfigs into policy +- client: compare fix to consider configs using ifindex [ibft] + +------------------------------------------------------------------- +Thu May 8 15:30:30 UTC 2014 - mt@suse.de + +- version 0.5.22 +- status: show only available leases and inclusive their uuid +- ifup, ifstatus: cond. accept STARTMODE off and manual +- ifstatus: fixed address indenting in verbose mode +- wireless: add missing wpa_supplicant intermediate states. +- wireless: clear secrets as soon as they are used +- dhcp4+dhcp6: apply config uuid to lease and offer early +- dhcp4: accept packets without udp checksum (bnc#873267) +- do not close stderr in daemon() when used in log-target +- client: do not report transient errors by default + (partial bnc#875154 fix) + +------------------------------------------------------------------- +Sun Apr 27 11:39:36 UTC 2014 - mt@suse.de + +- version 0.5.21 +- dhcp6: fix to allow supported devices (bnc#874561) +- dhcp,autoip: log unsupported devices debug1 level only + +------------------------------------------------------------------- +Thu Apr 17 11:47:09 UTC 2014 - pwieczorkiewicz@suse.com + +- version 0.5.20 +- autoip4,dhcp4,dhcp6: fixed to create instance for supported + devices only to save memory and avoid allocation complains due to + packet capturing init failure +- lldp: fix infinite loops in ni_lldp_agent_update, + disable built-in support (rejected fate#313671, bnc#873299) +- dhcp4: do not send hostname to server in discover (bnc#873267) +- rpm: explicit piddir,statedir,storedir in spec +- generate ChangeLog file from git while make dist + +------------------------------------------------------------------- +Mon Apr 14 17:28:11 UTC 2014 - mt@suse.de + +- version 0.5.19 +- server/nanny: do not fail on missed dbus objects or object + creation errors due to already deleted interfaces in the + kernel while processing the event (bnc#867806,bnc#871388) +- netlink: verify if device still exists on newlink events +- nanny: fixed endless loop on policies without name and user + control default, added device mach with identify capabilities + +------------------------------------------------------------------- +Fri Mar 28 18:45:10 UTC 2014 - mt@suse.de + +- version 0.5.18 +- dhcp4: enabled on infiniband / IPoIB links +- capture: fixed to wrap link-layer packet sockets as the default + address length in sockaddr_ll is not enough for infiniband. +- dhcp6: enabled on infiniband / IPoIB links + +------------------------------------------------------------------- +Fri Mar 28 12:57:50 UTC 2014 - mt@suse.de + +- version 0.5.17 +- dhcp4: fixed posix-tz-dbname code and added to parse +- dhcp4: renew lease via unicast (bnc#866993) +- macvtap: initial support (fate#315131) +- ifstatus: do not consider client-state in ifstatus +- xml: fixed functions retrieving numerical attr values +- config: generate v5 UUIDs (SHA1) from xml config content + +------------------------------------------------------------------- +Mon Mar 24 11:28:05 UTC 2014 - mt@suse.de + +- version 0.5.16 +- ipv6: catch ipv6.disable=1 kernel command line (bnc#869334) +- client: read and apply sysctl/ifsysctl files to consider + ipv4/ipv6 forwarding, enable (disable_ipv6), ipv6 autoconf + and privacy (use_tempaddr) sysctl options (bnc#869334) +- client: do not complain about missed /etc/HOSTNAME +- dhcp4: fixed decline message and processing (bnc#869150) +- dhcp4: check if lease exists while processing arp (bnc#869150) +- removed obsolete drop default route patch (bnc#868187) + [- 0001-addrconf-drop-default-route-if-disabled-bnc-868187.patch] + +------------------------------------------------------------------- +Mon Mar 17 10:32:03 UTC 2014 - mt@suse.de + +- addrconf: drop default route if disabled (bnc#868187) + Honor a (per-interface) DHCLIENT_SET_DEFAULT_ROUTE=no in + suse ifcfg files and remove from lease before update runs. + [+ 0001-addrconf-drop-default-route-if-disabled-bnc-868187.patch] + +------------------------------------------------------------------- +Fri Mar 14 13:48:00 UTC 2014 - mt@suse.de + +- version 0.5.15 +- netlink: fixed masterdev reference name resolving bug +- bridge: lowered a questionable warning to debug +- added dummy interface support inclusive suse compat +- added tun/tap interface support inclusive suse compat +- netlink: fixed address parsing causing an abort on assert +- arp: verify ipv4 addresses by default (fate#314399) +- Enabled arp duplicate check for static ipv4 addresses as + default (RFC 5227) and send arp notify when requested in + suse ifcfg variables CHECK_DUPLICATE_IP(default yes) and + SEND_GRATUITOUS_ARP(default no). +- ipv6: corrected to apply inverted ipv6.enable flag +- utils: fixed array remove typo and socket array activate +- utils: use proper index in ni_string_array_remove +- utils: properly adjust array in remove actions +- socket: use proper array in socket array activate + +------------------------------------------------------------------- +Thu Mar 6 17:15:42 UTC 2014 - mt@suse.de + +- rpm: added sysconfig-netconfig require to wicked (bnc#867078) +- service: use explicit before/after ordering in all service + files (bnc#866732) + +------------------------------------------------------------------- +Wed Mar 5 14:52:04 UTC 2014 - mt@suse.de + +- bridge: fixed to set port link up (bnc#866860), also if they're + already part of the bridge (bnc#862530 regression). +- dhcp: bring link up if not yet up and wait until it is ready in + --test mode (used in network-autoconfig and dracut) instead to + complain and exit because link is not ready yet (bnc#866617). + +------------------------------------------------------------------- +Tue Mar 4 16:10:10 UTC 2014 - mt@suse.de + +- state: fixed a state-dir creation race condition (bnc#866757) + +------------------------------------------------------------------- +Fri Feb 28 13:28:35 UTC 2014 - mt@suse.de + +- version 0.5.14 +- util: fix ni_uuid_parse() and support 8-4-4-4-12 format only + +------------------------------------------------------------------- +Thu Feb 27 22:03:51 UTC 2014 - mt@suse.de + +- version 0.5.13 +- bridge: do not require link-up on ports (bnc#862530) +- bonding: try to enslave into bond using netlink +- extensions: disabled writing of wickedd.log (debug) file +- addrconf: avoid unwanted updates, update flag fixes (bnc#865325) +- compat: blacklist all and default interface names +- leaseinfo: fixed typo in BOOTSERVERNAME variable +- compat: read all suse ifcfg files and init timeout +- compat: allow backends return complete config +- client: exclude STARTMODE='manual' interfaces in ifup all + and ignore interfaces with STARTMODE='off' (bnc#864444) +- temporarily disable modem init from system +- disable wicked-devel subpackage to avoid wrong expectations +- nanny: do not update and client-state> by default + +------------------------------------------------------------------- +Fri Feb 21 10:17:42 UTC 2014 - mt@sue.de + +- version 0.5.12 +- wicked-devel: require libnl3-devel unconditionally + +------------------------------------------------------------------- +Fri Feb 21 09:47:51 UTC 2014 - mt@suse.de + +- version 0.5.11 +- wicked-devel: require libnl3-devel used for build in spec + +------------------------------------------------------------------- +Fri Feb 21 09:28:13 UTC 2014 - mt@suse.de + +- version 0.5.10 +- service: fix rpmlink suse-missing-rclink warnings +- compat: no systemd check via mountpoint in ifup (bnc#864696) + +------------------------------------------------------------------- +Thu Feb 20 23:56:41 UTC 2014 - mt@suse.de + +- version 0.5.9 +- dhcp4: fixed to commit and inform wicked when a lease is + released lease - this may have cause ifdown errors. +- client: workaround to consider wait-for-interfaces + Get the WAIT_FOR_INTERFACES variable from environment, which is + sourced in the service file to not timeout too early and also + allow the users to increase it (see bnc#863371, bnc#862530). +- addconf: update allow static lease to update resolver + This is required for iBFT leases and solves bnc#864131. +- iflist: check validity before extracting nla payload (bnc#863371) +- Update unquote to handle invalid sysconfig variables properly + (bnc#864635) +- dhcp: added lease-xml output to dhcp --test mode and option + to request lease in dry-run mode (get lease and exit) +- client: turn "No valid config files found" into a debug msg +- infiniband: start after rdma service not openibd (sles-11) +- compat: fixed scripts/ifup -o debug handling +- daemons: disabled state.xml saving by default (bnc#862335) +- client: check for config priorities at reading stage +- client: add --raw parameter to the convert option +- wickedd: add sock->release_user_data and use in in process.c, + clear temp-state files in ni_dbus_xml_deserialize_arguments. + +------------------------------------------------------------------- +Thu Feb 13 22:21:02 UTC 2014 - mt@suse.de + +- version 0.5.8 +- updater: reverse resolve ip address if dhcp server does not + provide a hostname (bnc#861476). +- debug: init debug and log level from environment using DEBUG, + WICKED_DEBUG= and WICKED_LOG_LEVEL= variables. +- dhcp4: check link before start, confirm lease on link change + and do not discard lease if host does not match +- dhcp4: modprobe af_packet, omit arp validation when address + already set on link. +- dhcp6: start when link + link-address ready, not network up +- dhcp: provide addrconf lease and leaseinfo details +- leaseinfo: consistently use prefixlen in ROUTES +- wireless: do not remove link/network up flags (bnc#863371) +- libwicked: libtool -version-info making package and library + versions independent. +- cleaned up unused schema files and extensions scripts +- lldp: do not log error when lldp is not supported (bnc#862790) +- ibft: fixed reading of the origin field +- iftypes: show s390 ctcm and iucv (slip) devices, not unknown + +------------------------------------------------------------------- +Wed Feb 5 21:34:55 UTC 2014 - mt@suse.com + +- version 0.5.7 +- dhcp: request and set hostname and other options (bnc#861476), +- dhcp: accept dns-domain name option containing a domain list + as compatibility abuse of this option and log it (bnc#862130) +- ibft: always modprobe iscsi_ibft when not yet loaded, added + list-only mode and workaround missed readlink utility. +- dbus: Fix crashes when dbus instance not running +- leaseinfo: fix accidental closure of file descriptor argument +- client: improve initialization of client-state structure +- compat: apply ethtool and lladdr options from ifcfg variable +- set link-address (mac) for ethernet,vlan,macvlan devices +- do not set mtu or link-address when device is up as this + tends to fail or break upper [vlan, ...] devices +- limit mtu of upper (vlan) devices to the mtu of lower (eth) +- addrconf: initial lease writing/parsing helpers / disarmed +- Disable modem support for now, new ModemManage API (bnc#859888) +- dhcp: fixed byteswap in ipudp_checksum and checksum_partial +- leaseinfo: include prefixlen in IPADDR same as in ifcfg files + +------------------------------------------------------------------- +Thu Jan 23 15:57:48 UTC 2014 - mt@suse.com + +- version 0.5.6 +- fixed to free details in compat netdev and lease destroy. +- systemd: removed requisite=wickedd from wicked.service + This dependency triggered an automatic wicked.service (network) + restart, when the wickedd.service is restarted (bnc#859801). +- client: enable compat suse only, install ifcfg-lo +- client: initial ifcfg support for macvlan, fixed flags + and lower-device dependencies in the schema (fate#315131) +- client: Changing ifcheck to be more robust + +------------------------------------------------------------------- +Fri Jan 17 22:20:36 UTC 2014 - mt@suse.com + +- version 0.5.5 +- systemd: added Restart=on-abort to wickedd* (fate#315133) +- client: implemented ifreload and adopted services (fate#309018) +- client: use fsm to consider config in ifstatus, exit code rework + and refactoring to implement check utilities for ifstatus+reload +- client: updated copyright and license statements + +------------------------------------------------------------------- +Fri Jan 10 15:28:38 UTC 2014 - mt@suse.com + +- Added rpm obsoletes sysconfig-network to wicked-service. + +------------------------------------------------------------------- +Thu Jan 9 13:58:06 UTC 2014 - mt@suse.com + +- version 0.5.4 +- spec: require wicked-service package in wicked + Fixed spec file to require the wicked-service package + in wicked package under systemd. The wicked-service + package provides systemd service files as well as the + ifup compatibility scripts (bnc#856591,fate#316768). +- Documentation: man pages update, provide also ifcfg* + and ifup,ifdown,ifstatus man pages (bnc#855135). +- systemd services: added --systemd parameters which + enable systemd specific behaviour tweaks. +- initial wicked ifstatus command, ifstatus and ifprobe + compat scripts used and in the network init-script + on sysvinit systems (only, not under systemd). +- cleanup to use LSB codes in client and all daemons +- client: Add --delete and --no-delete options +- nanny: enable wickedd-nanny service by default +- Refactored to use same link.lowerdev name/index + reference in vlan,macvlan,infiniband and show + master device interface property in show-xml. +- infiniband schema: changed to use + for infiniband child interfaces in native configs. +- fixed newlink functions to not free netdev on discard + +------------------------------------------------------------------- +Fri Dec 6 14:22:09 UTC 2013 - mt@suse.com + +- version 0.5.3 +- cleaned up to not install unused wicked@.service example +- wickedd: added shutdownDevice method to ifdown transition from + up to exists, used in bond/bridge to release slaves/ports. +- cleaned up internal iftype vs. arptype mappings and handling +- client: ifdown deletes the devices created by ifup +- configure: added rtnetlink,dcbnl,if_link checks +- macvlan: initial support, no ifcfg yet (fate#315131) +- wireless: do not scan and bind supplicant by default, + corrected the schema to use proper auth-methods type +- socket: handle hangup after input, but before output +- added refcounting for ni_dbus_watch_data_t objects +- bonding: fixed bonding slave duplicate checks +- client: add client-state including a persistent mode + to skip ifdown for important interfaces by default +- client: ifup --persistent and ifdown --force options +- several lldp fixes, mostly for parsing / formatting +- logging: added timestamp option to stderr --log-target +- extensions/updater: get and set NIS settings from lease +- extensions: replace resolver with new generic updater + using simple netconfig key-value leaseinfo dump files +- dhcp4: initial --test implementation (fate#316111) +- dhcp6: initial --test implementation (fate#316111) +- dhcp6: fixed to accept low preference server offers +- dhcp4: set fsm state before building the message +- dhcp4: don't use offered address in initial request +- netlink: diverse error/return code handling fixes +- netlink: switched from libnl1 to libnl3 +- moved TODO file content into individual github issues + +------------------------------------------------------------------- +Wed Oct 2 06:21:31 UTC 2013 - mt@suse.com + +- version 0.5.2 +- added activation comment to the spec file (bnc#843526) +- fixed to not fail on config dirs without any config file + +------------------------------------------------------------------- +Fri Sep 27 15:30:33 UTC 2013 - mt@suse.com + +- version 0.5.1 +- rpmlintrc: removed obsolete content (bnc#783932#c18) +- added extension to update hostname from [dhcp] lease +- refactored config read and added wicked show-config +- corrected & documented --log-target destination parsing +- fixed signed char issues in xml_escape_entities +- fail when the global --config path gets rejected + +------------------------------------------------------------------- +Wed Sep 18 12:12:10 UTC 2013 - mt@suse.com + +- Applied obs adjustments and copyright comment to spec file +- wicked ifdown: enable action waiting before calling methods +- wicked show: create client object and handle ifname argument +- wicked ifup: parse ifcfg static addrconf even without IPADDR +- disabled unfinished code to avoid errors / warnings about + +------------------------------------------------------------------- +Mon Sep 16 12:36:43 UTC 2013 - mt@suse.com + +- Initial candidate package for openSUSE:Factory + diff --git a/wicked.spec b/wicked.spec new file mode 100644 index 0000000..8231b49 --- /dev/null +++ b/wicked.spec @@ -0,0 +1,426 @@ +# +# spec file for package wicked +# +# Copyright (c) 2024 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%define release_prefix %{?snapshot:%{snapshot}}%{!?snapshot:0} +Name: wicked +Version: 0.6.78 +Release: %{release_prefix}.0.0 +Summary: Network configuration infrastructure +License: GPL-2.0-or-later +Group: System/Management +URL: https://github.com/openSUSE/wicked +Source0: %{name}-%{version}.tar.bz2 +Source1: wicked-rpmlintrc +# +# Upstream First - openSUSE Build Service Policy: +# +# Never add any patches to this package without the upstream commit id in +# the patch. Any patches added here without a very good reason to make an +# exception will be silently removed with the next version update. +# Note, that wicked.spec file is generated from wicked.spec.in which is in git. +# Please use pull requests at https://github.com/openSUSE/wicked/ instead. +# +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: libtool +BuildRequires: make +%if %{with wicked_devel} +# libwicked-%%{version}.so shlib package compatible match for wicked-devel +Provides: libwicked-0_6_78 = %{version}-%{release} +%endif +# uninstall obsolete libwicked-0-6 (libwicked-0.so.6, wicked < 0.6.60) +Provides: libwicked-0-6 = %{version} +Obsoletes: libwicked-0-6 < %{version} + +%if 0%{?suse_version} > 1500 || 0%{?sle_version} >= 150500 +%bcond_without nbft +%else +%bcond_with nbft +%endif +%if 0%{?suse_version} >= 1500 +%bcond_without rfc4361_cid +%else +%bcond_with rfc4361_cid +%endif +%if 0%{?suse_version} >= 1500 +%bcond_without dhcp6_nis +%else +%bcond_with dhcp6_nis +%endif + +# optional and disabled (not needed): enable man page +# template rebuild from md sources using pandoc(-cli) +%bcond_with pandoc + +%if %{with pandoc} +BuildRequires: pandoc +%endif + +%bcond_with wicked_devel + +# Note: teamd is enabled by default +%bcond_without use_teamd + +# Compat macro for new _fillupdir macro introduced in Nov 2017 +%if ! %{defined _fillupdir} +%define _fillupdir /var/adm/fillup-templates +%endif + +BuildRequires: libnl3-devel +BuildRequires: dbus-1-devel +BuildRequires: libgcrypt-devel +BuildRequires: pkg-config + +# Prerequire the logger package +%if 0%{?suse_version} > 1310 +Requires(pre): util-linux-systemd +%else +Requires(pre): util-linux +%endif + +BuildRequires: systemd-rpm-macros +BuildRequires: pkgconfig(libsystemd) +%{?systemd_requires} +%if 0%{?suse_version:1} +Requires(pre): %fillup_prereq +Requires: sysconfig-netconfig +%endif +Requires: %{name}-service = %{version} +%if %{defined _rundir} +%define wicked_piddir %_rundir/%{name} +%define wicked_statedir %_rundir/%{name} +%else +%define wicked_piddir %_localstatedir/run/%{name} +%define wicked_statedir %_localstatedir/run/%{name} +%endif +%define wicked_storedir %_localstatedir/lib/%{name} +%if 0%{?suse_version} >= 1550 +%define dbus_config_base %_datadir/dbus-1 +%define dbus_config_tag %nil +%else +%define dbus_config_base %_sysconfdir/dbus-1 +%define dbus_config_tag %config +%endif + +%description +Wicked is a network configuration infrastructure incorporating a number +of existing frameworks into a unified architecture, providing a DBUS +interface to network configuration. + +%if %{with nbft} + +%package nbft +Summary: Network configuration infrastructure - nbft support +Group: System/Management +Requires: %name = %{version} +# Support for the "nvme nbft show" command +Requires: nvme-cli >= 2.4+17.gf4cfca93998a +Requires: jq >= 1.6 + +%description nbft +This package provides an extension to retrieve the NBFT firmware +network interface configuration according to the NVM Express Boot +Specification 1.0 and convert it to wicked configuration. + +%endif + +%package service +Summary: Network configuration infrastructure - systemd service +Group: System/Management +Requires(pre): %name = %{version} +Requires: sysconfig >= 0.81.0 +Provides: /sbin/ifup +Provides: service(network) +Provides: sysvinit(network) +Conflicts: otherproviders(/sbin/ifup) + +%description service +Wicked is a network configuration infrastructure incorporating a number +of existing frameworks into a unified architecture, providing a DBUS +interface to network configuration. + +This package provides the wicked systemd service files. + + +%if %{with wicked_devel} +%package devel +Summary: Network configuration infrastructure - Development files +Group: Development/Libraries/C and C++ +Requires: dbus-1-devel +Requires: libnl3-devel +Requires: libwicked-0_6_78 = %{version}-%{release} + +%description devel +Wicked is a network configuration infrastructure incorporating a number +of existing frameworks into a unified architecture, providing a DBUS +interface to network configuration. + +This package provides the wicked development files. +%endif + +%prep +%setup + +%build +test -x ./configure || autoreconf --force --install +export CFLAGS="-std=gnu89 $RPM_OPT_FLAGS -fPIC" LDFLAGS="-pie" +%configure \ + --with-piddir=%{wicked_piddir} \ + --with-statedir=%{wicked_statedir}\ + --with-storedir=%{wicked_storedir}\ + --with-compat=suse \ + --with-fillup-templatesdir=%{_fillupdir}\ +%if %{without dhcp6_nis} + --disable-dhcp6-nis \ +%endif +%if %{without rfc4361_cid} + --disable-dhcp4-rfc4361-cid \ +%endif +%if %{without use_teamd} + --disable-teamd \ +%endif +%if %{without nbft} + --disable-nbft \ +%endif + --enable-systemd \ + --with-systemd-unitdir=%{_unitdir} \ + --without-dbus-servicedir \ + --with-dbus-configdir=%{dbus_config_base}/system.d \ +%if %{without pandoc} + --disable-pandoc \ +%endif + --disable-static +make %{?_smp_mflags} + +%install +make install DESTDIR=${RPM_BUILD_ROOT} +%if 0%{?suse_version} < 1550 +# install /sbin/{ifup,ifown,ifstatus,ifprobe} links +%__mkdir_p -m 0755 ${RPM_BUILD_ROOT}/sbin +%__ln_s %_sbindir/ifup ${RPM_BUILD_ROOT}/sbin/ifup +%endif +for i in ifdown ifstatus ifprobe; do +%if 0%{?suse_version} < 1550 +%__ln_s ifup ${RPM_BUILD_ROOT}/sbin/$i +%else +%__ln_s ifup ${RPM_BUILD_ROOT}%{_sbindir}/$i +%endif +done +# remove libwicked.a and la +%__rm -f ${RPM_BUILD_ROOT}%_libdir/libwicked*.*a +# create reboot-persistent (leases) store directory +%__mkdir_p -m 0750 ${RPM_BUILD_ROOT}%{wicked_storedir} +ln -sf service ${RPM_BUILD_ROOT}%_sbindir/rcwicked +ln -sf service ${RPM_BUILD_ROOT}%_sbindir/rcwickedd +ln -sf service ${RPM_BUILD_ROOT}%_sbindir/rcwickedd-nanny +ln -sf service ${RPM_BUILD_ROOT}%_sbindir/rcwickedd-dhcp6 +ln -sf service ${RPM_BUILD_ROOT}%_sbindir/rcwickedd-dhcp4 +ln -sf service ${RPM_BUILD_ROOT}%_sbindir/rcwickedd-auto4 + +%if %{without wicked_devel} +pushd $RPM_BUILD_ROOT +rm -rfv \ + .%_libdir/libwicked.so \ + .%_datadir/pkgconfig/wicked.pc \ + .%_mandir/man7/wicked.7* \ + .%_includedir/wicked +popd +%endif + +%pre service +%{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 + +%preun service +# stop the daemons on removal +# - stopping wickedd should be sufficient ... other just to be sure. +# - stopping of the wicked.service does not stop network, but removes +# the wicked.service --> network.service link and resets its status. +%{service_del_preun wickedd.service wickedd-auto4.service wickedd-dhcp4.service wickedd-dhcp6.service wickedd-nanny.service wicked.service} + +%postun service +# restart wickedd after upgrade +%{service_del_postun wickedd.service} + +%post +/sbin/ldconfig +%{fillup_only -dns config wicked network} +%{fillup_only -dns dhcp wicked network} +# reload dbus after install or upgrade to apply new policies +/usr/bin/systemctl reload dbus.service 2>/dev/null || : +# migrate `wicked redfish enable` to `wicked firmware enable` +if test -f %_sysconfdir/wicked/client-redfish.xml -a \ + ! -f %_sysconfdir/wicked/client-firmware.xml ; then + mv -f -- %_sysconfdir/wicked/client-redfish.xml \ + %_sysconfdir/wicked/client-firmware.xml || : +fi +rm -f -- %_sysconfdir/wicked/client-redfish.xml || : + +%postun +/sbin/ldconfig +# reload dbus after uninstall, our policies are gone again +if [ ${FIRST_ARG:-$1} -eq 0 ]; then + /usr/bin/systemctl reload dbus.service 2>/dev/null || : +fi + +%if %{with nbft} + +%postun nbft +# revert nbft override in client-firmware.xml config +if [ ${FIRST_ARG:-$1} -eq 0 ]; then + %_sbindir/wicked firmware revert nbft 2>/dev/null || : +fi + +%endif + +%files +%defattr (-,root,root) +%doc ChangeLog ANNOUNCE README TODO samples +%license COPYING +%_sbindir/wicked +%_sbindir/wickedd +%_sbindir/wickedd-nanny +%_libdir/libwicked-*.so* +%dir %_libexecdir/%{name} +%dir %_libexecdir/%{name}/bin +%_libexecdir/%{name}/bin/wickedd-auto4 +%_libexecdir/%{name}/bin/wickedd-dhcp4 +%_libexecdir/%{name}/bin/wickedd-dhcp6 +%dir %_sysconfdir/wicked +%config(noreplace) %_sysconfdir/wicked/common.xml +%config(noreplace) %_sysconfdir/wicked/client.xml +%config(noreplace) %_sysconfdir/wicked/server.xml +%config(noreplace) %_sysconfdir/wicked/nanny.xml +%dir %_sysconfdir/wicked/scripts +%config(noreplace) %_sysconfdir/wicked/scripts/* +%dir %_sysconfdir/wicked/extensions +%config(noreplace) %_sysconfdir/wicked/extensions/dispatch +%config(noreplace) %_sysconfdir/wicked/extensions/firewall +%config(noreplace) %_sysconfdir/wicked/extensions/hostname +%config(noreplace) %_sysconfdir/wicked/extensions/ibft +%config(noreplace) %_sysconfdir/wicked/extensions/netconfig +%config(noreplace) %_sysconfdir/wicked/extensions/redfish-config +%dir %_sysconfdir/wicked/ifconfig +%dir %{dbus_config_base} +%dir %{dbus_config_base}/system.d +# mark the policies as config to keep backup, but replace on upgrade +%{dbus_config_tag} %{dbus_config_base}/system.d/org.opensuse.Network.conf +%{dbus_config_tag} %{dbus_config_base}/system.d/org.opensuse.Network.AUTO4.conf +%{dbus_config_tag} %{dbus_config_base}/system.d/org.opensuse.Network.DHCP4.conf +%{dbus_config_tag} %{dbus_config_base}/system.d/org.opensuse.Network.DHCP6.conf +%{dbus_config_tag} %{dbus_config_base}/system.d/org.opensuse.Network.Nanny.conf +%dir %_datadir/wicked +%dir %_datadir/wicked/schema +%_datadir/wicked/schema/*.xml +%_mandir/man5/wicked-config.5* +%_mandir/man5/ifcfg-bond.5* +%_mandir/man5/ifcfg-bonding.5* +%_mandir/man5/ifcfg-bridge.5* +%_mandir/man5/ifcfg-dummy.5* +%_mandir/man5/ifcfg-infiniband.5* +%_mandir/man5/ifcfg-ipoib.5* +%_mandir/man5/ifcfg-ipvlan.5* +%_mandir/man5/ifcfg-ipvtap.5* +%_mandir/man5/ifcfg-macvlan.5* +%_mandir/man5/ifcfg-macvtap.5* +%_mandir/man5/ifcfg-ppp.5* +%_mandir/man5/ifcfg-ovs-bridge.5* +%_mandir/man5/ifcfg-team.5* +%_mandir/man5/ifcfg-tunnel.5* +%_mandir/man5/ifcfg-vlan.5* +%_mandir/man5/ifcfg-vxlan.5* +%_mandir/man5/ifcfg-wireless.5* +%_mandir/man5/ifcfg-dhcp.5* +%_mandir/man5/ifcfg-lo.5* +%_mandir/man5/ifcfg.5* +%_mandir/man5/ifroute.5* +%_mandir/man5/ifrule.5* +%_mandir/man5/ifsysctl.5* +%_mandir/man5/routes.5* +%_mandir/man8/wicked.8* +%_mandir/man8/wickedd.8* +%_mandir/man8/wicked-ethtool.8* +%_mandir/man8/wicked-firmware.8* +%_mandir/man8/wicked-redfish.8* +%_mandir/man8/ifdown.8* +%_mandir/man8/ifstatus.8* +%_mandir/man8/ifup.8* +%_fillupdir/sysconfig.config-wicked +%_fillupdir/sysconfig.dhcp-wicked +%attr(0750,root,root) %dir %wicked_storedir + +%if %{with nbft} + +%files nbft +%config(noreplace) %_sysconfdir/wicked/client-nbft.xml +%config(noreplace) %_sysconfdir/wicked/extensions/nbft + +%endif + +%files service +%defattr (-,root,root) +%_unitdir/wickedd-auto4.service +%_unitdir/wickedd-dhcp4.service +%_unitdir/wickedd-dhcp6.service +%_unitdir/wickedd-nanny.service +%_unitdir/wickedd.service +%_unitdir/wicked.service +%_unitdir/wickedd-pppd@.service +%dir /etc/sysconfig/network +%attr(0600,root,root) %config /etc/sysconfig/network/ifcfg-lo +%_sbindir/ifup +%if 0%{?suse_version} < 1550 +/sbin/ifup +/sbin/ifdown +/sbin/ifstatus +/sbin/ifprobe +%else +%_sbindir/ifdown +%_sbindir/ifstatus +%_sbindir/ifprobe +%endif +%_sbindir/rcwickedd-nanny +%_sbindir/rcwickedd-dhcp6 +%_sbindir/rcwickedd-dhcp4 +%_sbindir/rcwickedd-auto4 +%_sbindir/rcwickedd +%_sbindir/rcwicked + +%if %{with wicked_devel} +%files devel +%defattr (-,root,root) +%dir %_includedir/wicked +%_includedir/wicked/* +%_libdir/libwicked.so +%_datadir/pkgconfig/wicked.pc +%_mandir/man7/wicked.7* +%endif + +%changelog -- 2.51.1 From 7e98bd2532479d1f98bb8a17231792bc7f1ce44f2f7ebfc9b95e39e63686f525 Mon Sep 17 00:00:00 2001 From: wicked maintainers Date: Wed, 8 Jan 2025 11:28:49 +0000 Subject: [PATCH 2/2] - Update to version 0.6.78 - man: small fixes in wireless manpage (gh#opensuse/wicked#1053) - rtnetlink: fix RTM_NEWLINK name resolution in debug (gh#opensuse/wicked#1052) - Add support for IPVLAN/IPVTAP (jsc#PED-1942, gh#opensuse/wicked#1050, gh#opensuse/wicked#1051) - fsm: remove children reference array from worker (gh#opensuse/wicked#1049) - ifxml: migrate and generate lower configs/policies (gh#opensuse/wicked#1048) - fsm: use refcount and array macros in worker and policy (gh#opensuse/wicked#1047) - route: use refcounted array and fix error leaks (gh#opensuse/wicked#1046) - utils: add support for refcounted objects in generic array (gh#openSUSE/wicked#1045) OBS-URL: https://build.opensuse.org/package/show/network:wicked:factory/wicked?expand=0&rev=268 --- wicked.changes | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wicked.changes b/wicked.changes index 1dac50f..26bfe0f 100644 --- a/wicked.changes +++ b/wicked.changes @@ -1,5 +1,5 @@ ------------------------------------------------------------------- -Wed Jan 8 10:20:17 UTC 2025 - wicked maintainers +Wed Jan 8 10:20:17 UTC 2025 - Clemens Famulla-Conrad - Update to version 0.6.78 - man: small fixes in wireless manpage (gh#opensuse/wicked#1053) -- 2.51.1