[clue-tech] /etc/hosts changing on Debian
Angelo Bertolli
angelo at freeshell.org
Sat May 10 20:09:46 MDT 2008
Bruce Ediger wrote:
> On Sat, 10 May 2008, Angelo Bertolli wrote:
>
>> Can someone give me a clue as to what might be editing the /etc/hosts
>> file on Debian? I suspect the gnome network-admin program, but I'm
>> not sure. For some reason, the system keeps adding what it thinks my
>> local host name should be to the table. Sometimes it adds the host
>> name with a bogus IP address
>
> Sounds like the DHCP client to me. Doesn't Debian use "pump" or some odd
> thing? I'm a Slackware kind of guy, and Slackware uses "dhcpcd".
> SuSE or NetBSD used "dhclient", I think.
I'm using dhclient as well...
>> from an old connection that wasn't activated. Sometimes it adds my
>> hostname.RouterSuppliedDomain with the correct IP address. This
>> messes up some programs like sudo.
>
> This reinforces my guess about the DHCP client, whatever it might be.
Maybe. I did find a couple of things that seem to point to network-admin:
http://ubuntuforums.org/showthread.php?t=4204
http://ubuntuforums.org/showthread.php?t=623868
But I won't rule out dhclient completely.
Angelo
More information about the clue-tech
mailing list