All of lore.kernel.org
 help / color / mirror / Atom feed
From: Camden Mannett <camden.mannett@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] journald broken
Date: Tue, 14 Mar 2017 13:02:48 +0000	[thread overview]
Message-ID: <CAABucjtD72=rtgFLy7A6n2BwbxYsiiZuAaFprS94kqTRx0zm3g@mail.gmail.com> (raw)
In-Reply-To: <CAABucjseObERPwO_oKN9YwCKZ_bLzWspFXzj3WER7LR1FYtx+Q@mail.gmail.com>

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>

      reply	other threads:[~2017-03-14 13:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-14 12:16 [Buildroot] journald broken Camden Mannett
2017-03-14 13:02 ` Camden Mannett [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAABucjtD72=rtgFLy7A6n2BwbxYsiiZuAaFprS94kqTRx0zm3g@mail.gmail.com' \
    --to=camden.mannett@gmail.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.