non-Ethernet tunnel interface creation fails on jammy 5.15.0-81 or later

Bug #2049234 reported by Sorah Fukumori
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Undecided
Unassigned
systemd (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

jammy kernel 5.15.0-81.90 includes the following backport:

https://github.com/torvalds/linux/commit/b0ad3c179059089d809b477a1d445c1183a7b8fe
https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/jammy/commit/?h=Ubuntu-5.15.0-91.101&id=1dcafa2582f335f0d929f3e9e736775a95271c43
https://bugs.launchpad.net/bugs/2029401

This causes creation of ip6tnl tunnel interface to fail through systemd-networkd. The following systemd commit also has to be applied to jammy:

https://github.com/systemd/systemd/commit/3be64aa462642de9fbe9f95536f8d167c19994bb

(Other commits might be required along with above)

Since the systemd commit is missing on jammy, Kind=ip6tnl netdev configuration fails as follows:

> eno1: Could not create stacked netdev: Invalid argument

I believe this is a regression; We encountered this linux-image-5.15.0-91-generic installed via unattended-upgrade -- Also EINVAL during creating tunnel interfaces let AcceptIPv6RA function not to start, so we lose connection to our server due to missing IP address.

```
# eno1.network
[Match]
Name=eno1

[Network]
Tunnel=test_tun
```

```
# test_tun.netdev
[NetDev]
Name=test_tun
Kind=ip6tnl

[Tunnel]
Local=2001:db8::a
Remote=2001:db8::b
Mode=any
```

```
# test_tun.network
[Match]
Name=test_tun

[Network]
Address=10.0.0.1/24
```

Sorah Fukumori (sorah)
description: updated
description: updated
Sorah Fukumori (sorah)
description: updated
description: updated
Sorah Fukumori (sorah)
description: updated
Sorah Fukumori (sorah)
summary: - tunnel interface creation fails on jammy 5.15.0-81 or later
+ non-Ethernet tunnel interface creation fails on jammy 5.15.0-81 or later
Revision history for this message
Sorah Fukumori (sorah) wrote :

I’m unsure this is the right way but adding linux package as this was also caused by kernel upgrade.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in linux (Ubuntu):
status: New → Confirmed
Changed in systemd (Ubuntu):
status: New → Confirmed
Revision history for this message
Nick Rosbrook (enr0n) wrote :

This sounds like a duplicate of 2037667, which is planned to be fixed sometime soon-ish.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.