https://bugzilla.novell.com/show_bug.cgi?id=429132 User mt@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=429132#c18 Marius Tomaschewski <mt@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mc@novell.com Status|NEW |ASSIGNED --- Comment #18 from Marius Tomaschewski <mt@novell.com> 2008-09-29 02:23:15 MDT --- (In reply to comment #17 from Raymond Wooninck) [...]
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 !!
Thanks! I think, the correct way is to remote this check. The second parameter (nameserver list) is optional because empty in forwarder configurations and we have IMO also to reset the file when there is not nameserver at all (neither static nor provided by dns). The first parameter is optional, because it is perhaps not provided by the dhcp server or statically (defaults is the domain from gethostname call; see man 5 resolv.conf). I'll disable the empty search list check and submit a new package soon. I'm still fixing a problem with detection if user modified the file, ... -- 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.