Subject: Re: install/22044: missing domainname in rc.conf
To: None <netbsd-bugs@netbsd.org>
From: William Allen Simpson <wsimpson@greendragon.com>
List: netbsd-bugs
Date: 07/03/2003 14:45:22
Jim Wise wrote:
> This will not break anything, in fact I recommend it:
>
> $ grep hostname /etc/rc.conf
> hostname="himring.draga.com"
>
Alan Barrett wrote:
> sysinst shouldn't even be asking for a domainname. It should
> ask for a hostname, and check that it looks like an FQDN.
>
Alan hit the nail on the head!
It turns out this change was made circa 1.70. Before that, it wrote
into /etc/myname.
The code actually combines the prompted answers in one place, and then
unnecessarily splits them again before writing it out.
--
William Allen Simpson
Key fingerprint = 17 40 5E 67 15 6F 31 26 DD 0D B9 9B 6A 15 2C 32