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 F23F313838B for ; Tue, 23 Sep 2014 14:46:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EF72FE0B7A; Tue, 23 Sep 2014 14:46:15 +0000 (UTC) Received: from mail-vc0-f172.google.com (mail-vc0-f172.google.com [209.85.220.172]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id DD3F5E0A82 for ; Tue, 23 Sep 2014 14:46:14 +0000 (UTC) Received: by mail-vc0-f172.google.com with SMTP id hy10so5484575vcb.17 for ; Tue, 23 Sep 2014 07:46:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:content-type; bh=IE94I0vubyTT7JPOL2AZ5h0B2ICcJbPQGNm6p0hQahs=; b=xW46Oa5tG1rJ6q9mb4aLegswjs6hd88Q0TImqO2WH0BudbIF4hUZ1hXClwK8+xgI14 bJeuF1gS2qZDVRzvOEA2DSed4ws2i5ilH7kzoIAiMugmG+KVbPspVGt+r5MrpNjsqgCn T4V52TiszZkaxbshdfQIQPBuWJNBxTIkXRilwEUfFfiWfZLsjPVEMcDF7krWlLxxbAp8 fFmXkUmuJoA9Oy6dvTTYaP+pzFmQTL/app9PFIPCRsamlb74cz78Tg0uzrmxalrAexd5 IZ0WD5hNurrZiQcObuCeADhspXb6CUIT1QEU2in0jzl54zoUWl1/VoLBn/rtpYGBIYya NgSw== 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 X-Received: by 10.52.246.198 with SMTP id xy6mr16255vdc.7.1411483573973; Tue, 23 Sep 2014 07:46:13 -0700 (PDT) Sender: freemanrich@gmail.com Received: by 10.52.8.229 with HTTP; Tue, 23 Sep 2014 07:46:13 -0700 (PDT) In-Reply-To: References: Date: Tue, 23 Sep 2014 10:46:13 -0400 X-Google-Sender-Auth: 8OrB7zDuURd5UhqpZbMBK5qhTec Message-ID: Subject: Re: [gentoo-user] Re: journald refuses to put log files in /var/log/journal/ [SOLVED] From: Rich Freeman To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 X-Archives-Salt: 2427e34d-cf71-4365-8bb8-0e2d03d65511 X-Archives-Hash: 7e6574e5e127c2a243e5375d7847f05a 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? 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