All of lore.kernel.org
 help / color / mirror / Atom feed
* Hardknott systemd-journald issue
@ 2021-08-17  2:18 JH
  2021-08-17  3:43 ` [yocto] " Zoran
  0 siblings, 1 reply; 2+ messages in thread
From: JH @ 2021-08-17  2:18 UTC (permalink / raw)
  To: yocto; +Cc: oe-core layer

Hi,

I've just upgraded from Zeus to Hardknott with the kernel 5.10.59, the
/run/log/journal was running out of space and crashed, is it a kernel
issue or Hardknott build issue?

I never seen that issue in Zeus, I thought that systemd-journald
should be capable of detecting the space, if it is no log space, stop
writing rather crashing the tmpfs

[13749.397288] systemd-journald[97]: Failed to open runtime journal:
No space left on device
[13749.439047] systemd-journald[97]: File
/run/log/journal/4ba2cd613d004916863e30730800bb69/system.journal
corrupted or uncleanly shut down, renaming and replacing.

Thank you.

Kind regards,

- jh

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

* Re: [yocto] Hardknott systemd-journald issue
  2021-08-17  2:18 Hardknott systemd-journald issue JH
@ 2021-08-17  3:43 ` Zoran
  0 siblings, 0 replies; 2+ messages in thread
From: Zoran @ 2021-08-17  3:43 UTC (permalink / raw)
  To: JH; +Cc: yocto

[-- Attachment #1: Type: text/plain, Size: 1278 bytes --]

Hello Jupiter,

This might provide you a great help:
https://askubuntu.com/questions/864722/where-is-journalctl-data-stored

Namely:





*Usually the storage directory is /var/log/journal or /run/log/journal, but
it doesn't have to necessarily exist in your system.If you just want to
check the amount of space that the journal is currently occupying on your
disk, simply type:$ journalctl --disk-usage*

You also can combine the df command (look into man df).

Zee
_______


On Tue, Aug 17, 2021 at 4:18 AM JH <jupiter.hce@gmail.com> wrote:

> Hi,
>
> I've just upgraded from Zeus to Hardknott with the kernel 5.10.59, the
> /run/log/journal was running out of space and crashed, is it a kernel
> issue or Hardknott build issue?
>
> I never seen that issue in Zeus, I thought that systemd-journald
> should be capable of detecting the space, if it is no log space, stop
> writing rather crashing the tmpfs
>
> [13749.397288] systemd-journald[97]: Failed to open runtime journal:
> No space left on device
> [13749.439047] systemd-journald[97]: File
> /run/log/journal/4ba2cd613d004916863e30730800bb69/system.journal
> corrupted or uncleanly shut down, renaming and replacing.
>
> Thank you.
>
> Kind regards,
>
> - jh
>
> 
>
>

[-- Attachment #2: Type: text/html, Size: 1744 bytes --]

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

end of thread, other threads:[~2021-08-17  3:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-17  2:18 Hardknott systemd-journald issue JH
2021-08-17  3:43 ` [yocto] " Zoran

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.