Missing symlink /sbin/resolvconf -> /bin/resolvectl makes openfortivpn mess with /etc/resolv.conf

Bug #2013072 reported by D
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
systemd (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

In jammy (22.04) and focal (20.04) the executable /usr/bin/resolvectl is provided by the package "systemd". If you install the packages libnss-resolve and openfortivpn and run "openfortivpn vpn.example.com -u user -v" you get undesired behavior:

[...]
INFO: Adding VPN nameservers...
DEBUG: Attempting to modify /etc/resolv.conf directly.
DEBUG: Adding "nameserver 10.10.10.10", to /etc/resolv.conf.
DEBUG: Adding "search ~10.in-addr.arpa ~example.com", to /etc/resolv.conf.
[...]

resolvectl can emulate the behavior of resolvconf so if you create a symbolic link "sudo ln -s /usr/bin/resolvectl /sbin/resolvconf" then openfortivpn happily uses resolvconf instead of messing with /etc/resolv.conf:

[...]
INFO: Adding VPN nameservers...
DEBUG: Attempting to run /sbin/resolvconf.
DEBUG: resolvconf_call: /sbin/resolvconf -a "ppp0.openfortivpn"
[...]

So it would be great if the symlink could be included in the package "systemd". Thank you.

Revision history for this message
Nick Rosbrook (enr0n) wrote :

This is done in the systemd-resolved package, which exists in Kinetic and newer (previously systemd-resolved components were shipped in the main systemd package).

However, I don't think this is something that we will SRU to Jammy or Focal.

Changed in systemd (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.