Thanks for confirming that this is now working for you! There was a time when the 22.04 -> 24.04 upgrade did not properly install the systemd-resolved package (LP: #2054761), maybe you got hit by that issue. So I'm flagging this as a systemd[-resolved] upgrade issue.
But I cannot seem to reproduce this in a clean 22.04 Jammy container: After "apt install resolvconf" and "do-release-upgrade", I get a clean Noble system with systemd-resolved installed and resolvconf removed. So I'm setting the systemd task to "Incomplete" until it can be reproduced. For other hitting this issue, this command should probably fix the issue: $ apt install systemd-resolved ** Changed in: wireguard (Ubuntu) Status: Incomplete => Invalid ** Also affects: systemd (Ubuntu) Importance: Undecided Status: New ** Changed in: wireguard (Ubuntu) Status: Invalid => Incomplete ** Changed in: systemd (Ubuntu) Status: New => Incomplete ** Changed in: wireguard (Ubuntu) Status: Incomplete => Invalid -- 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/2092329 Title: wg-quick fails with systemd resolvconf compatibility shim Status in systemd package in Ubuntu: Incomplete Status in wireguard package in Ubuntu: Invalid Bug description: systemd resolvectl supports resolvconf compatibility mode when invoked as resolvconf. Ubuntu 24.04 apparently no more provides the real recolvconf: bor@bor-Latitude-E5450:~/tmp$ dpkg-query -S /usr/sbin/resolvconf systemd-resolved: /usr/sbin/resolvconf This version requires the real interface and fails with wg-quick hack: bor@bor-Latitude-E5450:~/tmp$ sudo wg-quick up ./wg0.conf [#] ip link add wg0 type wireguard [#] wg setconf wg0 /dev/fd/63 [#] ip -4 address add 192.168.6.160/32 dev wg0 [#] ip link set mtu 1420 up dev wg0 [#] resolvconf -a tun.wg0 -m 0 -x Failed to resolve interface "tun.wg0": No such device [#] ip link delete dev wg0 bor@bor-Latitude-E5450:~/tmp$ So, wg-quick became unusable on Ubuntu. It worked fine in Ubuntu 22.04. ProblemType: Bug DistroRelease: Ubuntu 24.04 Package: wireguard-tools 1.0.20210914-1ubuntu4 ProcVersionSignature: Ubuntu 6.8.0-50.51.1-lowlatency 6.8.12 Uname: Linux 6.8.0-50-lowlatency x86_64 ApportVersion: 2.28.1-0ubuntu3.3 Architecture: amd64 CasperMD5CheckResult: unknown CurrentDesktop: ubuntu:GNOME Date: Sat Dec 21 17:13:23 2024 DistributionChannelDescriptor: # This is a distribution channel descriptor # For more information see http://wiki.ubuntu.com/DistributionChannelDescriptor canonical-oem-somerville-trusty-amd64-20140620-0 InstallationDate: Installed on 2015-07-02 (3460 days ago) InstallationMedia: Ubuntu 14.04 "Trusty" - Build amd64 LIVE Binary 20140620-04:25 ProcEnviron: LANG=ru_RU.UTF-8 PATH=(custom, no user) SHELL=/bin/bash XDG_RUNTIME_DIR=<set> SourcePackage: wireguard UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/2092329/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp