Subject: Re: install/22044: missing domainname in rc.conf
To: William Allen Simpson <wsimpson@greendragon.com>
From: Jim Wise <jwise@draga.com>
List: netbsd-bugs
Date: 07/03/2003 14:16:35
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Thu, 3 Jul 2003, William Allen Simpson wrote:
>Jim Wise wrote:
>> Although not quite obviously so, `domainname' sets or gets the _NIS_
>> domain name of the current machine, and so is not relevant (and harmful
>> if set) if NIS is not being used:
>>
>> domainname (1) - set or print YP domain of current host system
>>
>OK. (I tried it, and haven't seen any obvious harm, so far.)
>
>According to that man page, domainname is unique to NetBSD. So,
>somebody around here should know the history.
Not actually -- the manual page informs you which version _of NetBSD_
the utility first appeared in, not which version _of any OS_.
domainname(1) has been around as long as YP/NIS has...
>Perhaps the answer is to change the hostname= to use the fully
>qualified name?
>
>Will this break anything?
This will not break anything, in fact I recommend it:
$ grep hostname /etc/rc.conf
hostname="himring.draga.com"
- --
Jim Wise
jwise@draga.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (NetBSD)
iD8DBQE/BHMHlGcH240chEIRAusHAKCXjcbgWnVohlwtHOywmkRPT/2SmACeOMSv
d/MlmgOLYvNuV+dy4p0exKw=
=pDpX
-----END PGP SIGNATURE-----