dhclient-enter-hooks don't work to write dns server to file /etc/resolv.conf

Bug #1675261 reported by Junbo Yang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
isc-dhcp (Ubuntu)
New
Undecided
Unassigned

Bug Description

On ubuntu 16.04.1, I use command "dhclient -6 [interface]" get ip and DNS from dhcp server. The interface could get ip address sccuessfully. But the dns who get from dhcp server do not write into file "/etc/resolv.conf".
To annotate line "run_hookdir /etc/dhcp/dhclient-enter-hooks.d" in file /sbin/dhclient-script, it works.
So it seems /etc/dhcp/dhclient-enter-hooks.d/resolvconf did not work.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.