From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 98E6713838B for ; Tue, 23 Sep 2014 17:41:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 59A41E09DB; Tue, 23 Sep 2014 17:41:04 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 410E9E09CC for ; Tue, 23 Sep 2014 17:41:03 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 45FD13401A5 for ; Tue, 23 Sep 2014 17:41:02 +0000 (UTC) X-Virus-Scanned: by amavisd-new using ClamAV at gentoo.org X-Spam-Flag: NO X-Spam-Score: 1.551 X-Spam-Level: * X-Spam-Status: No, score=1.551 tagged_above=-999 required=5.5 tests=[AWL=0.879, DKIM_ADSP_CUSTOM_MED=0.001, FREEMAIL_FROM=0.001, NML_ADSP_CUSTOM_MED=1.2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_NUMERIC_HELO=0.865, RP_MATCHES_RCVD=-0.703, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_FSL_HELO_BARE_IP_2=0.01] autolearn=no Received: from smtp.gentoo.org ([IPv6:::ffff:127.0.0.1]) by localhost (smtp.gentoo.org [IPv6:::ffff:127.0.0.1]) (amavisd-new, port 10024) with ESMTP id T7HUP0vvxLF2 for ; Tue, 23 Sep 2014 17:40:56 +0000 (UTC) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1668B34007C for ; Tue, 23 Sep 2014 17:40:54 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XWU55-0000gV-Oo for gentoo-user@gentoo.org; Tue, 23 Sep 2014 19:40:51 +0200 Received: from 206.125.41.82 ([206.125.41.82]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 23 Sep 2014 19:40:51 +0200 Received: from w41ter by 206.125.41.82 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 23 Sep 2014 19:40:51 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: walt 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 Message-ID: References: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 206.125.41.82 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.1.0 In-Reply-To: X-Archives-Salt: 60e48dfb-d2ad-4032-8c7b-c20584bf445b X-Archives-Hash: f0c99f91df4ff52107d177822f5f4c8f On 09/23/2014 07:46 AM, Rich Freeman wrote: > On Tue, Sep 23, 2014 at 10:27 AM, walt 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? 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?