Date: Fri, 1 Mar 2002 15:10:01 -0800 (PST) From: Michael Wardle <michael@endbracket.net> To: freebsd-bugs@FreeBSD.org Subject: Re: misc/35400: sysinstall could improve manipulation of /etc/hosts Message-ID: <200203012310.g21NA1v99888@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR misc/35400; it has been noted by GNATS. From: Michael Wardle <michael@endbracket.net> To: Makoto Matsushita <matusita@jp.FreeBSD.org> Cc: bug-followup@FreeBSD.org Subject: Re: misc/35400: sysinstall could improve manipulation of /etc/hosts Date: Fri, 1 Mar 2002 15:05:16 -0800 (PST) --- Makoto Matsushita <matusita@jp.FreeBSD.org> wrote: > > michael> If sysinstall does not currently do this (perhaps it's a > michael> special case for a null domain), it should be updated to use > michael> the suggested /etc/hosts format. > > What "use the suggested /etc/hosts format" mean? The format hosts(5) mentions (not very clearly, tho) is IP number | full host name | short host name/aliases > IMHO, I *don't* think that followings are good ideas: > > 1) if user doesn't specify domainname, sysinstall assumes that > pre-defined default domainname, is selected. > > 2) if user doesn't specify domainname, sysinstall warns with a dialog > that "you have to set a domain-part of your hostname." I think I entered an empty domain for my home network, and it asked me whether I would like to add an entry with a terminal dot, so it's already doing something similar. When it does do this, I am saying it should put both the FQDN (i.e. host name with terminal dot) and the short host name on the same line in /etc/hosts. If sysinstall builds /etc/hosts lines in other situations, I would suggest we make sure it's putting the full host name and the short host name on the same line, rather than separate lines for each. Sorry to be so vague. __________________________________________________ Do You Yahoo!? Yahoo! Greetings - Send FREE e-cards for every occasion! http://greetings.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200203012310.g21NA1v99888>