> Ubuntu 24.04 does not install resolvconf uses systemd-resolved instead
which is broken

Clickbait bug titles like this do not usually inspire confidence.
Marking as "opinion" helps my triage process, because I do my best to
focus on actionable items, and cannot always spend time "defending" the
default configurations of systemd and Ubuntu.

Looking closer at the bug, I see that you are having difficulty
configuring DNS via strongswan. The problem is that by default, the
strongswan resolve plugin uses the lo interface to set DNS servers on.
But, systemd-resolved does allow setting DNS on loopback interfaces.
This leads to the fallback attempt via systemd-networkd, but assuming
this is a desktop, I would not expect systemd-networkd to be running
(NetworkManager is the default on desktop).

Anyways, you can change the default interface used by the resolve plugin
using the following snippet (or modifying
/etc/strongswan.d/charon/resolve.conf directly):

# /etc/strongswan.d/charon/resolve-iface.conf
resolve {

    load = yes

    resolvconf {

        # Interface name/protocol sent to resolvconf(8).
        iface = <your interface name here>.ipsec

    }

}

That should fix the problem.

> if so, wow I am impressed how ignorant one can be..

This sort of comment does not make me want to work with you in the
future.


** Changed in: systemd (Ubuntu)
       Status: Opinion => Incomplete

** Also affects: strongswan (Ubuntu)
   Importance: Undecided
       Status: New

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

Title:
  Ubuntu 24.04 does not install resolvconf uses systemd-resolved instead
  which is broken

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


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

Reply via email to