Public bug reported:

Ubuntu 18.04 Bionic Beaver

An issue was reported to systemd-networkd on GitHub -
https://github.com/systemd/systemd/issues/11650 - and all the thorough
details are there.

Using anonymous bridges (ie: not attached to physical NICs) is
problematic with systemd-networkd as they get deconfigured as soon as
the last attached device disconnects (ie: a LXC container). Static IP
configuration must be done again manually.

The root cause is that systemd-networkd assumes that every network
interface have a carrier signal. There's no notion of carrier signal on
anonymous bridges, a case not properly handled by systemd-networkd.

The systemd dev team provided a patch to address the issue and it would
be nice to be integrated on the Ubuntu package.

The PR is here :
https://github.com/systemd/systemd/commit/93b4dab57e2e13bd804cbee999241be65a443e2e

To get the proper fix, you'll need to combine 2 patches :

- The one from the PR above
- Another patch [1] which fixes a segfault introduced by the PR.

[1]
https://github.com/systemd/systemd/pull/11741/commits/a294af6810df3c18909a96b556deadba0e2ab0a9

On my test environment, I rebuild the Ubuntu package with the 2 patches
above from "237-3ubuntu10.17" to "237-3ubuntu10.20" and made thorough
tests without hiting a single issue so I think we can assume that these
2 patches are safe to use.

** Affects: systemd (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  systemd-networkd: Deconfigures bridge after last attached interface
  disconnects (ie: LXC)

Status in systemd package in Ubuntu:
  New

Bug description:
  Ubuntu 18.04 Bionic Beaver

  An issue was reported to systemd-networkd on GitHub -
  https://github.com/systemd/systemd/issues/11650 - and all the thorough
  details are there.

  Using anonymous bridges (ie: not attached to physical NICs) is
  problematic with systemd-networkd as they get deconfigured as soon as
  the last attached device disconnects (ie: a LXC container). Static IP
  configuration must be done again manually.

  The root cause is that systemd-networkd assumes that every network
  interface have a carrier signal. There's no notion of carrier signal
  on anonymous bridges, a case not properly handled by systemd-networkd.

  The systemd dev team provided a patch to address the issue and it
  would be nice to be integrated on the Ubuntu package.

  The PR is here :
  
https://github.com/systemd/systemd/commit/93b4dab57e2e13bd804cbee999241be65a443e2e

  To get the proper fix, you'll need to combine 2 patches :

  - The one from the PR above
  - Another patch [1] which fixes a segfault introduced by the PR.

  [1]
  
https://github.com/systemd/systemd/pull/11741/commits/a294af6810df3c18909a96b556deadba0e2ab0a9

  On my test environment, I rebuild the Ubuntu package with the 2
  patches above from "237-3ubuntu10.17" to "237-3ubuntu10.20" and made
  thorough tests without hiting a single issue so I think we can assume
  that these 2 patches are safe to use.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1825470/+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