On 1/20/22 20:30, Tim via users wrote:
On Thu, 2022-01-20 at 19:45 -0600, Thomas Cameron wrote:
> OK, so this is weird. I just kickstarted a F35 VM. When it booted
> up, its hostname was
host156.tc.camerontech.com, as I expected it to
> be.
>
> The /etc/hostname file is blank - it just has a single empty line.
>
> After I rebooted that VM, its hostname is set to fedora
It wouldn't be quite so bad if it set its hostname to the one it
discovered (even though you'd rather it keep on discovering it), but
changing a hostname is intolerable.
Have you tried making the hostname file immutable?
Thing is, the /etc/hostname file is blank! This is bizarre. I've just
tested with F33, F34, and F35. With F33, the hostname is set to
localhost. With F34 and F35, it's set to fedora. With RHEL 8.5, it's set
to the reverse DNS assigned hostname. With RHEL 9 beta, it's the reverse
DNS assigned hostname.
This is weirder and weirder.
Thomas