Hostname changed on update

So I just updated my ROG Ally X, running Bazzite, via ujust update.
After the reboot, the hostname had changed to ‘fedora’ (it was ‘bazzite’ before).
Is that expected?
Details

tingo@fedora:~$ fastfetch
                                            tingo@fedora
     %%%%%%====%%%%%%%%%%            
   %%%%%%%%    %%%%%%%%%%%%%%             󱋩  bazzite-deck:stable 
  %%%%%%%%%    %%%%%%%%%%%%%%%%           󰣛  Bazzite 41 (FROM Fedora Kinoite)
  %%%%%%%%%    %%%%%%%%%%%%%%%###           Linux 6.13.9-103.bazzite.fc41.x86_64
  %%%%%%%%%    %%%%%%%%%%%%%######        󰅐  4 mins
  ==                  =======######       󰔠  Spawned on Sep 04 2024
  ==                  =========##### 
  %%%%%%%%%    %%%%%%%####======#####     󰾰  ROG Ally RC71L_RC71L (1.0)
  %%%%%%%%%    %%%%%#######=====#####     󰻠  AMD Ryzen Z1 (12) @ 4.98 GHz
  %%%%%%%%%    %%%#########=====#####     󰍛  AMD Phoenix2 [Integrated]
  %%%%%%%%%    %%##########=====#####       2.49 GiB / 11.37 GiB (22%)
  %%%%%%%%%====###########=====######       181.49 GiB / 474.10 GiB (38%) - btrfs [Read-only]
   %%%%%%%%====#########======######      󰍹  1920x1080 @ 120 Hz in 7" [Built-in]
    %%%%%%%=====#####========######         54% [Discharging]
     %%%%###===============#######        󰖺  Sony Interactive Entertainment DualSense Edge Wireless Controller Motion Sensors (85%)
      %#######==========#########         󰖺  Microsoft X-Box 360 pad
        #######################           󰖺  Microsoft X-Box 360 pad 0
          ###################             󰖺  Sony Interactive Entertainment DualSense Edge Wireless Controller (85%)
              ###########            
                                            bash 5.2.32
                                            /dev/pts/0
                                          󰏖  2785 (rpm), 53 (flatpak), 34 (brew)

                                           ● ● ● ● ● ● ● ●
1 Like

looks like the /etc/hostname file got zeroed:

tingo@fedora:~$ ll /etc/host*
-rw-r--r--. 1 root root   9 Apr 14 19:20 /etc/host.conf
-rwx------. 1 root root   0 Apr 14 19:20 /etc/hostname
-rw-r--r--. 1 root root 384 Apr 14 19:20 /etc/hosts

hostnamectl output

tingo@fedora:~$ sudo hostnamectl
     Static hostname: (unset)                             
  Transient hostname: fedora
           Icon name: computer-tablet
             Chassis: tablet 具
          Machine ID: 250cb027927c42bcba215733763ce844
             Boot ID: 6a302a2b029140debd4236d7b3a19e0a
        Product UUID: fed05372-18c0-fb40-84eb-3024c43b8d7f
    Operating System: Bazzite 41 (FROM Fedora Kinoite)    
         CPE OS Name: cpe:/o:universal-blue:bazzite:41
      OS Support End: Mon 2025-12-15
OS Support Remaining: 8month
              Kernel: Linux 6.13.9-103.bazzite.fc41.x86_64
        Architecture: x86-64
     Hardware Vendor: ASUSTeK COMPUTER INC.
      Hardware Model: ROG Ally RC71L_RC71L
     Hardware Serial: R8NVKD018871352
    Firmware Version: RC71L.341
       Firmware Date: Mon 2024-09-02
        Firmware Age: 7month 1w 4d
1 Like

FWIW, I’m on bluefin, and my hostname file is 0 bytes, but my host name is still as I set it, (as shown in Transient hostname, uname -a, etc., my static hostname is also unset).