[Bug 1982218] [NEW] wait-online does not correctly identify managed links

Mike Kasick 1982218 at bugs.launchpad.net
Tue Jul 19 19:48:52 UTC 2022


Public bug reported:

Ubuntu's packaging of systemd-networkd-wait-online includes a patch
(UBUNTU-wait-online-exit-if-no-links-are-managed) intended to exit if
none of the present links are managed by systemd-networkd.  However, the
patch fails to identify links in the "configuring" state, which implies
they are managed, but not yet fully online.  This undermines the purpose
of systemd-networkd-wait-online with the --any option, since at the time
the systemd-networkd-wait-online service is started, managed links are
_likely_ in a configuring, but-not-yet-configured state.

Please see the attached patch.  Thanks!

** Affects: systemd (Ubuntu)
     Importance: Undecided
         Status: New

** Patch added: "0001-wait-online-Check-if-links-are-in-the-configuring-st.patch"
   https://bugs.launchpad.net/bugs/1982218/+attachment/5604130/+files/0001-wait-online-Check-if-links-are-in-the-configuring-st.patch

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1982218

Title:
  wait-online does not correctly identify managed links

Status in systemd package in Ubuntu:
  New

Bug description:
  Ubuntu's packaging of systemd-networkd-wait-online includes a patch
  (UBUNTU-wait-online-exit-if-no-links-are-managed) intended to exit if
  none of the present links are managed by systemd-networkd.  However,
  the patch fails to identify links in the "configuring" state, which
  implies they are managed, but not yet fully online.  This undermines
  the purpose of systemd-networkd-wait-online with the --any option,
  since at the time the systemd-networkd-wait-online service is started,
  managed links are _likely_ in a configuring, but-not-yet-configured
  state.

  Please see the attached patch.  Thanks!

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1982218/+subscriptions




More information about the foundations-bugs mailing list