ubuntu@lp1931578-h:~$ dpkg -l systemd|grep systemd
ii  systemd        247.3-3ubuntu3.1 amd64        system and service manager
ubuntu@lp1931578-h:~$ networkctl status ens8 | grep Activation
             Activation Policy: down
ubuntu@lp1931578-h:~$ networkctl status ens8 | grep Required
ubuntu@lp1931578-h:~$ systemctl status systemd-networkd-wait-online
● systemd-networkd-wait-online.service - Wait for Network to be Configured
     Loaded: loaded (/lib/systemd/system/systemd-networkd-wait-online.service; 
enabled; vendor preset: disabled)
     Active: failed (Result: exit-code) since Sun 2021-07-11 22:12:32 UTC; 1min 
58s ago
       Docs: man:systemd-networkd-wait-online.service(8)
    Process: 619 ExecStart=/lib/systemd/systemd-networkd-wait-online 
(code=exited, status=1/FAILURE)
   Main PID: 619 (code=exited, status=1/FAILURE)

Jul 11 22:10:32 lp1931578-h systemd[1]: Starting Wait for Network to be 
Configured...
Jul 11 22:10:33 lp1931578-h systemd-networkd-wait-online[619]: managing: ens3
Jul 11 22:12:32 lp1931578-h systemd-networkd-wait-online[619]: Event loop 
failed: Connection timed out
Jul 11 22:12:32 lp1931578-h systemd[1]: systemd-networkd-wait-online.service: 
Main process exited, code=exited, status=1/FAILURE
Jul 11 22:12:32 lp1931578-h systemd[1]: systemd-networkd-wait-online.service: 
Failed with result 'exit-code'.
Jul 11 22:12:32 lp1931578-h systemd[1]: Failed to start Wait for Network to be 
Configured.


ubuntu@lp1931578-h:~$ dpkg -l systemd|grep systemd
ii  systemd        247.3-3ubuntu3.2 amd64        system and service manager
ubuntu@lp1931578-h:~$ networkctl status ens8 | grep Activation
             Activation Policy: down
ubuntu@lp1931578-h:~$ networkctl status ens8 | grep Required
           Required For Online: no
ubuntu@lp1931578-h:~$ systemctl status systemd-networkd-wait-online
● systemd-networkd-wait-online.service - Wait for Network to be Configured
     Loaded: loaded (/lib/systemd/system/systemd-networkd-wait-online.service; 
enabled; vendor preset: disabled)
     Active: active (exited) since Sun 2021-07-11 22:15:34 UTC; 27s ago
       Docs: man:systemd-networkd-wait-online.service(8)
    Process: 613 ExecStart=/lib/systemd/systemd-networkd-wait-online 
(code=exited, status=0/SUCCESS)
   Main PID: 613 (code=exited, status=0/SUCCESS)

Jul 11 22:15:33 lp1931578-h systemd[1]: Starting Wait for Network to be 
Configured...
Jul 11 22:15:34 lp1931578-h systemd-networkd-wait-online[613]: managing: ens3
Jul 11 22:15:34 lp1931578-h systemd[1]: Finished Wait for Network to be 
Configured.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1931578

Title:
  ActivationPolicy=down causes delay at boot

Status in systemd package in Ubuntu:
  Fix Released
Status in systemd source package in Bionic:
  Won't Fix
Status in systemd source package in Focal:
  Fix Committed
Status in systemd source package in Groovy:
  Fix Committed
Status in systemd source package in Hirsute:
  Fix Committed
Status in systemd source package in Impish:
  Fix Released

Bug description:
  [impact]

  The ActivationPolicy= parameter was backported in bug 1664844, but
  when this is set to down (or always-down or manual) without also
  specifying RequiredForOnline=no, then there is a hang at boot waiting
  for the network to finish coming online.

  [test case]

  With the latest systemd, which includes support for ActivationPolicy=,
  configure an interface with ActivationPolicy=down and reboot. The boot
  will be delayed waiting for that interface.

  [regression potential]

  any regression would likely cause the system to encounter delay at
  boot, or to boot before configured interface(s) are fully online at
  boot, or to fail to correctly/fully configure interface(s).

  [scope]

  this is needed for all releases

  this is proposed upstream in:
  https://github.com/systemd/systemd/pull/19883

  [other info]

  this is only needed for convenience, as any configuration using
  ActivationPolicy=down can also easily add RequiredForOnline=no

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to