https://bugzilla.novell.com/show_bug.cgi?id=429132 User tittiatwork@hotmail.com added comment https://bugzilla.novell.com/show_bug.cgi?id=429132#c17 Raymond Wooninck <tittiatwork@hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P0 - Crit Sit --- Comment #17 from Raymond Wooninck <tittiatwork@hotmail.com> 2008-09-27 11:42:13 MDT --- After some investigations I found the error that is causing that the /etc/resolv.conf is not being updated. The problem is in the helper script for netconfig. => dns-resolver. Everything in this scripts goes fine, until the moment of writing the /etc/resolv.conf is there. The function checks if the first parameter is a non-empty field. function write_resolv_conf() { test -z "$1" && return 1 # # empty nameserver is a valid value # #test -z "$2" && return 1 However this function is called with : write_resolv_conf "$DNS_SEARCHLIST" "$DNS_SERVERS" RET=$? This means that if there is no DNS_SEARCHLIST defined by the DHCP server, the dns-resolver will skip the writing of the /etc/resolv.conf as that the first parameter for the write-config function is empty. I believe that we should check if both parameters are empty or not !! When I changed the check to `test -z "$1" && test -z "$2" && return 1` everything is working as expected !! However I am not 100% sure if this is the correct solution to this issue. Regards Raymond -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.