From: Rich Freeman <rich0@gentoo.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: journald refuses to put log files in /var/log/journal/ [SOLVED]
Date: Tue, 23 Sep 2014 10:46:13 -0400 [thread overview]
Message-ID: <CAGfcS_nOVf7FEFBkVPkechThFvgdKXzHcgODwb2UmEVZ6j_kKQ@mail.gmail.com> (raw)
In-Reply-To: <lvrvvr$j6e$1@ger.gmane.org>
On Tue, Sep 23, 2014 at 10:27 AM, walt <w41ter@gmail.com> wrote:
>
> I used systemctl to stop and restart systemd-journald, thinking I might
> see some useful error messages. But when systemd-journal started up
> again the journal file was back in /var/log/journal where I want it :)
>
> No idea why rebooting the machine didn't do the same thing.
>
Are you sure that it is solved, and that the problem won't recur on
the next reboot?
If it does, my next question (an educated guess, but a guess) would be
whether you're using an initramfs, and if so which one. Dracut in
particular launches journald, but it should move its output to
/var/log/journal after pivoting to the new root. It is actually nice
because your log contains early boot data which of course would not be
present in syslog unless it ended up in the ring buffer. However,
perhaps something is going wrong with that. I'd also look at anything
that might be causing issues with /var/log/journal when journald is
launched, such as that directory being on an unmounted filesystem and
there not being some dependency that causes journald to notice.
Systemd is pretty smart about spotting mount dependencies, but I've
seen it make mistakes in unusual configurations and I don't know what
the full logic is.
--
Rich
next prev parent reply other threads:[~2014-09-23 14:46 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-23 0:41 [gentoo-user] journald refuses to put log files in /var/log/journal/ walt
2014-09-23 0:52 ` Rich Freeman
2014-09-23 3:50 ` Canek Peláez Valdés
2014-09-23 14:27 ` [gentoo-user] Re: journald refuses to put log files in /var/log/journal/ [SOLVED] walt
2014-09-23 14:46 ` Rich Freeman [this message]
2014-09-23 17:40 ` [gentoo-user] Re: journald refuses to put log files in /var/log/journal/ [NOT SOLVED] walt
2014-09-23 18:28 ` Mike Gilbert
2014-09-23 18:42 ` Rich Freeman
2014-09-23 21:55 ` [gentoo-user] Re: journald refuses to put log files in /var/log/journal/ [REALLY SOLVED] walt
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=CAGfcS_nOVf7FEFBkVPkechThFvgdKXzHcgODwb2UmEVZ6j_kKQ@mail.gmail.com \
--to=rich0@gentoo.org \
--cc=gentoo-user@lists.gentoo.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox