Subject: Re: install/21999: localhost.domain not correctly set in /etc/hosts file
To: Greg A. Woods <woods@weird.com>
From: William Allen Simpson <wsimpson@greendragon.com>
List: netbsd-bugs
Date: 06/27/2003 15:45:49
[Sorry in advance for the sarcasm, friendly readers]
"Greg A. Woods" wrote:
> What, exactly, in NetBSD is trying to find "localhost.$your_domain"?
>
It would help that you would read the other postings before savaging
the reporter:
/etc/daily, for example.
> What, exactly, "breaks" in /etc/security?
>
The "daily security update isn't delivered". What don't you understand?
Have you actually run a clean installed -current since April?
> > Certainly, based on RFC-1912, an argument could be made that some
> > domains would want to name a host "localhost.dom.ain", and the daily
> > security update will start being delivered to their root, instead of
> > its own.
>
> That doesn't make any sense.
>
I certainly agree that would be a bad outcome!
> > Somehow, it gives me a more warm fuzzy feeling to know that some user
> > that really needs to talk to "localhost.dom.ain" on some other system
> > will have to remove a line from /etc/hosts.
>
> That doesn't make any sense either.
>
What exactly don't you understand about the fairly literate sentence?
> > Now, is it easier and better to change the library code, as you suggest,
> > and regression test all applications?
>
> You haven't identified exactly what broke yet.
>
Here's a quick list of possible library uses of "localhost" that need
to be checked:
crypto/dist/heimdal/appl/kx/common.c
crypto/dist/heimdal/appl/kx/kx.c
crypto/dist/heimdal/appl/kx/kxd.c
crypto/dist/heimdal/lib/krb5/principal.c
crypto/dist/kame/racoon/missing/getaddrinfo.c
crypto/dist/krb4/appl/bsd/bsd_locl.h
crypto/dist/krb4/appl/bsd/klogin.c
crypto/dist/krb4/appl/bsd/login.c
crypto/dist/krb4/appl/kx/common.c
crypto/dist/krb4/appl/kx/kx.c
crypto/dist/krb4/appl/kx/kxd.c
crypto/dist/openssl/apps/s_client.c
crypto/dist/openssl/apps/s_time.c
crypto/dist/openssl/demos/bio/sconnect.c
crypto/dist/openssl/demos/eay/conn.c
crypto/dist/ssh/auth-krb4.c
crypto/dist/ssh/channels.c
crypto/dist/ssh/readconf.c
crypto/dist/ssh/readconf.h
crypto/dist/ssh/servconf.c
crypto/dist/ssh/servconf.h
crypto/dist/ssh/session.c
crypto/dist/ssh/ssh.c
crypto/dist/ssh/sshconnect.c
dist/am-utils/amd/amd.c
dist/am-utils/amd/amfs_toplvl.c
dist/am-utils/amd/srvr_amfs_auto.c
dist/am-utils/amq/amq.c
dist/am-utils/amq/pawd.c
dist/am-utils/conf/autofs/autofs_solaris_v1.c
dist/am-utils/conf/autofs/autofs_solaris_v2_v3.c
dist/am-utils/conf/transp/transp_sockets.c
dist/am-utils/fixmount/fixmount.c
dist/am-utils/hlfsd/hlfsd.c
dist/am-utils/wire-test/wire-test.c
dist/bind/bin/irpd/irpd.c
dist/bind/bin/named/ns_config.c
dist/bind/bin/named/ns_defs.h
dist/bind/bin/named/ns_func.h
dist/bind/bin/named/ns_sort.c
dist/bind/lib/irs/getaddrinfo.c
dist/bind/lib/irs/gethostent.c
dist/bind/lib/irs/nis_ho.c
dist/ntp/ntpdc/ntpdc.c
dist/ntp/ntptrace/ntptrace.c
dist/ntp/scripts/monitoring/ntploopstat
dist/ntp/scripts/monitoring/ntptrap
gnu/dist/postfix/src/global/mail_params.h
gnu/dist/postfix/src/global/peer_name.c
gnu/dist/postfix/src/local/biff_notify.c
gnu/dist/postfix/src/qmqpd/qmqpd_peer.c
gnu/dist/postfix/src/smtpd/smtpd_peer.c
gnu/dist/postfix/src/util/dict_ldap.c
gnu/dist/postfix/src/util/dict_mysql.c
gnu/dist/postfix/src/util/inet_connect.c
gnu/dist/sendmail/libsm/ldap.c
gnu/dist/sendmail/mail.local/mail.local.c
gnu/dist/sendmail/sendmail/collect.c
gnu/dist/sendmail/sendmail/daemon.c
gnu/dist/sendmail/sendmail/deliver.c
gnu/dist/sendmail/sendmail/domain.c
gnu/dist/sendmail/sendmail/headers.c
gnu/dist/sendmail/sendmail/main.c
gnu/dist/sendmail/sendmail/map.c
gnu/dist/sendmail/sendmail/readcf.c
gnu/dist/sendmail/sendmail/savemail.c
gnu/dist/sendmail/sendmail/srvrsmtp.c
gnu/dist/toolchain/sim/arm/kid.c
gnu/dist/toolchain/sim/arm/main.c
lib/libc/net/getaddrinfo.c
lib/libc/net/rcmd.c
lib/libwrap/socket.c
libexec/mail.local/mail.local.c
libexec/rlogind/rlogind.c
libexec/rshd/rshd.c
libexec/telnetd/sys_term.c
regress/sys/compat/uipc_syscalls_43.c
sbin/mount_portal/examples/fing.c
sbin/routed/rtquery/rtquery.c
usr.bin/ftp/fetch.c
usr.bin/login/k5login.c
usr.bin/login/klogin.c
usr.bin/login/login.c
usr.bin/showmount/showmount.c
usr.bin/tn3270/sys_curses/system.c
usr.bin/ypwhich/ypwhich.c
usr.sbin/rpc.bootparamd/test.c
usr.sbin/rpc.lockd/lockd_lock.c
usr.sbin/rpc.lockd/test.c
usr.sbin/rpc.pcnfsd/pcnfsd_test.c
usr.sbin/rpc.statd/test.c
usr.sbin/sup/source/supscan.c
usr.sbin/ypserv/common/localhostname.c
usr.sbin/ypserv/common/protos.h
usr.sbin/ypserv/common/yplib_host.c
usr.sbin/ypserv/makedbm/makedbm.c
usr.sbin/ypserv/mkalias/mkalias.c
usr.sbin/ypserv/yppush/yppush.c
--
William Allen Simpson
Key fingerprint = 17 40 5E 67 15 6F 31 26 DD 0D B9 9B 6A 15 2C 32