Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 744508 - net-vpn/openconnect with net-misc/dhcpcd fighting over /etc/resolv.conf
Summary: net-vpn/openconnect with net-misc/dhcpcd fighting over /etc/resolv.conf
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-09-24 13:43 UTC by Konstantin Tokarev
Modified: 2020-09-27 09:19 UTC (History)
2 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 Konstantin Tokarev 2020-09-24 13:43:58 UTC
After connection net-vpn/openconnect writes DHCP info into /etc/resolv.conf, however net-misc/dhcpcd overwrites it. As a result, internal domain names of VPN network are inaccessible.

If net-misc/dhcpcd is known to conflict with net-vpn/openconnect and there is a different dhcp client I should be using instead, it should be reflected in ebuild conflict.

Reproducible: Always
Comment 1 Mike Gilbert gentoo-dev 2020-09-25 13:10:12 UTC
There is really nothing I can do about this. You’ll need to configure one of them not to write resolv.conf.
Comment 2 Mike Gilbert gentoo-dev 2020-09-25 14:43:24 UTC
Both packages support call net-dns/openresolv to manage resolv.conf, so you might try installing that.
Comment 3 Konstantin Tokarev 2020-09-27 09:19:08 UTC
Thanks, it worked.