[Bug 1892798] Re: eliminating resolvconf/openresolv dependencies
Jason A. Donenfeld
1892798 at bugs.launchpad.net
Tue Aug 25 09:24:22 UTC 2020
Thanks for bringing this to my attention. I believe your assessment is
correct. Do you know which Ubuntu first started using resolved? How far
back do we need to make changes?
There are two facets of this:
1) The Ubuntu systemd package should install the resolvconf
compatibility symlink. I have no idea why this isn't already the case,
and that seems like a bug that should be remedied ASAP. resolvconf(8) is
the standard interface for programs to interact with DNS, which is why
systemd provides it. Not providing it is super confusing.
2) The Recommends in the wireguard package should be adjusted.
I believe apw@ can handle (2). Somebody on the systemd team should
handle (1).
** Changed in: wireguard (Ubuntu)
Status: New => Confirmed
** Also affects: systemd (Ubuntu)
Importance: Undecided
Status: New
** Changed in: systemd (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1892798
Title:
eliminating resolvconf/openresolv dependencies
Status in systemd package in Ubuntu:
Confirmed
Status in wireguard package in Ubuntu:
Confirmed
Bug description:
By default Ubuntu now uses systemd to manage the nameservers in
resolv.conf, so resolvconf and openresolv seem to be redundant.
However, it appears that systemd's resolvectl is compatable with
resolvconf style commands if symlinked as resolvconf.
I'm not really sure how deb packaging works, but if it possible to
check for the resolvconf command, and if not found just symlink
/usr/bin/resolvectl to /usr/sbin/resolvconf then wg-quick will work
without additional packages.
See
https://manpages.ubuntu.com/manpages/focal/man1/resolvectl.1#compatibility%20with%20resolvconf(8)
for more info.
Apologies if there is a better place to direct this info.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1892798/+subscriptions
More information about the foundations-bugs
mailing list