Re: apt: Uses bogus ftp password on ftp:// urls
john@dhh.gt.org writes:
> Assumming you've got 'order hosts,bind' in /etc/host.conf, gethostbyname()
> grabs the first line in /etc/hosts that contains the hostname and returns
> the second field as the fqdn (It pays no attention to the IP number in the
> first field). If it returns 'localhost', the caller is likely to get a bit
> confused.
Some things I saw a while back are much clearer given this explanation.
> IMHO, this not such a great way to get the fqdn. I'd rather put both the
> hostname and the domainname in one file (such as /etc/hostname), and have
> them appear nowhere else.
I agree.
--
Rob Browning <rlb@cs.utexas.edu> PGP=E80E0D04F521A094 532B97F5D64E3930
--
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: