blob: ef3226c5a6fd36b04192bca0dc8877c9f27c8159 [file] [log] [blame]
<?xml version='1.0'?>
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
<!-- SPDX-License-Identifier: LGPL-2.1-or-later -->
<refentry id="pstore.conf" conditional="ENABLE_PSTORE"
<refpurpose>PStore configuration file</refpurpose>
<para>This file configures the behavior of
a tool for archiving the contents of the persistent storage filesystem,
<ulink url="">pstore</ulink>.
<xi:include href="standard-conf.xml" xpointer="main-conf" />
<para>All options are configured in the
[PStore] section:</para>
<variablelist class='config-directives'>
<listitem><para>Controls where to archive (i.e. copy) files from the pstore filesystem. One of <literal>none</literal>,
<literal>external</literal>, and <literal>journal</literal>. When
<literal>none</literal>, the tool exits without processing files in the pstore filesystem.
When <literal>external</literal> (the default), files are archived into <filename>/var/lib/systemd/pstore/</filename>,
and logged into the journal.
When <literal>journal</literal>, pstore file contents are logged only in the journal.</para>
<listitem><para>Controls whether or not files are removed from pstore after processing.
Takes a boolean value. When true, a pstore file is removed from the pstore once it has been
archived (either to disk or into the journal). When false, processing of pstore files occurs
normally, but the files remain in the pstore.
The default is true in order to maintain the pstore in a nearly empty state, so that the pstore
has storage available for the next kernel error event.
<para>The defaults for all values are listed as comments in the
template <filename>/etc/systemd/pstore.conf</filename> file that
is installed by default.</para>
<title>See Also</title>