1PSTORE.CONF(5) pstore.conf PSTORE.CONF(5)
2
3
4
6 pstore.conf, pstore.conf.d - PStore configuration file
7
9 /etc/systemd/pstore.conf /etc/systemd/pstore.conf.d/*
10
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
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/. Files in /etc/ are reserved for the
25 local administrator, who may use this logic to override the
26 configuration files installed by vendor packages. The main
27 configuration file is read before any of the configuration directories,
28 and has the lowest precedence; entries in a file in any configuration
29 directory override entries in the single configuration file. Files in
30 the *.conf.d/ configuration subdirectories are sorted by their filename
31 in lexicographic order, regardless of which of the subdirectories they
32 reside in. When multiple files specify the same option, for options
33 which accept just a single value, the entry in the file with the
34 lexicographically latest name takes precedence. For options which
35 accept a list of values, entries are collected as they occur in files
36 sorted lexicographically. It is recommended to prefix all filenames in
37 those subdirectories with a two-digit number and a dash, to simplify
38 the ordering of the files.
39
40 To disable a configuration file supplied by the vendor, the recommended
41 way is to place a symlink to /dev/null in the configuration directory
42 in /etc/, with the same filename as the vendor configuration file.
43
45 All options are configured in the "[PStore]" section:
46
47 Storage=
48 Controls where to archive (i.e. copy) files from the pstore
49 filesystem. One of "none", "external", and "journal". When "none",
50 the tool exits without processing files in the pstore filesystem.
51 When "external" (the default), files are archived into
52 /var/lib/systemd/pstore/, and logged into the journal. When
53 "journal", pstore file contents are logged only in the journal.
54
55 Unlink=
56 Controls whether or not files are removed from pstore after
57 processing. Takes a boolean value. When true, a pstore file is
58 removed from the pstore once it has been archived (either to disk
59 or into the journal). When false, processing of pstore files occurs
60 normally, but the files remain in the pstore. The default is true
61 in order to maintain the pstore in a nearly empty state, so that
62 the pstore has storage available for the next kernel error event.
63
64 The defaults for all values are listed as comments in the template
65 /etc/systemd/pstore.conf file that is installed by default.
66
68 systemd-journald.service(8),
69
71 1. pstore
72 https://www.kernel.org/doc/Documentation/ABI/testing/pstore
73
74
75
76systemd 243 PSTORE.CONF(5)