Bug#267321: Debian installer and /etc/hosts
- To: 267321-submitter@bugs.debian.org, 267321@bugs.debian.org
- Cc: VSJ <debian@terabytemusic.cjb.net>, Bill Allombert <ballombe@debian.org>, Pierre Machard <pmachard@debian.org>, Greg Folkert <greg@gregfolkert.net>, Bernd Eckenfels <lists@lina.inka.de>, "Adam D. Barratt" <highvol-debian-devel@adam-barratt.org.uk>, Chris Hanson <cph@debian.org>, Bdale Garbee <bdale@gag.com>
- Subject: Bug#267321: Debian installer and /etc/hosts
- From: Thomas Hood <jdthood@aglu.demon.nl>
- Date: Mon, 23 Aug 2004 14:53:11 +0200
- Message-id: <[🔎] 1093265591.5229.666.camel@thanatos>
- Reply-to: Thomas Hood <jdthood@aglu.demon.nl>, 267321@bugs.debian.org
- In-reply-to: <200408222237.14420.debian@terabytemusic.cjb.net>
- References: <1093205544.5230.584.camel@localhost.localdomain> <200408222237.14420.debian@terabytemusic.cjb.net>
John Summerfield wrote:
> I'll go further too and propose that sudo's hehaviour is broken. It
> should not be trying to resolve $HOSTNAME if there's no external
> network: note that if there's no external network that implies the
> user has local access. Test rules for 127.0.0.1 by all means.
> The brokenness of sudo is no reason to break even more software.
Bdale Garbee has already addressed this accusation in his comment to
bug report #266209:
> One of the features of sudo is the ability to express permissions across
> hosts, which results in sudo wanting to be able to do DNS lookups on the
> current host.
>
> If you want this to work with less delay when the network isn't accessible,
> you should investigate the options provided by the nsswitch.conf file to have
> a working gethostbyname() capability even when DNS servers aren't reachable.
John Summerfield continued:
> If there is no external network, then the behaviour of programs such as
> ping, telnet, ssh are irrelevant. All are of limited use without a
> functioning network.
That isn't entirely true. Some programs use the loopback interface to
provide/use services locally.
--
Thomas Hood
Reply to: