All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] journald broken
@ 2017-03-14 12:16 Camden Mannett
  2017-03-14 13:02 ` Camden Mannett
  0 siblings, 1 reply; 2+ messages in thread
From: Camden Mannett @ 2017-03-14 12:16 UTC (permalink / raw)
  To: buildroot

Running journalctl results in:

No journal files were found.
-- No entries --

And there is indeed no /var/log/journal directory.  According to dmesg, the
service seems to have started successfully:

[    2.948694] systemd[1]: Listening on Journal Audit Socket.
[  OK  ] Listening on Journal Audit Socket.
[    3.096666] systemd[1]: Listening on Journal Socket.
[  OK  ] Listening on Journal Socket.
[    3.466715] systemd[1]: Listening on Journal Socket (/dev/log).
[  OK  ] Listening on Journal Socket (/dev/log).
[    3.553396] systemd[1]: Starting Journal Service...
         Starting Journal Service...
[    3.889843] systemd-journald[110]: File
/var/log/journal/71cfe6ec9cf2479db13bf609826dd52d/system.journal corrupted
or uncleanly shut down, renaming and replacing.
[    4.278073] systemd[1]: Started Journal Service.
[  OK  ] Started Journal Service.
         Starting Flush Journal to Persistent Storage...
[    4.739929] systemd-journald[110]: Received request to flush runtime
journal from PID 1
[  OK  ] Started Flush Journal to Persistent Storage.

As you can see there is an error regarding a corrupted journal (this was
the first boot, so there was unlikely to be a journal to load), but it was
apparently replaced - where I don't know as there's no /var/log/journal
directory.

I've seen an old related bug #7892, and the solution was to set the
'Storage' key to 'Volatile' in journald.conf.  However that has not worked
for me.  Does anyone have any suggestions?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20170314/bf149efe/attachment.html>

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Buildroot] journald broken
  2017-03-14 12:16 [Buildroot] journald broken Camden Mannett
@ 2017-03-14 13:02 ` Camden Mannett
  0 siblings, 0 replies; 2+ messages in thread
From: Camden Mannett @ 2017-03-14 13:02 UTC (permalink / raw)
  To: buildroot

My mistake, the 'Volatile' value should have been lower-case.  It works as
expected now.

---------- Forwarded message ---------
From: Camden Mannett <camden.mannett@gmail.com>
Date: Tue, 14 Mar 2017 at 12:16
Subject: journald broken
To: buildroot at busybox.net <buildroot@busybox.net>


Running journalctl results in:

No journal files were found.
-- No entries --

And there is indeed no /var/log/journal directory.  According to dmesg, the
service seems to have started successfully:

[    2.948694] systemd[1]: Listening on Journal Audit Socket.
[  OK  ] Listening on Journal Audit Socket.
[    3.096666] systemd[1]: Listening on Journal Socket.
[  OK  ] Listening on Journal Socket.
[    3.466715] systemd[1]: Listening on Journal Socket (/dev/log).
[  OK  ] Listening on Journal Socket (/dev/log).
[    3.553396] systemd[1]: Starting Journal Service...
         Starting Journal Service...
[    3.889843] systemd-journald[110]: File
/var/log/journal/71cfe6ec9cf2479db13bf609826dd52d/system.journal corrupted
or uncleanly shut down, renaming and replacing.
[    4.278073] systemd[1]: Started Journal Service.
[  OK  ] Started Journal Service.
         Starting Flush Journal to Persistent Storage...
[    4.739929] systemd-journald[110]: Received request to flush runtime
journal from PID 1
[  OK  ] Started Flush Journal to Persistent Storage.

As you can see there is an error regarding a corrupted journal (this was
the first boot, so there was unlikely to be a journal to load), but it was
apparently replaced - where I don't know as there's no /var/log/journal
directory.

I've seen an old related bug #7892, and the solution was to set the
'Storage' key to 'Volatile' in journald.conf.  However that has not worked
for me.  Does anyone have any suggestions?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20170314/180d35f2/attachment.html>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-03-14 13:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-14 12:16 [Buildroot] journald broken Camden Mannett
2017-03-14 13:02 ` Camden Mannett

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.