ok, I confirm all this, on my 24.04 systemd-networkd.service has also the status inactive.
"systemctl status systemd-networkd.service" reports: systemd-networkd.service - Network Configuration Loaded: loaded (/lib/systemd/system/systemd-networkd.service; disabled; preset: enabled) Active: inactive (dead) after "systemctl restart systemd-networkd.service" the error changes to : charon-systemd[6448]: installing DNS server xxx via resolvconf charon-systemd[6448]: resolvconf: Dropped protocol specifier '.ipsec' from 'lo.ipsec'. Using 'lo' (ifindex=1). charon-systemd[6448]: resolvconf: Failed to set DNS configuration: Link lo is loopback device. charon-systemd[6448]: adding DNS server failed so I edited "/etc/strongswan.d/charon/resolve.conf" and changed the default interface to lo, instead of lo.ipsec. then the error changes to: charon-systemd[4570]: installing DNS server xxx via resolvconf charon-systemd[4570]: resolvconf: Failed to set DNS configuration: Link lo is loopback device. charon-systemd[4570]: adding DNS server failed so I changed the default interface once again, this time to eth0. and voila my VPN dns servers are added successfully. (without extra file dns.conf and/or any other hassle) to summarize: 1. in "/etc/strongswan.d/charon/resolve.conf" add your real network interface, in my case eth0 2. "systemctl restart systemd-networkd.service" 3. "systemctl restart strongswan" -- 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/systemd/+bug/2067897/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs