[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] dhcp problem with vif-nat
I am using nat for guest domU with dhcp running on dom0. on creating the domU xend-debug.log reports: Can't open /etc/dhcp3/dhcpd.conf: Permission denied and dhcp fails. The vif0.X is created and the dhcp.conf is modified according to the randomly generated mac address and the address of vifx.0. I think the problem lies in the vif-nat script in synchronization during dhcpd.conf modification. Restart(start) of the dhcp server fails and the failure is ignored. With the following change the creation of domain rightly fails. But does not solve my problem. --- /work/unstable/xen-unstable.hg/dist/install/etc/xen/scripts/vif-nat 2006-06-06 18:12:11.000000000 +0100 +++ vif-nat 2006-06-07 11:53:15.000000000 +0100 @@ -110,7 +110,7 @@ echo >>"$dhcpd_conf_file" \ "host $hostname { hardware ethernet $mac; fixed-address $vif_ip; option routers $router_ip; option host-name \"$hostname\"; }" release_lock "vif-nat-dhcp" - "$dhcpd_init_file" restart || true + "$dhcpd_init_file" restart && true Any ideas to debug this ? Anup _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |