Thanks for flagging this issue. It seems to be a duplicate of bug
#2092329.


You mentioned that this is happening on Ubuntu 24.04 (Noble), which is curious, 
as the file /etc/resolvconf/interface-order should not exist on such systems. 
This file is part of the "resolveconf" package which is not supported nor 
available after Ubuntu 22.04.

Is "resolvconf" still installed on your system? Is systemd-resolved
installed? Can you please check this via:

$ dpkg -l | grep resolv

If so, the installation of systemd-resolved might improve the situation
by using the systemd's resolveconf compatibility shim (resolvectl
symlink). Can you confirm this?

$ apt install systemd-resolved

And finally, thank you for providing a suggested fix for
resolveconf_iface_prefix(), but I'd rather go with upstream's solution
and we might want to cherry-pick that into our wireguard package, too.
Does this change to resolveconf_iface_prefix() work for you?

[[ -f /etc/resolvconf/interface-order && ! -L $(type -P resolvconf) ]]
|| return 0


https://git.zx2c4.com/wireguard-tools/commit/?id=d3b40aff964789a2a0533cb7a070592a75a996e3

** Changed in: wireguard (Ubuntu)
       Status: New => Incomplete

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

Title:
  Bug: resolvconf_iface_prefix returns incorrect prefix for all
  interfaces

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


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to