[Touch-packages] [Bug 2045756] Re: systemd-networkd-wait-online.service fails to complete if one of the network interfaces is not physically connected

2024-04-16 Thread bam
"optional: true" setting doesn't work for me, maybe because I use Network Manager: $ cat /etc/netplan/00-installer-config.yaml # This is the network config written by 'subiquity' network: ethernets: eno0: dhcp4: true dhcp6: true optional: true renderer: NetworkManager

[Touch-packages] [Bug 2045756] Re: systemd-networkd-wait-online.service fails to complete if one of the network interfaces is not physically connected

2023-12-06 Thread Heinrich Schuchardt
Thanks Nick, your suggestion works fine. Let's see where it makes sense to add the overlay to our images. ** Changed in: cloud-init (Ubuntu) Status: New => Invalid -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to

[Touch-packages] [Bug 2045756] Re: systemd-networkd-wait-online.service fails to complete if one of the network interfaces is not physically connected

2023-12-06 Thread Heinrich Schuchardt
cloud-init could check the availability of the carrier at installation time and add 'optional: true' in cloudinit/net/netplan.py. But this would only reflect the state at the time of installation. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages,

[Touch-packages] [Bug 2045756] Re: systemd-networkd-wait-online.service fails to complete if one of the network interfaces is not physically connected

2023-12-06 Thread Nick Rosbrook
As Yu said on the upstream bug, this is the expected default behavior for systemd-networkd-wait-online. You can make it more tailored to your use case, e.g. by writing an override like this: # /etc/systemd/system/systemd-networkd-wait-online.service.d/override.conf [Service] ExecStart=

[Touch-packages] [Bug 2045756] Re: systemd-networkd-wait-online.service fails to complete if one of the network interfaces is not physically connected

2023-12-06 Thread Heinrich Schuchardt
Probably cloud-init's cloudinit/net/netplan.py should add "optional: true" to interfaces that have no carrier. ** Changed in: netplan.io (Ubuntu) Status: Incomplete => Invalid ** Also affects: cloud-init (Ubuntu) Importance: Undecided Status: New ** Changed in: systemd (Ubuntu)

[Touch-packages] [Bug 2045756] Re: systemd-networkd-wait-online.service fails to complete if one of the network interfaces is not physically connected

2023-12-06 Thread Heinrich Schuchardt
The netplan configuration is in /etc/netplan/50-cloud-init.yaml. "optional: true" works, with "ignore-carrier: true" I still get the failure. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu.

[Touch-packages] [Bug 2045756] Re: systemd-networkd-wait-online.service fails to complete if one of the network interfaces is not physically connected

2023-12-06 Thread Lukas Märdian
The RequiredForOnline=no flag can be controlled using Netplan's "optional: true" setting. In your specific case (cable not connected) you might also be interested in Netplan's "ignore-carrier: true" setting, which brings up the interface regardless. Please check /etc/netplan/ for those

[Touch-packages] [Bug 2045756] Re: systemd-networkd-wait-online.service fails to complete if one of the network interfaces is not physically connected

2023-12-06 Thread Heinrich Schuchardt
The following files where created when installing the system: /run/systemd/network/10-netplan-end0.network [Match] Name=end0 [Network] DHCP=ipv4 LinkLocalAddressing=ipv6 [DHCP] RouteMetric=100 UseMTU=true /run/systemd/network/10-netplan-end1.network [Match] Name=end1 [Network] DHCP=ipv4

[Touch-packages] [Bug 2045756] Re: systemd-networkd-wait-online.service fails to complete if one of the network interfaces is not physically connected

2023-12-06 Thread Heinrich Schuchardt
** Also affects: netplan.io (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/2045756 Title:

[Touch-packages] [Bug 2045756] Re: systemd-networkd-wait-online.service fails to complete if one of the network interfaces is not physically connected

2023-12-06 Thread Heinrich Schuchardt
Upstream issue: https://github.com/systemd/systemd/issues/30345 ** Bug watch added: github.com/systemd/systemd/issues #30345 https://github.com/systemd/systemd/issues/30345 -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to