[Bug 1819014] Re: wpa starts too late causing delay at boot

Steve Langasek steve.langasek at canonical.com
Thu Apr 18 23:37:03 UTC 2019


A possible SRU regression has been reported against netplan.io
0.96-0ubuntu0.18.10.2 in LP: #1825206.  This version has been rolled
back to -proposed while the investigation is ongoing.

** Changed in: netplan.io (Ubuntu Cosmic)
       Status: Fix Released => Fix Committed

** Tags removed: verification-done-bionic verification-done-cosmic
** Tags added: verification-failed-bionic verification-failed-cosmic

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to netplan.io in Ubuntu.
Matching subscriptions: foundations-bugs
https://bugs.launchpad.net/bugs/1819014

Title:
  wpa starts too late causing delay at boot

Status in netplan:
  Fix Released
Status in netplan.io package in Ubuntu:
  Fix Released
Status in netplan.io source package in Bionic:
  Fix Committed
Status in netplan.io source package in Cosmic:
  Fix Committed

Bug description:
  [Impact]
  Devices which depend on a wireless network connection at boot.

  [Test case]
  1) Configure netplan with a single wireless network to be brought up:

  network:
    version: 2
    renderer: networkd
    wifis:
      wlan0:
        dhcp4: true
        access-points:
          home:
            password: somepassword

  2) Reboot the device.
  3) Check how long the device takes to boot and come up to a login prompt.
  4) Check the output of 'systemd-analyze critical-chain' and 'systemd-analyze blame'. The time required for netplan-wpa@ and systemd-networkd-wait-online should be as low as possible.

  [Regression potential]
  As this changes timing and ordering for the boot-time services, pay particular attention to any issues that come up as delay at booting caused by systemd-networkd-wait-online with or without wifi devices, as these may be indicative of a regression caused by the changes to use DefaultDependencies=no in netplan-wpa at .service.

  
  ---

  Especially on raspberry pis, the wpa service set up by netplan when
  wifi is configured is enabled far too late in the boot order, causing
  unnecessary delays.

  There's a visible delay of upwards to 2 minutes at booting a rpi3 with
  netplan.io 0.95 as it is in disco; testing with a patched version
  shows this delay can be completely eliminated by fixing the netplan-
  wpa service and setting DefaultDependencies=no.

To manage notifications about this bug go to:
https://bugs.launchpad.net/netplan/+bug/1819014/+subscriptions



More information about the foundations-bugs mailing list