summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2018-06-28 10:17:54 +0200
committerGitHub <noreply@github.com>2018-06-28 10:17:54 +0200
commitca285cdb405f99ba6c67d8e8da263b7bbb52c19f (patch)
tree2612c6616d00ba930d2346fb357b83cbd2492a96
parent845d247a3dbca437fd8a118a118328acb322e2c1 (diff)
parentb34a21083b8937f2bb562e2cefdd85b4381aa621 (diff)
downloadsystemd-ca285cdb405f99ba6c67d8e8da263b7bbb52c19f.tar.gz
Merge pull request #9422 from yuwata/conf-files
cleanups for default conf files
-rw-r--r--man/systemd-system.conf.xml5
-rw-r--r--src/core/system.conf.in3
-rw-r--r--src/journal-remote/journal-remote.conf.in13
-rw-r--r--src/journal-remote/journal-upload.conf.in13
-rw-r--r--src/journal/journald.conf1
-rw-r--r--src/network/meson.build3
-rw-r--r--src/network/networkd.conf16
7 files changed, 50 insertions, 4 deletions
diff --git a/man/systemd-system.conf.xml b/man/systemd-system.conf.xml
index a914ef2523..88dcd1d142 100644
--- a/man/systemd-system.conf.xml
+++ b/man/systemd-system.conf.xml
@@ -322,15 +322,16 @@
<term><varname>DefaultBlockIOAccounting=</varname></term>
<term><varname>DefaultMemoryAccounting=</varname></term>
<term><varname>DefaultTasksAccounting=</varname></term>
+ <term><varname>DefaultIOAccounting=</varname></term>
<term><varname>DefaultIPAccounting=</varname></term>
<listitem><para>Configure the default resource accounting settings, as configured per-unit by
<varname>CPUAccounting=</varname>, <varname>BlockIOAccounting=</varname>, <varname>MemoryAccounting=</varname>,
- <varname>TasksAccounting=</varname> and <varname>IPAccounting=</varname>. See
+ <varname>TasksAccounting=</varname>, <varname>IOAccounting=</varname> and <varname>IPAccounting=</varname>. See
<citerefentry><refentrytitle>systemd.resource-control</refentrytitle><manvolnum>5</manvolnum></citerefentry>
for details on the per-unit settings. <varname>DefaultTasksAccounting=</varname> defaults to on,
<varname>DefaultMemoryAccounting=</varname> to &MEMORY_ACCOUNTING_DEFAULT;,
- the other three settings to off.</para></listitem>
+ the other four settings to off.</para></listitem>
</varlistentry>
<varlistentry>
diff --git a/src/core/system.conf.in b/src/core/system.conf.in
index f0a59a79a5..639b5818ff 100644
--- a/src/core/system.conf.in
+++ b/src/core/system.conf.in
@@ -26,6 +26,7 @@
#JoinControllers=cpu,cpuacct net_cls,net_prio
#RuntimeWatchdogSec=0
#ShutdownWatchdogSec=10min
+#WatchdogDevice=
#CapabilityBoundingSet=
#NoNewPrivileges=no
#SystemCallArchitectures=
@@ -62,5 +63,3 @@
#DefaultLimitNICE=
#DefaultLimitRTPRIO=
#DefaultLimitRTTIME=
-#IPAddressAllow=
-#IPAddressDeny=
diff --git a/src/journal-remote/journal-remote.conf.in b/src/journal-remote/journal-remote.conf.in
index 7122d63362..edc3abab4b 100644
--- a/src/journal-remote/journal-remote.conf.in
+++ b/src/journal-remote/journal-remote.conf.in
@@ -1,3 +1,16 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation; either version 2.1 of the License, or
+# (at your option) any later version.
+#
+# Entries in this file show the compile time defaults.
+# You can change settings by editing this file.
+# Defaults can be restored by simply deleting this file.
+#
+# See journal-remote.conf(5) for details
+
[Remote]
# Seal=false
# SplitMode=host
diff --git a/src/journal-remote/journal-upload.conf.in b/src/journal-remote/journal-upload.conf.in
index c5670682e8..5f59a6fe80 100644
--- a/src/journal-remote/journal-upload.conf.in
+++ b/src/journal-remote/journal-upload.conf.in
@@ -1,3 +1,16 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation; either version 2.1 of the License, or
+# (at your option) any later version.
+#
+# Entries in this file show the compile time defaults.
+# You can change settings by editing this file.
+# Defaults can be restored by simply deleting this file.
+#
+# See journal-upload.conf(5) for details
+
[Upload]
# URL=
# ServerKeyFile=@CERTIFICATEROOT@/private/journal-upload.pem
diff --git a/src/journal/journald.conf b/src/journal/journald.conf
index 94d5c678aa..2f1c661153 100644
--- a/src/journal/journald.conf
+++ b/src/journal/journald.conf
@@ -40,3 +40,4 @@
#MaxLevelConsole=info
#MaxLevelWall=emerg
#LineMax=48K
+#ReadKMsg=yes
diff --git a/src/network/meson.build b/src/network/meson.build
index 8f5544ea04..8f63815b12 100644
--- a/src/network/meson.build
+++ b/src/network/meson.build
@@ -131,6 +131,9 @@ if conf.get('ENABLE_NETWORKD') == 1
install_dir : polkitpkladir)
endif
+ install_data('networkd.conf',
+ install_dir : pkgsysconfdir)
+
tests += [
[['src/network/test-networkd-conf.c'],
[libnetworkd_core,
diff --git a/src/network/networkd.conf b/src/network/networkd.conf
new file mode 100644
index 0000000000..8dc5676166
--- /dev/null
+++ b/src/network/networkd.conf
@@ -0,0 +1,16 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation; either version 2.1 of the License, or
+# (at your option) any later version.
+#
+# Entries in this file show the compile time defaults.
+# You can change settings by editing this file.
+# Defaults can be restored by simply deleting this file.
+#
+# See networkd.conf(5) for details
+
+[DHCP]
+#DUIDType=vendor
+#DUIDRawData=