[Bug 1931578] [NEW] ActivationPolicy=down causes delay at boot

Dan Streetman 1931578 at bugs.launchpad.net
Thu Jun 10 13:24:38 UTC 2021


Public bug reported:

[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

** Affects: systemd (Ubuntu)
     Importance: Low
     Assignee: Dan Streetman (ddstreet)
         Status: In Progress

** Affects: systemd (Ubuntu Bionic)
     Importance: Low
     Assignee: Dan Streetman (ddstreet)
         Status: In Progress

** Affects: systemd (Ubuntu Focal)
     Importance: Low
     Assignee: Dan Streetman (ddstreet)
         Status: In Progress

** Affects: systemd (Ubuntu Groovy)
     Importance: Low
     Assignee: Dan Streetman (ddstreet)
         Status: In Progress

** Affects: systemd (Ubuntu Hirsute)
     Importance: Low
     Assignee: Dan Streetman (ddstreet)
         Status: In Progress

** Affects: systemd (Ubuntu Impish)
     Importance: Low
     Assignee: Dan Streetman (ddstreet)
         Status: In Progress

** Description changed:

  [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

** Also affects: systemd (Ubuntu Hirsute)
   Importance: Undecided
       Status: New

** Also affects: systemd (Ubuntu Focal)
   Importance: Undecided
       Status: New

** Also affects: systemd (Ubuntu Impish)
   Importance: Undecided
       Status: New

** Also affects: systemd (Ubuntu Bionic)
   Importance: Undecided
       Status: New

** Also affects: systemd (Ubuntu Groovy)
   Importance: Undecided
       Status: New

** Changed in: systemd (Ubuntu Focal)
       Status: New => In Progress

** Changed in: systemd (Ubuntu Bionic)
       Status: New => In Progress

** Changed in: systemd (Ubuntu Impish)
       Status: New => In Progress

** Changed in: systemd (Ubuntu Groovy)
   Importance: Undecided => Low

** Changed in: systemd (Ubuntu Impish)
     Assignee: (unassigned) => Dan Streetman (ddstreet)

** Changed in: systemd (Ubuntu Hirsute)
     Assignee: (unassigned) => Dan Streetman (ddstreet)

** Changed in: systemd (Ubuntu Hirsute)
       Status: New => In Progress

** Changed in: systemd (Ubuntu Impish)
   Importance: Undecided => Low

** Changed in: systemd (Ubuntu Groovy)
       Status: New => In Progress

** Changed in: systemd (Ubuntu Groovy)
     Assignee: (unassigned) => Dan Streetman (ddstreet)

** Changed in: systemd (Ubuntu Focal)
     Assignee: (unassigned) => Dan Streetman (ddstreet)

** Changed in: systemd (Ubuntu Bionic)
     Assignee: (unassigned) => Dan Streetman (ddstreet)

** Changed in: systemd (Ubuntu Hirsute)
   Importance: Undecided => Low

** Changed in: systemd (Ubuntu Bionic)
   Importance: Undecided => Low

** Changed in: systemd (Ubuntu Focal)
   Importance: Undecided => Low

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

Title:
  ActivationPolicy=down causes delay at boot

Status in systemd package in Ubuntu:
  In Progress
Status in systemd source package in Bionic:
  In Progress
Status in systemd source package in Focal:
  In Progress
Status in systemd source package in Groovy:
  In Progress
Status in systemd source package in Hirsute:
  In Progress
Status in systemd source package in Impish:
  In Progress

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



More information about the foundations-bugs mailing list