https://bugzilla.suse.com/show_bug.cgi?id=1214043
https://bugzilla.suse.com/show_bug.cgi?id=1214043#c9
--- Comment #9 from Chris Holland ---
After an update a week or two ago (early September) this bug came back. I had
played around with the firewall too before restarting so I wasn't sure if it
was the update or editing the firewall (toggling samba+samba-client on then
off).
However, I noticed that in the journalctl logs, the "hostname" switches from
"localhost" to "localhost.localdomain" when Firefox loaded in 2 seconds.
However when it's taking 30 seconds to load, the hostname is "Client-57".
❯ sudo journalctl --since=2023-09-01 -g "purge"
-- Boot XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX --
Sep 04 21:42:21 localhost systemd[1]: Starting Purge old kernels...
Sep 04 21:42:21 localhost systemd[1]: Started Purge old kernels.
Sep 04 21:42:21 localhost zypper[934]: Preparing to purge obsolete kernels...
Sep 04 21:42:32 localhost.localdomain systemd[1]: purge-kernels.service:
Deactivated successfully.
Sep 04 21:42:32 localhost.localdomain systemd[1]: purge-kernels.service:
Consumed 4.612s CPU time.
-- Boot XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX --
Sep 10 19:50:47 localhost systemd[1]: Purge old kernels was skipped because of
an unmet condition check (ConditionPathExists=/boot/do_purge_kernels).
-- Boot XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX --
Sep 11 17:21:22 localhost systemd[1]: Purge old kernels was skipped because of
an unmet condition check (ConditionPathExists=/boot/do_purge_kernels).
-- Boot XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX --
Sep 14 12:29:38 localhost systemd[1]: Starting Purge old kernels...
Sep 14 12:29:38 localhost zypper[1016]: Preparing to purge obsolete kernels...
Sep 14 12:29:38 localhost systemd[1]: Started Purge old kernels.
Sep 14 12:29:48 Client-57 systemd[1]: purge-kernels.service: Deactivated
successfully.
Sep 14 12:29:48 Client-57 systemd[1]: purge-kernels.service: Consumed 4.651s
CPU time.
❯ hostnamectl
Static hostname: (unset)
Transient hostname: Client-57
Icon name: computer-desktop
Chassis: desktop 🖥
Machine ID: [snip]
Boot ID: [snip]
Operating System: openSUSE Tumbleweed
CPE OS Name: cpe:/o:opensuse:tumbleweed:20230915
Kernel: Linux 6.5.3-1-default
Architecture: x86-64
Hardware Vendor: Micro-Star International Co., Ltd.
Hardware Model: MS-7C95
Firmware Version: H.80
Firmware Date: Tue 2023-07-04
Firmware Age: 2month 2w 1d
Since "ping localhost.localdomain" is fast, but "ping Client-57" times out, I
think I've found the root cause.
I looked at /etc/hosts and saw:
127.0.0.1 localhost
# fallback hostname used by NetworkManager
127.0.0.1 localhost.localdomain
So I edited /etc/hosts and added the following, Firefox was fast to startup in
2sec.
127.0.0.1 Client-57
Any ideas what's causing the hostname to be "Client-57"?
--
You are receiving this mail because:
You are the assignee for the bug.