[Bug 1943024] [NEW] unreliable/racy/incomplete interface state detection at boot

Junien Fridrick 1943024 at bugs.launchpad.net
Wed Sep 8 10:16:35 UTC 2021


Public bug reported:

Hi,

This is somewhat related to bug 1772137. I have a "firewall" script in
routable.d and here's what I get upon boot :
https://pastebin.canonical.com/p/bCkQrdm3HB/

I'm interested in the "vlan3060" interface. This interface, once
networkd finishes its setup, properly comes up and networkd sees it in
state "State: routable (configured)".

Thus, I would expect networkd-dispatcher to run routable.d/firewall for
this interface. However, as you can see in the paste above, it only runs
off.d scripts for this interface.

In the aforementioned bug, we (Ubuntu) added "--run-startup-triggers" in
/etc/default/networkd-dispatcher which explains why networkd-dispatcher
is running off.d scripts for vlan3060. This is fine. However, I would
expect it to also run carrier.d and routable.d script as this interface
becomes fully functional.

Thanks

** Affects: networkd-dispatcher (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  unreliable/racy/incomplete interface state detection at boot

Status in networkd-dispatcher package in Ubuntu:
  New

Bug description:
  Hi,

  This is somewhat related to bug 1772137. I have a "firewall" script in
  routable.d and here's what I get upon boot :
  https://pastebin.canonical.com/p/bCkQrdm3HB/

  I'm interested in the "vlan3060" interface. This interface, once
  networkd finishes its setup, properly comes up and networkd sees it in
  state "State: routable (configured)".

  Thus, I would expect networkd-dispatcher to run routable.d/firewall
  for this interface. However, as you can see in the paste above, it
  only runs off.d scripts for this interface.

  In the aforementioned bug, we (Ubuntu) added "--run-startup-triggers"
  in /etc/default/networkd-dispatcher which explains why networkd-
  dispatcher is running off.d scripts for vlan3060. This is fine.
  However, I would expect it to also run carrier.d and routable.d script
  as this interface becomes fully functional.

  Thanks

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/networkd-dispatcher/+bug/1943024/+subscriptions




More information about the foundations-bugs mailing list