1PSTORE.CONF(5)                    pstore.conf                   PSTORE.CONF(5)
2
3
4

NAME

6       pstore.conf, pstore.conf.d - PStore configuration file
7

SYNOPSIS

9       /etc/systemd/pstore.conf /etc/systemd/pstore.conf.d/*
10

DESCRIPTION

12       This file configures the behavior of systemd-pstore(8), a tool for
13       archiving the contents of the persistent storage filesystem, pstore[1].
14

CONFIGURATION DIRECTORIES AND PRECEDENCE

16       The default configuration is defined during compilation, so a
17       configuration file is only needed when it is necessary to deviate from
18       those defaults. By default, the configuration file in /etc/systemd/
19       contains commented out entries showing the defaults as a guide to the
20       administrator. This file can be edited to create local overrides.
21
22       When packages need to customize the configuration, they can install
23       configuration snippets in /usr/lib/systemd/*.conf.d/ or
24       /usr/local/lib/systemd/*.conf.d/. The main configuration file is read
25       before any of the configuration directories, and has the lowest
26       precedence; entries in a file in any configuration directory override
27       entries in the single configuration file. Files in the *.conf.d/
28       configuration subdirectories are sorted by their filename in
29       lexicographic order, regardless of in which of the subdirectories they
30       reside. When multiple files specify the same option, for options which
31       accept just a single value, the entry in the file with the
32       lexicographically latest name takes precedence. For options which
33       accept a list of values, entries are collected as they occur in files
34       sorted lexicographically.
35
36       Files in /etc/ are reserved for the local administrator, who may use
37       this logic to override the configuration files installed by vendor
38       packages. It is recommended to prefix all filenames in those
39       subdirectories with a two-digit number and a dash, to simplify the
40       ordering of the files.
41
42       To disable a configuration file supplied by the vendor, the recommended
43       way is to place a symlink to /dev/null in the configuration directory
44       in /etc/, with the same filename as the vendor configuration file.
45

OPTIONS

47       All options are configured in the [PStore] section:
48
49       Storage=
50           Controls where to archive (i.e. copy) files from the pstore
51           filesystem. One of "none", "external", and "journal". When "none",
52           the tool exits without processing files in the pstore filesystem.
53           When "external" (the default), files are archived into
54           /var/lib/systemd/pstore/, and logged into the journal. When
55           "journal", pstore file contents are logged only in the journal.
56
57       Unlink=
58           Controls whether or not files are removed from pstore after
59           processing. Takes a boolean value. When true, a pstore file is
60           removed from the pstore once it has been archived (either to disk
61           or into the journal). When false, processing of pstore files occurs
62           normally, but the files remain in the pstore. The default is true
63           in order to maintain the pstore in a nearly empty state, so that
64           the pstore has storage available for the next kernel error event.
65
66       The defaults for all values are listed as comments in the template
67       /etc/systemd/pstore.conf file that is installed by default.
68

SEE ALSO

70       systemd-journald.service(8)
71

NOTES

73        1. pstore
74           https://www.kernel.org/doc/Documentation/ABI/testing/pstore
75
76
77
78systemd 246                                                     PSTORE.CONF(5)
Impressum