Public bug reported:

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)

** Affects: wireguard (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug noble wayland-session

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2092329

Title:
  wg-quick fails with systemd resolvconf compatibility shim

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/wireguard/+bug/2092329/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to