NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

install/51683: sysinst incorrectly puts the domain name on the hostname in /etc/rc.conf



>Number:         51683
>Category:       install
>Synopsis:       sysinst incorrectly puts the domain name on the hostname in /etc/rc.conf
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    install-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Dec 02 22:30:00 +0000 2016
>Originator:     Dean Anderson
>Release:        7.0.1
>Organization:
Av8 Internet, Inc
>Environment:
NetBSD mktdata1 7.0.1 NetBSD 7.0.1 (AV8_XEN3_DOMU) #0: Wed Sep 14 22:32:39 EDT 2016  root%repo1.boscp.av8.net@localhost:/usr/src/sys/arch/amd64/compile/AV8_XEN3_DOMU amd64

>Description:
sysinst incorrectly puts the domain name on the hostname in /etc/rc.conf

Install with dhcp [there is another bug on dhcpcd: workaround to that: remove the hostname command from /etc/dhcpcd.conf]

The generated rc.conf file will have hostname=<hostname>.<domainmame> without a final dot.

When dhcpcd update the reverse dns, it will have <hostname>.<domainname>.<domainname>.

Thanks,

  --Dean
>How-To-Repeat:
nstall with dhcp [there is another bug on dhcpcd: workaround to that: remove the hostname command from /etc/dhcpcd.conf]

The generated rc.conf file will have hostname=<hostname>.<domainmame> without a final dot.

When dhcpcd update the reverse dns, it will have <hostname>.<domainname>.<domainname>.

>Fix:
manually remove the domain name from the hostname in /etc/rc.conf



Home | Main Index | Thread Index | Old Index