[Bug 2074266] [NEW] 24.04: latest netplan updates fail to apply already working config
Martin Hofbauer
2074266 at bugs.launchpad.net
Sat Jul 27 15:49:01 UTC 2024
Public bug reported:
Using Ubuntu Server 24.04 LTS
After upgrading my packages, including Netplan (using "apt dist-upgrade") and rebooting, network configuration (netplan yaml file) was no longer applied to the server.
I noticed some changes related to file/directory permissions in
/etc/netplan, but changed them to stop showing warnings.
I'm talking about the new versions 1.0-2ubuntu1.1 and/or 1.0-2ubuntu1.2 (both came out within 3 days, so I don't know which of the two is responsible for the relevant changes)
But only a rollback to the 4 "netplan"-packages(libnetplan1 netplan.io netplan-generator python3-netplan) from LTS version 1.0-2ubuntu1 "solved" the problem. My configuration is applied again on boot.
My config:
network:
version: 2
renderer: networkd
ethernets:
enp4s0:
dhcp4: false
enp6s0:
dhcp4: false
enp9s0:
dhcp4: false
addresses:
- "172.30.30.1/24"
nameservers:
addresses:
- 10.21.21.21
enp3s0f0:
dhcp4: false
enp3s0f1:
dhcp4: false
root at server:/etc/netplan# ls -al
total 58
drwxr-xr-x 2 root root 10 Jul 27 17:19 .
drwxr-xr-x 94 root root 186 Jul 27 17:30 ..
-rw------- 1 root root 502 Jul 26 01:20 01-netcfg.yaml
ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: netplan.io 1.0-2ubuntu1
ProcVersionSignature: Ubuntu 6.8.0-39.39-generic 6.8.8
Uname: Linux 6.8.0-39-generic x86_64
NonfreeKernelModules: zfs
ApportVersion: 2.28.1-0ubuntu3
Architecture: amd64
CasperMD5CheckResult: unknown
Date: Sat Jul 27 17:31:46 2024
ProcEnviron:
PATH=(custom, no user)
SHELL=/bin/bash
TERM=linux
XDG_RUNTIME_DIR=<set>
SourcePackage: netplan.io
UpgradeStatus: No upgrade log present (probably fresh install)
** Affects: netplan.io (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug netplan noble
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to netplan.io in Ubuntu.
Matching subscriptions: foundations-bugs
https://bugs.launchpad.net/bugs/2074266
Title:
24.04: latest netplan updates fail to apply already working config
Status in netplan.io package in Ubuntu:
New
Bug description:
Using Ubuntu Server 24.04 LTS
After upgrading my packages, including Netplan (using "apt dist-upgrade") and rebooting, network configuration (netplan yaml file) was no longer applied to the server.
I noticed some changes related to file/directory permissions in
/etc/netplan, but changed them to stop showing warnings.
I'm talking about the new versions 1.0-2ubuntu1.1 and/or 1.0-2ubuntu1.2 (both came out within 3 days, so I don't know which of the two is responsible for the relevant changes)
But only a rollback to the 4 "netplan"-packages(libnetplan1 netplan.io netplan-generator python3-netplan) from LTS version 1.0-2ubuntu1 "solved" the problem. My configuration is applied again on boot.
My config:
network:
version: 2
renderer: networkd
ethernets:
enp4s0:
dhcp4: false
enp6s0:
dhcp4: false
enp9s0:
dhcp4: false
addresses:
- "172.30.30.1/24"
nameservers:
addresses:
- 10.21.21.21
enp3s0f0:
dhcp4: false
enp3s0f1:
dhcp4: false
root at server:/etc/netplan# ls -al
total 58
drwxr-xr-x 2 root root 10 Jul 27 17:19 .
drwxr-xr-x 94 root root 186 Jul 27 17:30 ..
-rw------- 1 root root 502 Jul 26 01:20 01-netcfg.yaml
ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: netplan.io 1.0-2ubuntu1
ProcVersionSignature: Ubuntu 6.8.0-39.39-generic 6.8.8
Uname: Linux 6.8.0-39-generic x86_64
NonfreeKernelModules: zfs
ApportVersion: 2.28.1-0ubuntu3
Architecture: amd64
CasperMD5CheckResult: unknown
Date: Sat Jul 27 17:31:46 2024
ProcEnviron:
PATH=(custom, no user)
SHELL=/bin/bash
TERM=linux
XDG_RUNTIME_DIR=<set>
SourcePackage: netplan.io
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/netplan.io/+bug/2074266/+subscriptions
More information about the foundations-bugs
mailing list