I wrote: > I am currently running NetworkManager which writes the resolv.conf > file and I see that webmin already has "support" for this. On the > "DNS Client" page, the three "DNS Servers" boxes contain the words > 'controlled', 'by', and 'NetworkManager'. It should be easy to > extend that code so that it recognizes when /etc/resolv.conf is > managed by resolv.conf.
I spoke too soon. I changed the hostname on that page and clicked "Save" and received an error message: '"controlled" is not a valid nameserver IP address'. After entering '127.0.0.1' in the first field and blanks in the others, webmin displays '127.0.0.1', 'controlled' and 'by' as the three addresses. So NetworkManager isn't really "supported" yet. :/ When I entered some legal addresses and clicked 'Save' again, webmin did change the hostname. Complaint: the nsswitch.conf file was written even though I hadn't changed those settings; the old file was byte-for-byte similar to the file that was written out. If files aren't changed then configuration tools should _not_ write them; the ctime should be preserved. On a positive note, I am happy to see that webmin does the right thing in changing the hostname. It changes the name in both /etc/hostname and /etc/hosts. (It correctly does _not_ add the hostname as an alias for localhost, as gnome-system-tools incorrectly does.) -- Thomas Hood -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]