Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 659220 - [TRACKER] Need for a virtual/resolvconf package given sys-apps/systemd-239's resolvconf support
Summary: [TRACKER] Need for a virtual/resolvconf package given sys-apps/systemd-239's ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Alon Bar-Lev (RETIRED)
URL: https://github.com/systemd/systemd/is...
Whiteboard:
Keywords:
Depends on: 669244 669246 669248 669250
Blocks:
  Show dependency tree
 
Reported: 2018-06-26 08:36 UTC by Mike Auty (RETIRED)
Modified: 2019-01-23 18:54 UTC (History)
14 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Auty (RETIRED) gentoo-dev 2018-06-26 08:36:25 UTC
Hi everyone,

Systemd (with the resolvconf USE flag) now supports an interface for programs to call resolvconf and have them managed by systemd-resolved.

It feels as though this would be a candidate for a virtual/resolvconf package that uses either openresolv or systemd-239[resolvconf]?  The current packages with a hard dependency on openresolv are the following:

net-misc/netctl
net-misc/networkmanager
net-vpn/openconnect
net-vpn/vpnc

The first step would be to get the virtual in place, then convert over the above packages to make use of it.  This bug is designed as a tracker to do those things.

I don't know who it makes best sense to look after the virtual, but I figured perhaps Alon who looks after openresolv at the moment?

(Note: there is a bug in the current resolvconf support see [1])

[1] https://github.com/systemd/systemd/issues/9423
Comment 1 Larry the Git Cow gentoo-dev 2018-08-24 18:28:29 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b53a8ddd0bbdf1848a35f60a89c66de5014e125d

commit b53a8ddd0bbdf1848a35f60a89c66de5014e125d
Author:     Alon Bar-Lev <alonbl@gentoo.org>
AuthorDate: 2018-08-24 17:32:05 +0000
Commit:     Alon Bar-Lev <alonbl@gentoo.org>
CommitDate: 2018-08-24 17:32:05 +0000

    virtual/resolvconf: initial add
    
    Bug: https://bugs.gentoo.org/show_bug.cgi?id=659220
    Package-Manager: Portage-2.3.40, Repoman-2.3.9

 virtual/resolvconf/metadata.xml        |  7 +++++++
 virtual/resolvconf/resolvconf-1.ebuild | 12 ++++++++++++
 2 files changed, 19 insertions(+)
Comment 2 Mike Auty (RETIRED) gentoo-dev 2018-08-28 18:45:35 UTC
Awesome, thanks Alon!  5:)
Comment 3 Mike Auty (RETIRED) gentoo-dev 2018-10-21 21:27:18 UTC
I just noticed that NetworkManager was updated, but still depended explicitly on openresolv, so I've opened bugs that block this one, for the packages that do that.

I also noticed that virtual/resolvconf doesn't yet list >=sys-apps/systemd-239-r1[resolvconf].  As of version 239-r1, the bug I identified has been fixed, and I've been using it without problem since then.

@alon, would you be able to add the >=sys-apps/systemd-239-r1[resolvconf] dependency as a second option to fulfill the dependency please?  

If it's second then it won't affect anyone's current installation, but there's a chance that future installs will have systemd already satisfied, and the flag in most packages is the same, which is the only way I can see people could unknowingly end up using the systemd implementation.  I think that's probably a reasonable way of slowly getting the option out there without forcing it on anyone, but happy to defer to different opinions.  5:)

Thanks very much!  5:)
Comment 4 Alon Bar-Lev (RETIRED) gentoo-dev 2018-10-22 05:17:35 UTC
(In reply to Mike Auty from comment #3)
> @alon, would you be able to add the >=sys-apps/systemd-239-r1[resolvconf]
> dependency as a second option to fulfill the dependency please?  

Hi,
You can do this yourself, no reason to wait for me.
Thanks.
Comment 5 Mike Auty (RETIRED) gentoo-dev 2018-10-22 07:41:57 UTC
Thanks, I just didn't want to tread on your feet.  All done as of commit b93b8cc8621.  5:)
Comment 6 Erik Quaeghebeur 2018-10-31 10:52:17 UTC
Now that systemd-239 has been stabilized without all the blockers being fixed, what is the recommended workaround? (I have a merge conflict between openresolv and systemd.)
Comment 7 Mike Auty (RETIRED) gentoo-dev 2018-11-08 18:53:17 UTC
The easiest solution would be to set USE="-resolvconf" for sys-apps/systemd.  Otherwise you'd need to figure out which package depends on net-dns/openresolv (there's only 3 left, and I'll be fixing vpnc soon) and sign up to the ticket for that package.  The authors should be aware, but you can always mention that it's now stable and therefore more users are likely to encounter the issue.  Hope that's of some help?
Comment 8 Mike Gilbert gentoo-dev 2019-01-23 18:54:26 UTC
All blockers have be resolved.