From: walt <w41ter@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Re: journald refuses to put log files in /var/log/journal/ [NOT SOLVED]
Date: Tue, 23 Sep 2014 10:40:38 -0700 [thread overview]
Message-ID: <lvsban$hj8$1@ger.gmane.org> (raw)
In-Reply-To: <CAGfcS_nOVf7FEFBkVPkechThFvgdKXzHcgODwb2UmEVZ6j_kKQ@mail.gmail.com>
On 09/23/2014 07:46 AM, Rich Freeman wrote:
> 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?
<sigh> After a reboot the journal file is back in /run/log/journal.
> If it does, my next question (an educated guess, but a guess) would be
> whether you're using an initramfs,
No, I never have.
> 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.
This particular machine has only root and swap partitions, so there's
nothing to remain unmounted during boot.
Having reassured myself with that claim, I now spot this journal message
(which appears only on the 'broken' machine):
Sep 23 07:40:46 a6 systemd[1]: Found ordering cycle on sysinit.target/start
Sep 23 07:40:46 a6 systemd[1]: Found dependency on local-fs.target/start
Sep 23 07:40:46 a6 systemd[1]: Found dependency on lvm.service/start
Sep 23 07:40:46 a6 systemd[1]: Found dependency on sysinit.target/start
Sep 23 07:40:46 a6 systemd[1]: Breaking ordering cycle by deleting job local-fs.target/start
Sep 23 07:40:46 a6 systemd[1]: Job local-fs.target/start deleted to break ordering cycle starting with sysinit.target/start
I don't understand everything about that message, but it seems to imply
that systemd may think that the local filesystems are not mounted(?)
Could this be causing my journald problem, maybe?
next prev parent reply other threads:[~2014-09-23 17:41 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
2014-09-23 17:40 ` walt [this message]
2014-09-23 18:28 ` [gentoo-user] Re: journald refuses to put log files in /var/log/journal/ [NOT SOLVED] 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='lvsban$hj8$1@ger.gmane.org' \
--to=w41ter@gmail.com \
--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