[Bug 1892798] Re: systemd package missing resolvconf(8) compatibility symlink, and a Provides: resolvconf
Jason A. Donenfeld
1892798 at bugs.launchpad.net
Tue Aug 25 22:01:14 UTC 2020
By the way, Arch manages the possibility of openresolv colliding with
systemd's resolvconf by providing a package called "systemd-resolvconf":
https://www.archlinux.org/packages/core/x86_64/systemd-resolvconf/
https://github.com/archlinux/svntogit-
packages/blob/packages/systemd/trunk/PKGBUILD#L239-L251
This seems like a perfectly reasonable way to accomplish this. Simply
package the symlink in a separate package, and then the "Recommends:"
for wireguard just includes systemd-resolvconf in the list alongside
openresolv and resolvconf.
That seems like an exceedingly reasonable way of going about things. Why
not just do the same thing here?
--
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:
systemd package missing resolvconf(8) compatibility symlink, and a
Provides: resolvconf
Status in systemd package in Ubuntu:
Won't Fix
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