Bug 12949 - CU171 Testing - Extra space added between hostname and application name in the messages log file
Summary: CU171 Testing - Extra space added between hostname and application name in th...
Status: CLOSED FIXED
Alias: None
Product: IPFire
Classification: Unclassified
Component: --- (show other bugs)
Version: 2
Hardware: unspecified Unspecified
: - Unknown - - Unknown -
Assignee: Michael Tremer
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-07 14:25 UTC by Adolf Belka
Modified: 2022-10-20 13:22 UTC (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.