VBox/NAT dhcp server and Lucid's resolvconf.

Vasily Levchenko vasily.v.levchenko at gmail.com
Thu Feb 25 07:57:51 UTC 2010


Greetings folks,

Recently VBox's community found that Lucid's guest resolvconf doesn't respect configuration sent by DHCP server (resolv.conf contains only auto-generated message), I've enabled debug script to dump variables on dhclient-enter-hooks.d and get following:

vbox at vbox-laptop:~$ less /tmp/dhclient-script.debug 
Thu Feb 25 13:39:12 MSK 2010: entering dhclient-enter-hooks.d, dumping variables.
reason='PREINIT'
interface='eth0'
medium=''
alias_ip_address=''
new_ip_address=''
new_subnet_mask=''
new_domain_name=''
new_domain_search=''
new_domain_name_servers=''
new_routers=''
new_static_routes=''
old_ip_address=''
old_subnet_mask=''
old_domain_name=''
old_domain_search=''
old_domain_name_servers=''
old_routers=''
old_static_routes=''
--------------------------
Thu Feb 25 13:39:14 MSK 2010: entering dhclient-enter-hooks.d, dumping variables.
reason='BOUND'
interface='eth0'
medium=''
alias_ip_address=''
new_ip_address='10.0.2.15'
new_subnet_mask='255.255.255.0'
new_domain_name=' '
new_domain_search=''
new_domain_name_servers='10.0.2.3'
new_routers='10.0.2.2'
new_static_routes=''
old_ip_address=''
old_subnet_mask=''
old_domain_name=''
old_domain_search=''
old_domain_name_servers=''
old_routers=''
old_static_routes=''
--------------------------
vbox at vbox-laptop:~$ less /tmp/dhclient-script.debug ^C
vbox at vbox-laptop:~$ less /etc/resolv.conf 
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
#     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN

What could be recommendation about further debugging and does it like server bug (if yes what is wrong) or it's looks like a bug on resolvconf side? Previous ubuntu releases haven't demonstrated such behavior. 

Kind Regards,
Vasily.







More information about the Ubuntu-devel-discuss mailing list