Project

General

Profile

Actions

Bug #15411

open

Hostname missing from logs in certain cases can cause the system log to display in an unexpected manner

Added by Jim Pingle 7 months ago. Updated about 1 month ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
System Logs
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
25.01
Release Notes:
Default
Affected Version:
Affected Architecture:

Description

With the system log set to show ~500 lines the system log tab will also show most if not all of the kernel boot messages (dmesg output).

Some lines in this output are not parsed as expected, making the log output table extremely wide and with unexpected wrapping/lack of wrapping.

See the attached images which are how parts of the following text log are being displayed by the System / General tab:

Apr 16 08:52:23  kernel: ---<<BOOT>>---
Apr 16 08:52:23  kernel: Copyright (c) 1992-2024 The FreeBSD Project.
Apr 16 08:52:23  kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
Apr 16 08:52:23  kernel:        The Regents of the University of California. All rights reserved.
Apr 16 08:52:23  kernel: FreeBSD is a registered trademark of The FreeBSD Foundation.
Apr 16 08:52:23  kernel: FreeBSD 15.0-CURRENT #0 plus-RELENG_24_03-n256311-e71f834dd81: Tue Apr 16 00:38:18 UTC 2024
Apr 16 08:52:23  kernel:     root@freebsd:/var/jenkins/workspace/pfSense-Plus-snapshots-24_03-main/obj/amd64/dyNDzqbt/var/jenkins/workspace/pfSense-Plus-snapshots-24_03-main/sources/FreeBSD-src-plus-RELENG_24_03/amd64.amd64/sys/pfSense amd64
Apr 16 08:52:23  kernel: FreeBSD clang version 17.0.6 (https://github.com/llvm/llvm-project.git llvmorg-17.0.6-0-g6009708b4367)
Apr 16 08:52:23  kernel: VT(vga): resolution 640x480

Once that line scrolls off the visible portion of the log it returns to normal.


Files

log-wrap-odd-1.png (39.2 KB) log-wrap-odd-1.png Jim Pingle, 04/16/2024 01:08 PM
log-wrap-odd-2.png (66.1 KB) log-wrap-odd-2.png Jim Pingle, 04/16/2024 01:08 PM
Actions #2

Updated by Jim Pingle 7 months ago

  • Subject changed from Certain lines in kernel boot output can cause the default system log table to display in an unexpected manner to Hostname missing from logs in certain cases can cause the system log to display in an unexpected manner

Dug more into this and the problem is that somehow at boot the hostname was not being printed in the system logs on just that one installation during the early part of the boot sequence. Later in the boot sequence syslogd was restarted and after that point the logs contained the hostname.

I can't reproduce it on any other system in my lab nor can I replicate it on the same system when rebooting now that it's on the latest snapshot. It's possible it's something we already fixed but worth keeping an eye on for the next release just in case there is still a (rare) problem.

Actions #3

Updated by Jordan G 7 months ago

I hit this a few days ago but have yet to see it happen again since rebooting after initially encountering

Actions #4

Updated by dylan mendez 6 months ago

Had a customer encounter this, restarting firewall and syslogd didn't do it. Changing the lines from 2000 to 500 seems to have fixed it.

Actions #5

Updated by Jim Pingle 6 months ago

  • Plus Target Version changed from 24.07 to 24.08
Actions #6

Updated by Jim Pingle about 1 month ago

  • Plus Target Version changed from 24.08 to 24.11
Actions #7

Updated by Jim Pingle about 1 month ago

  • Plus Target Version changed from 24.11 to 25.01
Actions

Also available in: Atom PDF