Public bug reported:
Netplan 1.2-1ubuntu5 on Ubuntu 26.04 generates invalid syntax in
/run/systemd/generator.late/systemd-networkd-wait-
online.service.d/10-netplan.conf
The generated file contains:
ExecStart=/lib/systemd/systemd-networkd-wait-online -i enp3s0:degraded
The "-i enp3s0:degraded" syntax is invalid. I believe that the correct syntax
would be:
--interface=enp3s0 --operational-state=degraded
This causes apt-daily.service to timeout waiting for network, even
though ethernet is working fine. On my machine (with ethernet only
plugged in, and I never attempted to configure Wifi), Wifi interface
(unconfigured) stays in "configuring" state, and the malformed wait-
online command fails.
My temporary workaround: Override apt-daily.service to remove the wait-
online call.
networkctl shows "Online state: partial" due to wlp2s0 (wifi) being
"configuring" with no carrier, while enp3s0 (ethernet) is "routable".
ProblemType: Bug
DistroRelease: Ubuntu 26.04
Package: netplan.io 1.2-1ubuntu5
ProcVersionSignature: Ubuntu 7.0.0-14.14-generic 7.0.0
Uname: Linux 7.0.0-14-generic x86_64
ApportVersion: 2.34.0-0ubuntu2
Architecture: amd64
CasperMD5CheckResult: pass
Date: Thu May 7 20:35:06 2026
InstallationDate: Installed on 2026-04-26 (12 days ago)
InstallationMedia: Ubuntu-Server 26.04 "Resolute Raccoon" - Release amd64
(20260420.1)
ProcEnviron:
LANG=en_US.UTF-8
PATH=(custom, no user)
SHELL=/bin/bash
TERM=xterm-256color
RebootRequiredPkgs: Error: path contained symlinks.
SourcePackage: netplan.io
UpgradeStatus: No upgrade log present (probably fresh install)
** Affects: netplan.io (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug resolute
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2151846
Title:
netplan generator creates invalid systemd-networkd-wait-online syntax
causing apt-daily timeouts
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/netplan.io/+bug/2151846/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs