[systemd-devel] Journal issues

Mirco Tischler mt-ml at gmx.de
Fri Apr 12 16:00:02 PDT 2013


2013/4/12 Steven Hiscocks <steven-systemd at hiscocks.me.uk>

> Hi,
>
> I'm having two issues in relation to the journal with my recent upgrade to
> v201.
>
> One issue, is that it appears that "_MACHINE_ID" field is missing the "="
> character. I had a quick look, and I think the bug was introduced on the
> last part of the following commit:
> http://cgit.freedesktop.org/**systemd/systemd/commit/src/**
> journal/journald-server.c?id=**adb435bb70815461eeddf44dd5d6f1**fc2ad9026d<http://cgit.freedesktop.org/systemd/systemd/commit/src/journal/journald-server.c?id=adb435bb70815461eeddf44dd5d6f1fc2ad9026d>
>
> The second issue, is it appears that "_SOURCE_MONOTONIC_TIMESTAMP" is
> being truncated to just "_SOURC". I'm not clear where this issue was
> introduced.
>
> Hi

My guess is
http://cgit.freedesktop.org/systemd/systemd/commit/src/journal/journald-server.c?id=a569398925430de1f8479262e8ab39502054f2e9

Both issues can be easily seen with journalctl output in "export" format.
> I've seen this issue on two of Arch Linux x86_64 systems.
>
> Thanks :)

A patch to fix this follows up.

On an unrelated note: Is DECIMAL_STR_MAX() in macro.h broken for types
longer than 64 bit, or am I just too thick to understand this line:
sizeof(type) <= 8 ? 20 : sizeof(int[-2*(sizeof(type) > 8)])))
?

Thanks
Mirco
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20130413/70acaf0f/attachment.html>


More information about the systemd-devel mailing list