Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 May 2025 03:28:14 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 286847] If the hostname is not set for the host, the value "Amnesiac" should be written to rc.conf.
Message-ID:  <bug-286847-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286847

            Bug ID: 286847
           Summary: If the hostname is not set for the host, the value
                    "Amnesiac" should be written to rc.conf.
           Product: Base System
           Version: Unspecified
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: conf
          Assignee: bugs@FreeBSD.org
          Reporter: yklaxds@gmail.com

see also https://docs.freebsd.org/en/books/handbook/network/#hostname

If no hostname has been set for the host FreeBSD will assign the value
Amnesiac.

This operation does not actually work because the hostname setting in `rc.conf`
is `hostname=""`. As a result, all software, including the output of the
`hostname` command, still shows an empty value. For Xorg, a setting like
`hostname=""` will prevent the GUI from starting. If the hostname is not set
for the host, the value `"Amnesiac"` should be written to `rc.conf`.

Why is the hostname empty (`hostname=""`): because the user simply pressed the
Enter key at the hostname setup step during the FreeBSD installation.

-- 
You are receiving this mail because:
You are the assignee for the bug.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-286847-227>