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

Launchpad Bug Tracker 1819014 at bugs.launchpad.net
Thu Mar 14 20:59:51 UTC 2019


This bug was fixed in the package netplan.io - 0.96-0ubuntu2

---------------
netplan.io (0.96-0ubuntu2) disco; urgency=medium

  * d/p/0001-Automatically-skip-tests-when-wifi-is-clearly-unavai.patch:
    Update wifi tests to try to make them more reliable.
  * debian/tests/control: explicilty mark wifi tests flaky.

 -- Mathieu Trudel-Lapierre <cyphermox at ubuntu.com>  Thu, 14 Mar 2019
14:11:47 -0400

** Changed in: netplan.io (Ubuntu)
       Status: In Progress => Fix Released

-- 
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

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