Bug 12949

Summary: CU171 Testing - Extra space added between hostname and application name in the messages log file
Product: IPFire Reporter: Adolf Belka <adolf.belka>
Component: ---Assignee: Michael Tremer <michael.tremer>
Status: CLOSED FIXED QA Contact:
Severity: - Unknown -    
Priority: - Unknown - CC: bbitsch, jon.murphy, michael.tremer, peter.mueller
Version: 2   
Hardware: unspecified   
OS: Unspecified   
See Also: https://bugzilla.ipfire.org/show_bug.cgi?id=12934

Description Adolf Belka 2022-10-07 14:25:12 UTC
Raised in the Community forum.

https://community.ipfire.org/t/ipfire-171-test-problems-logs-in-cgi-bin-logs-cgi-log-dat/8729

Many, but not all, entries in the /var/log/messages file have an extra space.

I have also confirmed this by looking at the messages log on my CU171 Testing system.

kernel, connectd, root and ipfire remain with only one space between the hostname and the program name.

unbound, vnstatd, ntpd, dhcpd, suricata, sshd, saslauthd, pppd and acpid have two spaces between the hostname and the program name.

Above list is not exhaustive but based on the logfile showed in the forum thread.

All entries with two spaces no longer show any data in the System Logs.
Comment 1 Michael Tremer 2022-10-07 15:57:19 UTC
Great. This looks like a bug in glibc:

> https://git.ipfire.org/?p=thirdparty/glibc.git;a=commitdiff;h=45459476ecc8fe315734912baf7adf3551cff640
> https://sourceware.org/bugzilla/show_bug.cgi?id=29544

I will backport it and send a patch as soon as possible.
Comment 2 Michael Tremer 2022-10-07 16:25:07 UTC
> https://patchwork.ipfire.org/project/ipfire/patch/20221007162415.102723-1-michael.tremer@ipfire.org/

@Peter: Please merge this into next whenever you have a chance.
Comment 3 Adolf Belka 2022-10-10 16:36:37 UTC
Patch merged into CU171 Testing
Comment 4 Adolf Belka 2022-10-10 16:37:04 UTC
Tested the updated CU171 Testing and the System Logs are showing data again.

Confirm patch fixes the issue.