[Bug 286847] If the hostname is not set for the host, the value "Amnesiac" should be written to rc.conf.

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 17 May 2025 03:28:14 UTC
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.