I verified the fix using systemd 249.11-0ubuntu3.13 in jammy-proposed.
First, I confirmed that my systemd and kernel combination is affected by
this bug:
$ uname -a
Linux clean-jammy-amd64 6.5.0-35-generic #35~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC
Tue May 7 09:00:52 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
$ apt policy systemd
systemd:
Installed: 249.11-0ubuntu3.12
Candidate: 249.11-0ubuntu3.12
Version table:
*** 249.11-0ubuntu3.12 500
500 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages
100 /var/lib/dpkg/status
249.11-0ubuntu3.7 500
500 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages
249.11-0ubuntu3 500
500 http://archive.ubuntu.com/ubuntu jammy/main amd64 Packages
$ cat > /etc/netplan/10-tun.yaml <<EOF
network:
renderer: networkd
version: 2
tunnels:
tun0:
mode: ip6gre
local: fe80::1
remote: 2001:dead:beef::2
tun1:
mode: vti6
local: fe80::2
remote: 2001:dead:beef::3
EOF
$ netplan apply
** (generate:2017): WARNING **: 09:34:31.572: Permissions for
/etc/netplan/01-network-manager-all.yaml are too open. Netplan
configuration should NOT be accessible by others.
** (generate:2017): WARNING **: 09:34:31.573: Permissions for
/etc/netplan/10-tun.yaml are too open. Netplan configuration should NOT be
accessible by others.
WARNING:root:Cannot call Open vSwitch: ovsdb-server.service is not running.
** (process:2015): WARNING **: 09:34:32.082: Permissions for
/etc/netplan/01-network-manager-all.yaml are too open. Netplan
configuration should NOT be accessible by others.
** (process:2015): WARNING **: 09:34:32.083: Permissions for
/etc/netplan/10-tun.yaml are too open. Netplan configuration should NOT
be accessible by others.
** (process:2015): WARNING **: 09:34:32.302: Permissions for
/etc/netplan/01-network-manager-all.yaml are too open. Netplan
configuration should NOT be accessible by others.
** (process:2015): WARNING **: 09:34:32.302: Permissions for
/etc/netplan/10-tun.yaml are too open. Netplan configuration should NOT
be accessible by others.
** (process:2015): WARNING **: 09:34:32.302: Permissions for
/etc/netplan/01-network-manager-all.yaml are too open. Netplan
configuration should NOT be accessible by others.
** (process:2015): WARNING **: 09:34:32.302: Permissions for
/etc/netplan/10-tun.yaml are too open. Netplan configuration should NOT be
accessible by others.
$ ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode
DEFAULT group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: ens3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP
mode DEFAULT group default qlen 1000
link/ether 52:54:00:c6:8b:40 brd ff:ff:ff:ff:ff:ff
altname enp0s3
3: ip6tnl0@NONE: <NOARP> mtu 1452 qdisc noop state DOWN mode DEFAULT group
default qlen 1000
link/tunnel6 :: brd :: permaddr 5a74:cc76:65cf::
4: ip6gre0@NONE: <NOARP> mtu 1448 qdisc noop state DOWN mode DEFAULT group
default qlen 1000
link/gre6 :: brd :: permaddr dafd:9a91:813c::
5: ip6_vti0@NONE: <NOARP> mtu 1332 qdisc noop state DOWN mode DEFAULT group
default qlen 1000
link/tunnel6 :: brd :: permaddr c6ed:bf78:136c::
$ journalctl -u systemd-networkd -b --since "1 min ago" --no-pager
Nov 19 09:34:32 clean-jammy-amd64 systemd-networkd[1874]: tun0: netdev could
not be created: Invalid argument
Nov 19 09:34:32 clean-jammy-amd64 systemd-networkd[1874]: tun1: netdev could
not be created: Invalid argument
Then, I installed systemd 249.11-0ubuntu3.13 from jammy-proposed, and
confirmed the bug was resolved:
$ cat <<EOF >/etc/apt/sources.list.d/ubuntu-$(lsb_release -cs)-proposed.list
# Enable Ubuntu proposed archive
deb http://archive.ubuntu.com/ubuntu/ $(lsb_release -cs)-proposed restricted
main multiverse universe
EOF
$ apt update
[ ... ]
$ apt install -y systemd
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
libflashrom1 libftdi1-2 libllvm13 linux-headers-5.15.0-25
linux-headers-5.15.0-25-generic linux-headers-5.15.0-27
linux-headers-5.15.0-27-generic linux-image-5.15.0-25-generic
linux-image-5.15.0-27-generic linux-modules-5.15.0-25-generic
linux-modules-5.15.0-27-generic linux-modules-extra-5.15.0-25-generic
linux-modules-extra-5.15.0-27-generic
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
libnss-systemd libpam-systemd libsystemd0 systemd-oomd systemd-sysv
systemd-timesyncd
Suggested packages:
systemd-container libtss2-rc0
The following packages will be upgraded:
libnss-systemd libpam-systemd libsystemd0 systemd systemd-oomd systemd-sysv
systemd-timesyncd
7 upgraded, 0 newly installed, 0 to remove and 177 not upgraded.
Need to get 5,312 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu jammy-proposed/main amd64 libnss-systemd
amd64 249.11-0ubuntu3.13 [133 kB]
Get:2 http://archive.ubuntu.com/ubuntu jammy-proposed/main amd64
systemd-timesyncd amd64 249.11-0ubuntu3.13 [31.2 kB]
Get:3 http://archive.ubuntu.com/ubuntu jammy-proposed/main amd64 systemd-sysv
amd64 249.11-0ubuntu3.13 [10.5 kB]
Get:4 http://archive.ubuntu.com/ubuntu jammy-proposed/main amd64 systemd-oomd
amd64 249.11-0ubuntu3.13 [34.8 kB]
Get:5 http://archive.ubuntu.com/ubuntu jammy-proposed/main amd64 libpam-systemd
amd64 249.11-0ubuntu3.13 [203 kB]
Get:6 http://archive.ubuntu.com/ubuntu jammy-proposed/main amd64 systemd amd64
249.11-0ubuntu3.13 [4,581 kB]
Get:7 http://archive.ubuntu.com/ubuntu jammy-proposed/main amd64 libsystemd0
amd64 249.11-0ubuntu3.13 [318 kB]
Fetched 5,312 kB in 1s (3,947 kB/s)
(Reading database ... 275907 files and directories currently installed.)
Preparing to unpack .../0-libnss-systemd_249.11-0ubuntu3.13_amd64.deb ...
Unpacking libnss-systemd:amd64 (249.11-0ubuntu3.13) over (249.11-0ubuntu3.12)
...
Preparing to unpack .../1-systemd-timesyncd_249.11-0ubuntu3.13_amd64.deb ...
Unpacking systemd-timesyncd (249.11-0ubuntu3.13) over (249.11-0ubuntu3.12) ...
Preparing to unpack .../2-systemd-sysv_249.11-0ubuntu3.13_amd64.deb ...
Unpacking systemd-sysv (249.11-0ubuntu3.13) over (249.11-0ubuntu3.12) ...
Preparing to unpack .../3-systemd-oomd_249.11-0ubuntu3.13_amd64.deb ...
Unpacking systemd-oomd (249.11-0ubuntu3.13) over (249.11-0ubuntu3.12) ...
Preparing to unpack .../4-libpam-systemd_249.11-0ubuntu3.13_amd64.deb ...
Unpacking libpam-systemd:amd64 (249.11-0ubuntu3.13) over (249.11-0ubuntu3.12)
...
Preparing to unpack .../5-systemd_249.11-0ubuntu3.13_amd64.deb ...
Unpacking systemd (249.11-0ubuntu3.13) over (249.11-0ubuntu3.12) ...
Preparing to unpack .../6-libsystemd0_249.11-0ubuntu3.13_amd64.deb ...
Unpacking libsystemd0:amd64 (249.11-0ubuntu3.13) over (249.11-0ubuntu3.12) ...
Setting up libsystemd0:amd64 (249.11-0ubuntu3.13) ...
Setting up systemd (249.11-0ubuntu3.13) ...
Setting up systemd-timesyncd (249.11-0ubuntu3.13) ...
Setting up systemd-oomd (249.11-0ubuntu3.13) ...
Setting up systemd-sysv (249.11-0ubuntu3.13) ...
Setting up libnss-systemd:amd64 (249.11-0ubuntu3.13) ...
Setting up libpam-systemd:amd64 (249.11-0ubuntu3.13) ...
Processing triggers for man-db (2.10.2-1) ...
Processing triggers for dbus (1.12.20-2ubuntu4.1) ...
Processing triggers for libc-bin (2.35-0ubuntu3.8) ...
$ apt policy systemd
systemd:
Installed: 249.11-0ubuntu3.13
Candidate: 249.11-0ubuntu3.13
Version table:
*** 249.11-0ubuntu3.13 500
500 http://archive.ubuntu.com/ubuntu jammy-proposed/main amd64 Packages
100 /var/lib/dpkg/status
249.11-0ubuntu3.12 500
500 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages
249.11-0ubuntu3.7 500
500 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages
249.11-0ubuntu3 500
500 http://archive.ubuntu.com/ubuntu jammy/main amd64 Packages
$ ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode
DEFAULT group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: ens3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP
mode DEFAULT group default qlen 1000
link/ether 52:54:00:c6:8b:40 brd ff:ff:ff:ff:ff:ff
altname enp0s3
3: ip6tnl0@NONE: <NOARP> mtu 1452 qdisc noop state DOWN mode DEFAULT group
default qlen 1000
link/tunnel6 :: brd :: permaddr 5a74:cc76:65cf::
4: ip6gre0@NONE: <NOARP> mtu 1448 qdisc noop state DOWN mode DEFAULT group
default qlen 1000
link/gre6 :: brd :: permaddr dafd:9a91:813c::
5: ip6_vti0@NONE: <NOARP> mtu 1332 qdisc noop state DOWN mode DEFAULT group
default qlen 1000
link/tunnel6 :: brd :: permaddr c6ed:bf78:136c::
6: tun0@NONE: <NOARP,UP,LOWER_UP> mtu 1448 qdisc noqueue state UNKNOWN mode
DEFAULT group default qlen 1000
link/gre6 fe80::1 brd 2001:dead:beef::2 permaddr eeb8:3eff:9c04::
7: tun1@NONE: <NOARP,UP,LOWER_UP> mtu 1332 qdisc noqueue state UNKNOWN mode
DEFAULT group default qlen 1000
link/tunnel6 fe80::2 brd 2001:dead:beef::3 permaddr 8e47:2223:4643::
$ journalctl -u systemd-networkd -b --since "1 min ago" --no-pager
Nov 19 09:41:36 clean-jammy-amd64 systemd-networkd[3014]: tun0: Re-configuring
with /run/systemd/network/10-netplan-tun0.network
Nov 19 09:41:36 clean-jammy-amd64 systemd-networkd[3014]: tun0: DHCPv6 lease
lost
Nov 19 09:41:36 clean-jammy-amd64 systemd-networkd[3014]: tun1: Re-configuring
with /run/systemd/network/10-netplan-tun1.network
Nov 19 09:41:36 clean-jammy-amd64 systemd-networkd[3014]: tun1: DHCPv6 lease
lost
Nov 19 09:41:36 clean-jammy-amd64 systemd-networkd[3014]: tun0: Re-configuring
with /run/systemd/network/10-netplan-tun0.network
Nov 19 09:41:36 clean-jammy-amd64 systemd-networkd[3014]: tun0: DHCPv6 lease
lost
Nov 19 09:41:36 clean-jammy-amd64 systemd-networkd[3014]: tun1: Re-configuring
with /run/systemd/network/10-netplan-tun1.network
Nov 19 09:41:36 clean-jammy-amd64 systemd-networkd[3014]: tun1: DHCPv6 lease
lost
** Tags removed: verification-needed verification-needed-jammy
** Tags added: verification-done verification-done-jammy
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2037667
Title:
Regression on Jammy's kernel 5.15 when creating ip6gre and vti6
tunnels
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2037667/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs