Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#38299 - [netctl] wrong DNS on lease renewal

Attached to Project: Arch Linux
Opened by David Costa (zarel) - Saturday, 28 December 2013, 16:56 GMT
Last edited by Jouke Witteveen (jouke) - Sunday, 02 March 2014, 17:30 GMT
Task Type Bug Report
Category Arch Projects
Status Closed
Assigned To Jouke Witteveen (jouke)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

Description:
When using dhclient and user-provided DNS, resolv.conf is correct right after the profile has been started but it gets overwritten by dhclient as soon as the lease is renewed.

The profile I use is as simple as:
Interface=wlp2s0
Connection=wireless
Security=none
ESSID=xxxx
IP=dhcp
DHCPReleaseOnStop=yes
DHCPClient=dhclient
DNS=8.8.8.8


The version of netctl is: 1.4-2
This task depends upon

Closed by  Jouke Witteveen (jouke)
Sunday, 02 March 2014, 17:30 GMT
Reason for closing:  Upstream
Comment by Jouke Witteveen (jouke) - Sunday, 02 March 2014, 17:30 GMT
This is an issue with dhclient and can be fixed by via dhclient-scripts, which is the culprit of this behavior. Unfortunately, there are no dhclient parameters to prevent dhclient-scripts from touching resolv.conf.

Loading...