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 00AC913838B for ; Tue, 23 Sep 2014 00:52:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 759C5E0ACB; Tue, 23 Sep 2014 00:52:07 +0000 (UTC) Received: from mail-vc0-f173.google.com (mail-vc0-f173.google.com [209.85.220.173]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6B1EEE0AAF for ; Tue, 23 Sep 2014 00:52:06 +0000 (UTC) Received: by mail-vc0-f173.google.com with SMTP id le20so4849658vcb.18 for ; Mon, 22 Sep 2014 17:52:05 -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=wI4TDZZIsbqUe1Dcw7TVpWUq3THo540cd6rW0sdTG3E=; b=P1SmgofQj+PGaEHTsa+hNi8wQjPeocUjsbfkQ/xUiLuUXhioTCimU7nogVFtXaleDd JPVLVMwdCQrXC35Vtf6t4hX3iAHKWGyKVqj3PiiWwj/JvIBxJXG7d6teJRxM+oJzN9rw p7e0+gTUSgVsTBMVhWIhWKNrpPwsfMjdqp5BcWmCJsGVDiME30JWorZzmO1w3YU6OHcW 2p8E6IodXZDNdrAR4RNOnytiTCazI6jKqBkcgE56xK9oefzCSa76cnAWmrM+heMjvyBF EquOWCSJvUjS+BPQVLsDWwCikiYEcPj1fAKs9a+83ISYeG11TUcBab8WHo7UUm8yvncE /OwQ== 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.220.132.207 with SMTP id c15mr23031140vct.12.1411433525497; Mon, 22 Sep 2014 17:52:05 -0700 (PDT) Sender: freemanrich@gmail.com Received: by 10.52.8.229 with HTTP; Mon, 22 Sep 2014 17:52:05 -0700 (PDT) In-Reply-To: References: Date: Mon, 22 Sep 2014 20:52:05 -0400 X-Google-Sender-Auth: VMZ8ozeGLwS-r6gnt8SxEA6zDgU Message-ID: Subject: Re: [gentoo-user] journald refuses to put log files in /var/log/journal/ From: Rich Freeman To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 X-Archives-Salt: 3645eee5-b516-4f71-9717-f81739b80b67 X-Archives-Hash: c1aa58b57e85e2d4eb76f6e71561b71f On Mon, Sep 22, 2014 at 8:41 PM, walt wrote: > On this machine (the one I'm using now) journald is writing its > files to /run/log/journal/ instead of /var/log/journal/ Check the config: /etc/systemd/journald.conf: Storage= Controls where to store journal data. One of "volatile", "persistent", "auto" and "none". If "volatile", journal log data will be stored only in memory, i.e. below the /run/log/journal hierarchy (which is created if needed). If "persistent", data will be stored preferably on disk, i.e. below the /var/log/journal hierarchy (which is created if needed), with a fallback to /run/log/journal (which is created if needed), during early boot and if the disk is not writable. "auto" is similar to "persistent" but the directory /var/log/journal is not created if needed, so that its existence controls where log data goes. "none" turns off all storage, all log data received will be dropped. Forwarding to other targets, such as the console, the kernel log buffer or a syslog daemon will still work however. Defaults to "auto". As others frequently point out not everybody likes the journal so you can use syslog and just keep the journal in /run where it will not be persistent. If that isn't the desire, make sure the config isn't set to volatile. -- Rich