teknoraver / rpms / systemd

Forked from rpms/systemd 2 months ago
Clone

Blame 0052-Do-not-advertise-.d-snippets-over-main-config-file.patch

Zbigniew Jędrzejewski-Szmek 399a2a
From fdf1ec82999b343bedaeb48bca55f2dc53d2646d Mon Sep 17 00:00:00 2001
Zbigniew Jędrzejewski-Szmek 399a2a
From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <zbyszek@in.waw.pl>
Zbigniew Jędrzejewski-Szmek 399a2a
Date: Tue, 3 Mar 2015 19:10:21 -0500
Zbigniew Jędrzejewski-Szmek 399a2a
Subject: [PATCH] Do not advertise .d snippets over main config file
Zbigniew Jędrzejewski-Szmek 399a2a
Zbigniew Jędrzejewski-Szmek 399a2a
For daemons which have a main configuration file, there's
Zbigniew Jędrzejewski-Szmek 399a2a
little reason for the administrator to use configuration snippets.
Zbigniew Jędrzejewski-Szmek 399a2a
They are useful for packagers which need to override settings, but
Zbigniew Jędrzejewski-Szmek 399a2a
we shouldn't advertise that as the main way of configuring those
Zbigniew Jędrzejewski-Szmek 399a2a
services.
Zbigniew Jędrzejewski-Szmek 399a2a
Zbigniew Jędrzejewski-Szmek 399a2a
https://bugs.freedesktop.org/show_bug.cgi?id=89397
Zbigniew Jędrzejewski-Szmek 399a2a
(cherry picked from commit e93549ef29c4123d9ee45acb5815048390201e49)
Zbigniew Jędrzejewski-Szmek 399a2a
---
Zbigniew Jędrzejewski-Szmek 399a2a
 man/bootchart.conf.xml         |  3 +--
Zbigniew Jędrzejewski-Szmek 399a2a
 man/coredump.conf.xml          |  3 +--
Zbigniew Jędrzejewski-Szmek 399a2a
 man/journald.conf.xml          |  3 +--
Zbigniew Jędrzejewski-Szmek 399a2a
 man/logind.conf.xml            |  8 +++++---
Zbigniew Jędrzejewski-Szmek 399a2a
 man/resolved.conf.xml          |  3 +--
Zbigniew Jędrzejewski-Szmek 399a2a
 man/standard-conf.xml          | 42 ++++++++++++++++++++++++++++++++++--------
Zbigniew Jędrzejewski-Szmek 399a2a
 man/systemd-sleep.conf.xml     |  3 +--
Zbigniew Jędrzejewski-Szmek 399a2a
 man/systemd-system.conf.xml    |  3 +--
Zbigniew Jędrzejewski-Szmek 399a2a
 man/timesyncd.conf.xml         |  3 +--
Zbigniew Jędrzejewski-Szmek 399a2a
 src/bootchart/bootchart.conf   |  7 ++++---
Zbigniew Jędrzejewski-Szmek 399a2a
 src/core/system.conf           |  7 ++++---
Zbigniew Jędrzejewski-Szmek 399a2a
 src/journal/coredump.conf      |  7 ++++---
Zbigniew Jędrzejewski-Szmek 399a2a
 src/journal/journald.conf      |  7 ++++---
Zbigniew Jędrzejewski-Szmek 399a2a
 src/login/logind.conf          |  7 ++++---
Zbigniew Jędrzejewski-Szmek 399a2a
 src/resolve/resolved.conf.in   |  5 +++--
Zbigniew Jędrzejewski-Szmek 399a2a
 src/timesync/timesyncd.conf.in |  7 ++++---
Zbigniew Jędrzejewski-Szmek 399a2a
 16 files changed, 73 insertions(+), 45 deletions(-)
Zbigniew Jędrzejewski-Szmek 399a2a
Zbigniew Jędrzejewski-Szmek 399a2a
diff --git a/man/bootchart.conf.xml b/man/bootchart.conf.xml
Zbigniew Jędrzejewski-Szmek 399a2a
index 8d9700d300..bf6ca0bf9e 100644
Zbigniew Jędrzejewski-Szmek 399a2a
--- a/man/bootchart.conf.xml
Zbigniew Jędrzejewski-Szmek 399a2a
+++ b/man/bootchart.conf.xml
Zbigniew Jędrzejewski-Szmek 399a2a
@@ -68,8 +68,7 @@
Zbigniew Jędrzejewski-Szmek 399a2a
     parameters and graph output.</para>
Zbigniew Jędrzejewski-Szmek 399a2a
   </refsect1>
Zbigniew Jędrzejewski-Szmek 399a2a
 
Zbigniew Jędrzejewski-Szmek 399a2a
-  <xi:include href="standard-conf.xml" xpointer="confd" />
Zbigniew Jędrzejewski-Szmek 399a2a
-  <xi:include href="standard-conf.xml" xpointer="conf" />
Zbigniew Jędrzejewski-Szmek 399a2a
+  <xi:include href="standard-conf.xml" xpointer="main-conf" />
Zbigniew Jędrzejewski-Szmek 399a2a
 
Zbigniew Jędrzejewski-Szmek 399a2a
   <refsect1>
Zbigniew Jędrzejewski-Szmek 399a2a
     <title>Options</title>
Zbigniew Jędrzejewski-Szmek 399a2a
diff --git a/man/coredump.conf.xml b/man/coredump.conf.xml
Zbigniew Jędrzejewski-Szmek 399a2a
index 3d325e6ad7..0b7329bf55 100644
Zbigniew Jędrzejewski-Szmek 399a2a
--- a/man/coredump.conf.xml
Zbigniew Jędrzejewski-Szmek 399a2a
+++ b/man/coredump.conf.xml
Zbigniew Jędrzejewski-Szmek 399a2a
@@ -63,8 +63,7 @@
Zbigniew Jędrzejewski-Szmek 399a2a
     a handler for core dumps invoked by the kernel.</para>
Zbigniew Jędrzejewski-Szmek 399a2a
   </refsect1>
Zbigniew Jędrzejewski-Szmek 399a2a
 
Zbigniew Jędrzejewski-Szmek 399a2a
-  <xi:include href="standard-conf.xml" xpointer="confd" />
Zbigniew Jędrzejewski-Szmek 399a2a
-  <xi:include href="standard-conf.xml" xpointer="conf" />
Zbigniew Jędrzejewski-Szmek 399a2a
+  <xi:include href="standard-conf.xml" xpointer="main-conf" />
Zbigniew Jędrzejewski-Szmek 399a2a
 
Zbigniew Jędrzejewski-Szmek 399a2a
   <refsect1>
Zbigniew Jędrzejewski-Szmek 399a2a
     <title>Options</title>
Zbigniew Jędrzejewski-Szmek 399a2a
diff --git a/man/journald.conf.xml b/man/journald.conf.xml
Zbigniew Jędrzejewski-Szmek 399a2a
index 364b58f07e..85146b0d82 100644
Zbigniew Jędrzejewski-Szmek 399a2a
--- a/man/journald.conf.xml
Zbigniew Jędrzejewski-Szmek 399a2a
+++ b/man/journald.conf.xml
Zbigniew Jędrzejewski-Szmek 399a2a
@@ -64,8 +64,7 @@
Zbigniew Jędrzejewski-Szmek 399a2a
 
Zbigniew Jędrzejewski-Szmek 399a2a
   </refsect1>
Zbigniew Jędrzejewski-Szmek 399a2a
 
Zbigniew Jędrzejewski-Szmek 399a2a
-  <xi:include href="standard-conf.xml" xpointer="confd" />
Zbigniew Jędrzejewski-Szmek 399a2a
-  <xi:include href="standard-conf.xml" xpointer="conf" />
Zbigniew Jędrzejewski-Szmek 399a2a
+  <xi:include href="standard-conf.xml" xpointer="main-conf" />
Zbigniew Jędrzejewski-Szmek 399a2a
 
Zbigniew Jędrzejewski-Szmek 399a2a
   <refsect1>
Zbigniew Jędrzejewski-Szmek 399a2a
     <title>Options</title>
Zbigniew Jędrzejewski-Szmek 399a2a
diff --git a/man/logind.conf.xml b/man/logind.conf.xml
Zbigniew Jędrzejewski-Szmek 399a2a
index ffaec50351..ca2b18783c 100644
Zbigniew Jędrzejewski-Szmek 399a2a
--- a/man/logind.conf.xml
Zbigniew Jędrzejewski-Szmek 399a2a
+++ b/man/logind.conf.xml
Zbigniew Jędrzejewski-Szmek 399a2a
@@ -58,11 +58,13 @@
Zbigniew Jędrzejewski-Szmek 399a2a
   <refsect1>
Zbigniew Jędrzejewski-Szmek 399a2a
     <title>Description</title>
Zbigniew Jędrzejewski-Szmek 399a2a
 
Zbigniew Jędrzejewski-Szmek 399a2a
-    <para>These files configure various parameters of the systemd login manager, <citerefentry><refentrytitle>systemd-logind.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>.</para>
Zbigniew Jędrzejewski-Szmek 399a2a
+    <para>These files configure various parameters of the systemd
Zbigniew Jędrzejewski-Szmek 399a2a
+    login manager,
Zbigniew Jędrzejewski-Szmek 399a2a
+    <citerefentry><refentrytitle>systemd-logind.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>.
Zbigniew Jędrzejewski-Szmek 399a2a
+    </para>
Zbigniew Jędrzejewski-Szmek 399a2a
   </refsect1>
Zbigniew Jędrzejewski-Szmek 399a2a
 
Zbigniew Jędrzejewski-Szmek 399a2a
-  <xi:include href="standard-conf.xml" xpointer="confd" />
Zbigniew Jędrzejewski-Szmek 399a2a
-  <xi:include href="standard-conf.xml" xpointer="conf" />
Zbigniew Jędrzejewski-Szmek 399a2a
+  <xi:include href="standard-conf.xml" xpointer="main-conf" />
Zbigniew Jędrzejewski-Szmek 399a2a
 
Zbigniew Jędrzejewski-Szmek 399a2a
   <refsect1>
Zbigniew Jędrzejewski-Szmek 399a2a
     <title>Options</title>
Zbigniew Jędrzejewski-Szmek 399a2a
diff --git a/man/resolved.conf.xml b/man/resolved.conf.xml
Zbigniew Jędrzejewski-Szmek 399a2a
index 36cae2706c..8047a4ea75 100644
Zbigniew Jędrzejewski-Szmek 399a2a
--- a/man/resolved.conf.xml
Zbigniew Jędrzejewski-Szmek 399a2a
+++ b/man/resolved.conf.xml
Zbigniew Jędrzejewski-Szmek 399a2a
@@ -63,8 +63,7 @@
Zbigniew Jędrzejewski-Szmek 399a2a
 
Zbigniew Jędrzejewski-Szmek 399a2a
   </refsect1>
Zbigniew Jędrzejewski-Szmek 399a2a
 
Zbigniew Jędrzejewski-Szmek 399a2a
-  <xi:include href="standard-conf.xml" xpointer="confd" />
Zbigniew Jędrzejewski-Szmek 399a2a
-  <xi:include href="standard-conf.xml" xpointer="conf" />
Zbigniew Jędrzejewski-Szmek 399a2a
+  <xi:include href="standard-conf.xml" xpointer="main-conf" />
Zbigniew Jędrzejewski-Szmek 399a2a
 
Zbigniew Jędrzejewski-Szmek 399a2a
   <refsect1>
Zbigniew Jędrzejewski-Szmek 399a2a
     <title>Options</title>
Zbigniew Jędrzejewski-Szmek 399a2a
diff --git a/man/standard-conf.xml b/man/standard-conf.xml
Zbigniew Jędrzejewski-Szmek 399a2a
index b87d7e955b..36af45927d 100644
Zbigniew Jędrzejewski-Szmek 399a2a
--- a/man/standard-conf.xml
Zbigniew Jędrzejewski-Szmek 399a2a
+++ b/man/standard-conf.xml
Zbigniew Jędrzejewski-Szmek 399a2a
@@ -33,13 +33,39 @@
Zbigniew Jędrzejewski-Szmek 399a2a
     configuration file.</para>
Zbigniew Jędrzejewski-Szmek 399a2a
   </refsection>
Zbigniew Jędrzejewski-Szmek 399a2a
 
Zbigniew Jędrzejewski-Szmek 399a2a
-  <refsection id='conf'>
Zbigniew Jędrzejewski-Szmek 399a2a
-    <title>Configuration File</title>
Zbigniew Jędrzejewski-Szmek 399a2a
-
Zbigniew Jędrzejewski-Szmek 399a2a
-    <para>Configuration is also read from a single configuration file in
Zbigniew Jędrzejewski-Szmek 399a2a
-    <filename>/etc/</filename>. This file is read before any of the
Zbigniew Jędrzejewski-Szmek 399a2a
-    configuration directories, and has the lowest precedence; entries in a file
Zbigniew Jędrzejewski-Szmek 399a2a
-    in any configuration directory override entries in the single configuration
Zbigniew Jędrzejewski-Szmek 399a2a
-    file.</para>
Zbigniew Jędrzejewski-Szmek 399a2a
+  <refsection id='main-conf'>
Zbigniew Jędrzejewski-Szmek 399a2a
+    <title>Configuration Directories and Precedence</title>
Zbigniew Jędrzejewski-Szmek 399a2a
+
Zbigniew Jędrzejewski-Szmek 399a2a
+    <para>Default configuration is defined during compilation, so a
Zbigniew Jędrzejewski-Szmek 399a2a
+    configuration file is only needed when it is necessary to deviate
Zbigniew Jędrzejewski-Szmek 399a2a
+    from those defaults. By default the configuration file in
Zbigniew Jędrzejewski-Szmek 399a2a
+    <filename>/etc/systemd/</filename> contains commented out entries
Zbigniew Jędrzejewski-Szmek 399a2a
+    showing the defaults as a guide to the administrator. This file
Zbigniew Jędrzejewski-Szmek 399a2a
+    can be edited to create local overrides.
Zbigniew Jędrzejewski-Szmek 399a2a
+    </para>
Zbigniew Jędrzejewski-Szmek 399a2a
+
Zbigniew Jędrzejewski-Szmek 399a2a
+    <para>When packages need to customize the configuration, they can
Zbigniew Jędrzejewski-Szmek 399a2a
+    install configuration snippets in
Zbigniew Jędrzejewski-Szmek 399a2a
+    <filename>/usr/lib/systemd/*.conf.d/</filename>. Files in
Zbigniew Jędrzejewski-Szmek 399a2a
+    <filename>/etc/</filename> are reserved for the local
Zbigniew Jędrzejewski-Szmek 399a2a
+    administrator, who may use this logic to override the
Zbigniew Jędrzejewski-Szmek 399a2a
+    configuration files installed by vendor packages. The main
Zbigniew Jędrzejewski-Szmek 399a2a
+    configuration file is read before any of the configuration
Zbigniew Jędrzejewski-Szmek 399a2a
+    directories, and has the lowest precedence; entries in a file in
Zbigniew Jędrzejewski-Szmek 399a2a
+    any configuration directory override entries in the single
Zbigniew Jędrzejewski-Szmek 399a2a
+    configuration file. Files in the
Zbigniew Jędrzejewski-Szmek 399a2a
+    <filename>logind.conf.d/</filename> configuration subdirectories
Zbigniew Jędrzejewski-Szmek 399a2a
+    are sorted by their filename in lexicographic order, regardless of
Zbigniew Jędrzejewski-Szmek 399a2a
+    which of the subdirectories they reside in. If multiple files
Zbigniew Jędrzejewski-Szmek 399a2a
+    specify the same option, the entry in the file with the
Zbigniew Jędrzejewski-Szmek 399a2a
+    lexicographically latest name takes precedence.  It is recommended
Zbigniew Jędrzejewski-Szmek 399a2a
+    to prefix all filenames in those subdirectories with a two-digit
Zbigniew Jędrzejewski-Szmek 399a2a
+    number and a dash, to simplify the ordering of the files.</para>
Zbigniew Jędrzejewski-Szmek 399a2a
+
Zbigniew Jędrzejewski-Szmek 399a2a
+    <para>To disable a configuration file supplied by the vendor, the
Zbigniew Jędrzejewski-Szmek 399a2a
+    recommended way is to place a symlink to
Zbigniew Jędrzejewski-Szmek 399a2a
+    <filename>/dev/null</filename> in the configuration directory in
Zbigniew Jędrzejewski-Szmek 399a2a
+    <filename>/etc/</filename>, with the same filename as the vendor
Zbigniew Jędrzejewski-Szmek 399a2a
+    configuration file.</para>
Zbigniew Jędrzejewski-Szmek 399a2a
   </refsection>
Zbigniew Jędrzejewski-Szmek 399a2a
 </refsection>
Zbigniew Jędrzejewski-Szmek 399a2a
diff --git a/man/systemd-sleep.conf.xml b/man/systemd-sleep.conf.xml
Zbigniew Jędrzejewski-Szmek 399a2a
index 433f2f83a0..bb17ec8669 100644
Zbigniew Jędrzejewski-Szmek 399a2a
--- a/man/systemd-sleep.conf.xml
Zbigniew Jędrzejewski-Szmek 399a2a
+++ b/man/systemd-sleep.conf.xml
Zbigniew Jędrzejewski-Szmek 399a2a
@@ -112,8 +112,7 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>.
Zbigniew Jędrzejewski-Szmek 399a2a
     attempts to suspend or hibernate the machine.</para>
Zbigniew Jędrzejewski-Szmek 399a2a
   </refsect1>
Zbigniew Jędrzejewski-Szmek 399a2a
 
Zbigniew Jędrzejewski-Szmek 399a2a
-  <xi:include href="standard-conf.xml" xpointer="confd" />
Zbigniew Jędrzejewski-Szmek 399a2a
-  <xi:include href="standard-conf.xml" xpointer="conf" />
Zbigniew Jędrzejewski-Szmek 399a2a
+  <xi:include href="standard-conf.xml" xpointer="main-conf" />
Zbigniew Jędrzejewski-Szmek 399a2a
 
Zbigniew Jędrzejewski-Szmek 399a2a
   <refsect1>
Zbigniew Jędrzejewski-Szmek 399a2a
     <title>Options</title>
Zbigniew Jędrzejewski-Szmek 399a2a
diff --git a/man/systemd-system.conf.xml b/man/systemd-system.conf.xml
Zbigniew Jędrzejewski-Szmek 399a2a
index 7c3f237567..c7bcfaee4d 100644
Zbigniew Jędrzejewski-Szmek 399a2a
--- a/man/systemd-system.conf.xml
Zbigniew Jędrzejewski-Szmek 399a2a
+++ b/man/systemd-system.conf.xml
Zbigniew Jędrzejewski-Szmek 399a2a
@@ -74,8 +74,7 @@
Zbigniew Jędrzejewski-Szmek 399a2a
     operations.</para>
Zbigniew Jędrzejewski-Szmek 399a2a
   </refsect1>
Zbigniew Jędrzejewski-Szmek 399a2a
 
Zbigniew Jędrzejewski-Szmek 399a2a
-  <xi:include href="standard-conf.xml" xpointer="confd" />
Zbigniew Jędrzejewski-Szmek 399a2a
-  <xi:include href="standard-conf.xml" xpointer="conf" />
Zbigniew Jędrzejewski-Szmek 399a2a
+  <xi:include href="standard-conf.xml" xpointer="main-conf" />
Zbigniew Jędrzejewski-Szmek 399a2a
 
Zbigniew Jędrzejewski-Szmek 399a2a
   <refsect1>
Zbigniew Jędrzejewski-Szmek 399a2a
     <title>Options</title>
Zbigniew Jędrzejewski-Szmek 399a2a
diff --git a/man/timesyncd.conf.xml b/man/timesyncd.conf.xml
Zbigniew Jędrzejewski-Szmek 399a2a
index 1127970a18..89a651c662 100644
Zbigniew Jędrzejewski-Szmek 399a2a
--- a/man/timesyncd.conf.xml
Zbigniew Jędrzejewski-Szmek 399a2a
+++ b/man/timesyncd.conf.xml
Zbigniew Jędrzejewski-Szmek 399a2a
@@ -63,8 +63,7 @@
Zbigniew Jędrzejewski-Szmek 399a2a
 
Zbigniew Jędrzejewski-Szmek 399a2a
   </refsect1>
Zbigniew Jędrzejewski-Szmek 399a2a
 
Zbigniew Jędrzejewski-Szmek 399a2a
-  <xi:include href="standard-conf.xml" xpointer="confd" />
Zbigniew Jędrzejewski-Szmek 399a2a
-  <xi:include href="standard-conf.xml" xpointer="conf" />
Zbigniew Jędrzejewski-Szmek 399a2a
+  <xi:include href="standard-conf.xml" xpointer="main-conf" />
Zbigniew Jędrzejewski-Szmek 399a2a
 
Zbigniew Jędrzejewski-Szmek 399a2a
   <refsect1>
Zbigniew Jędrzejewski-Szmek 399a2a
     <title>Options</title>
Zbigniew Jędrzejewski-Szmek 399a2a
diff --git a/src/bootchart/bootchart.conf b/src/bootchart/bootchart.conf
Zbigniew Jędrzejewski-Szmek 399a2a
index 2d7cb61217..4f5e50936e 100644
Zbigniew Jędrzejewski-Szmek 399a2a
--- a/src/bootchart/bootchart.conf
Zbigniew Jędrzejewski-Szmek 399a2a
+++ b/src/bootchart/bootchart.conf
Zbigniew Jędrzejewski-Szmek 399a2a
@@ -5,10 +5,11 @@
Zbigniew Jędrzejewski-Szmek 399a2a
 #  the Free Software Foundation; either version 2.1 of the License, or
Zbigniew Jędrzejewski-Szmek 399a2a
 #  (at your option) any later version.
Zbigniew Jędrzejewski-Szmek 399a2a
 #
Zbigniew Jędrzejewski-Szmek 399a2a
-# You can override the directives in this file by creating files in
Zbigniew Jędrzejewski-Szmek 399a2a
-# /etc/systemd/bootchart.conf.d/*.conf.
Zbigniew Jędrzejewski-Szmek 399a2a
+# Entries in this file show the compile time defaults.
Zbigniew Jędrzejewski-Szmek 399a2a
+# You can change settings by editing this file.
Zbigniew Jędrzejewski-Szmek 399a2a
+# Defaults can be restored by simply deleting this file.
Zbigniew Jędrzejewski-Szmek 399a2a
 #
Zbigniew Jędrzejewski-Szmek 399a2a
-# See bootchart.conf(5) for details
Zbigniew Jędrzejewski-Szmek 399a2a
+# See bootchart.conf(5) for details.
Zbigniew Jędrzejewski-Szmek 399a2a
 
Zbigniew Jędrzejewski-Szmek 399a2a
 [Bootchart]
Zbigniew Jędrzejewski-Szmek 399a2a
 #Samples=500
Zbigniew Jędrzejewski-Szmek 399a2a
diff --git a/src/core/system.conf b/src/core/system.conf
Zbigniew Jędrzejewski-Szmek 399a2a
index a3727200df..231609033b 100644
Zbigniew Jędrzejewski-Szmek 399a2a
--- a/src/core/system.conf
Zbigniew Jędrzejewski-Szmek 399a2a
+++ b/src/core/system.conf
Zbigniew Jędrzejewski-Szmek 399a2a
@@ -5,10 +5,11 @@
Zbigniew Jędrzejewski-Szmek 399a2a
 #  the Free Software Foundation; either version 2.1 of the License, or
Zbigniew Jędrzejewski-Szmek 399a2a
 #  (at your option) any later version.
Zbigniew Jędrzejewski-Szmek 399a2a
 #
Zbigniew Jędrzejewski-Szmek 399a2a
-# You can override the directives in this file by creating files in
Zbigniew Jędrzejewski-Szmek 399a2a
-# /etc/systemd/system.conf.d/*.conf.
Zbigniew Jędrzejewski-Szmek 399a2a
+# Entries in this file show the compile time defaults.
Zbigniew Jędrzejewski-Szmek 399a2a
+# You can change settings by editing this file.
Zbigniew Jędrzejewski-Szmek 399a2a
+# Defaults can be restored by simply deleting this file.
Zbigniew Jędrzejewski-Szmek 399a2a
 #
Zbigniew Jędrzejewski-Szmek 399a2a
-# See systemd-system.conf(5) for details
Zbigniew Jędrzejewski-Szmek 399a2a
+# See systemd-system.conf(5) for details.
Zbigniew Jędrzejewski-Szmek 399a2a
 
Zbigniew Jędrzejewski-Szmek 399a2a
 [Manager]
Zbigniew Jędrzejewski-Szmek 399a2a
 #LogLevel=info
Zbigniew Jędrzejewski-Szmek 399a2a
diff --git a/src/journal/coredump.conf b/src/journal/coredump.conf
Zbigniew Jędrzejewski-Szmek 399a2a
index 0fe9fe801a..c2f0643e03 100644
Zbigniew Jędrzejewski-Szmek 399a2a
--- a/src/journal/coredump.conf
Zbigniew Jędrzejewski-Szmek 399a2a
+++ b/src/journal/coredump.conf
Zbigniew Jędrzejewski-Szmek 399a2a
@@ -5,10 +5,11 @@
Zbigniew Jędrzejewski-Szmek 399a2a
 #  the Free Software Foundation; either version 2.1 of the License, or
Zbigniew Jędrzejewski-Szmek 399a2a
 #  (at your option) any later version.
Zbigniew Jędrzejewski-Szmek 399a2a
 #
Zbigniew Jędrzejewski-Szmek 399a2a
-# You can override the directives in this file by creating files in
Zbigniew Jędrzejewski-Szmek 399a2a
-# /etc/systemd/coredump.conf.d/*.conf.
Zbigniew Jędrzejewski-Szmek 399a2a
+# Entries in this file show the compile time defaults.
Zbigniew Jędrzejewski-Szmek 399a2a
+# You can change settings by editing this file.
Zbigniew Jędrzejewski-Szmek 399a2a
+# Defaults can be restored by simply deleting this file.
Zbigniew Jędrzejewski-Szmek 399a2a
 #
Zbigniew Jędrzejewski-Szmek 399a2a
-# See coredump.conf(5) for details
Zbigniew Jędrzejewski-Szmek 399a2a
+# See coredump.conf(5) for details.
Zbigniew Jędrzejewski-Szmek 399a2a
 
Zbigniew Jędrzejewski-Szmek 399a2a
 [Coredump]
Zbigniew Jędrzejewski-Szmek 399a2a
 #Storage=external
Zbigniew Jędrzejewski-Szmek 399a2a
diff --git a/src/journal/journald.conf b/src/journal/journald.conf
Zbigniew Jędrzejewski-Szmek 399a2a
index 29bdf8f183..47eefe91c1 100644
Zbigniew Jędrzejewski-Szmek 399a2a
--- a/src/journal/journald.conf
Zbigniew Jędrzejewski-Szmek 399a2a
+++ b/src/journal/journald.conf
Zbigniew Jędrzejewski-Szmek 399a2a
@@ -5,10 +5,11 @@
Zbigniew Jędrzejewski-Szmek 399a2a
 #  the Free Software Foundation; either version 2.1 of the License, or
Zbigniew Jędrzejewski-Szmek 399a2a
 #  (at your option) any later version.
Zbigniew Jędrzejewski-Szmek 399a2a
 #
Zbigniew Jędrzejewski-Szmek 399a2a
-# You can override the directives in this file by creating files in
Zbigniew Jędrzejewski-Szmek 399a2a
-# /etc/systemd/journald.conf.d/*.conf.
Zbigniew Jędrzejewski-Szmek 399a2a
+# Entries in this file show the compile time defaults.
Zbigniew Jędrzejewski-Szmek 399a2a
+# You can change settings by editing this file.
Zbigniew Jędrzejewski-Szmek 399a2a
+# Defaults can be restored by simply deleting this file.
Zbigniew Jędrzejewski-Szmek 399a2a
 #
Zbigniew Jędrzejewski-Szmek 399a2a
-# See journald.conf(5) for details
Zbigniew Jędrzejewski-Szmek 399a2a
+# See journald.conf(5) for details.
Zbigniew Jędrzejewski-Szmek 399a2a
 
Zbigniew Jędrzejewski-Szmek 399a2a
 [Journal]
Zbigniew Jędrzejewski-Szmek 399a2a
 #Storage=auto
Zbigniew Jędrzejewski-Szmek 399a2a
diff --git a/src/login/logind.conf b/src/login/logind.conf
Zbigniew Jędrzejewski-Szmek 399a2a
index 6b1943a2d1..834c4c2ebf 100644
Zbigniew Jędrzejewski-Szmek 399a2a
--- a/src/login/logind.conf
Zbigniew Jędrzejewski-Szmek 399a2a
+++ b/src/login/logind.conf
Zbigniew Jędrzejewski-Szmek 399a2a
@@ -5,10 +5,11 @@
Zbigniew Jędrzejewski-Szmek 399a2a
 #  the Free Software Foundation; either version 2.1 of the License, or
Zbigniew Jędrzejewski-Szmek 399a2a
 #  (at your option) any later version.
Zbigniew Jędrzejewski-Szmek 399a2a
 #
Zbigniew Jędrzejewski-Szmek 399a2a
-# You can override the directives in this file by creating files in
Zbigniew Jędrzejewski-Szmek 399a2a
-# /etc/systemd/logind.conf.d/*.conf.
Zbigniew Jędrzejewski-Szmek 399a2a
+# Entries in this file show the compile time defaults.
Zbigniew Jędrzejewski-Szmek 399a2a
+# You can change settings by editing this file.
Zbigniew Jędrzejewski-Szmek 399a2a
+# Defaults can be restored by simply deleting this file.
Zbigniew Jędrzejewski-Szmek 399a2a
 #
Zbigniew Jędrzejewski-Szmek 399a2a
-# See logind.conf(5) for details
Zbigniew Jędrzejewski-Szmek 399a2a
+# See logind.conf(5) for details.
Zbigniew Jędrzejewski-Szmek 399a2a
 
Zbigniew Jędrzejewski-Szmek 399a2a
 [Login]
Zbigniew Jędrzejewski-Szmek 399a2a
 #NAutoVTs=6
Zbigniew Jędrzejewski-Szmek 399a2a
diff --git a/src/resolve/resolved.conf.in b/src/resolve/resolved.conf.in
Zbigniew Jędrzejewski-Szmek 399a2a
index e5a19ee474..3eb19e42b7 100644
Zbigniew Jędrzejewski-Szmek 399a2a
--- a/src/resolve/resolved.conf.in
Zbigniew Jędrzejewski-Szmek 399a2a
+++ b/src/resolve/resolved.conf.in
Zbigniew Jędrzejewski-Szmek 399a2a
@@ -5,8 +5,9 @@
Zbigniew Jędrzejewski-Szmek 399a2a
 #  the Free Software Foundation; either version 2.1 of the License, or
Zbigniew Jędrzejewski-Szmek 399a2a
 #  (at your option) any later version.
Zbigniew Jędrzejewski-Szmek 399a2a
 #
Zbigniew Jędrzejewski-Szmek 399a2a
-# You can override the directives in this file by creating files in
Zbigniew Jędrzejewski-Szmek 399a2a
-# /etc/systemd/resolved.conf.d/*.conf.
Zbigniew Jędrzejewski-Szmek 399a2a
+# Entries in this file show the compile time defaults.
Zbigniew Jędrzejewski-Szmek 399a2a
+# You can change settings by editing this file.
Zbigniew Jędrzejewski-Szmek 399a2a
+# Defaults can be restored by simply deleting this file.
Zbigniew Jędrzejewski-Szmek 399a2a
 #
Zbigniew Jędrzejewski-Szmek 399a2a
 # See resolved.conf(5) for details
Zbigniew Jędrzejewski-Szmek 399a2a
 
Zbigniew Jędrzejewski-Szmek 399a2a
diff --git a/src/timesync/timesyncd.conf.in b/src/timesync/timesyncd.conf.in
Zbigniew Jędrzejewski-Szmek 399a2a
index fc3c6c49cf..b6a2ada273 100644
Zbigniew Jędrzejewski-Szmek 399a2a
--- a/src/timesync/timesyncd.conf.in
Zbigniew Jędrzejewski-Szmek 399a2a
+++ b/src/timesync/timesyncd.conf.in
Zbigniew Jędrzejewski-Szmek 399a2a
@@ -5,10 +5,11 @@
Zbigniew Jędrzejewski-Szmek 399a2a
 #  the Free Software Foundation; either version 2.1 of the License, or
Zbigniew Jędrzejewski-Szmek 399a2a
 #  (at your option) any later version.
Zbigniew Jędrzejewski-Szmek 399a2a
 #
Zbigniew Jędrzejewski-Szmek 399a2a
-# You can override the directives in this file by creating files in
Zbigniew Jędrzejewski-Szmek 399a2a
-# /etc/systemd/timesyncd.conf.d/*.conf.
Zbigniew Jędrzejewski-Szmek 399a2a
+# Entries in this file show the compile time defaults.
Zbigniew Jędrzejewski-Szmek 399a2a
+# You can change settings by editing this file.
Zbigniew Jędrzejewski-Szmek 399a2a
+# Defaults can be restored by simply deleting this file.
Zbigniew Jędrzejewski-Szmek 399a2a
 #
Zbigniew Jędrzejewski-Szmek 399a2a
-# See timesyncd.conf(5) for details
Zbigniew Jędrzejewski-Szmek 399a2a
+# See timesyncd.conf(5) for details.
Zbigniew Jędrzejewski-Szmek 399a2a
 
Zbigniew Jędrzejewski-Szmek 399a2a
 [Time]
Zbigniew Jędrzejewski-Szmek 399a2a
 #NTP=