mirror of
https://github.com/systemd/systemd.git
synced 2024-12-25 01:34:28 +03:00
Merge pull request #19125 from keszybz/cat-config
config files: recommend systemd-analyze cat-config
This commit is contained in:
commit
008adf875e
11
hwdb.d/README
Normal file
11
hwdb.d/README
Normal file
@ -0,0 +1,11 @@
|
||||
Files in this directory specify a description of hardware devices, in the form
|
||||
of mappings from modalias-like keys (which identify specific hardware devices)
|
||||
to udev properties.
|
||||
|
||||
Files in this directory are not read by udev directly. Instead,
|
||||
man:systemd-hwdb(8) compiles them into a binary database.
|
||||
|
||||
See man:hwdb(7) for an overview of the configuration file format, and
|
||||
man:systemd-udevd.service(8) for a description of the udev daemon.
|
||||
|
||||
Use 'systemd-analyze cat-config udev/hwdb.d' to display the effective config.
|
@ -4,6 +4,7 @@
|
||||
# they are very long but quite repetitive and the parser is not very fast.
|
||||
# So we don't "test" them.
|
||||
hwdb_files_notest = files('''
|
||||
README
|
||||
20-dmi-id.hwdb
|
||||
20-pci-vendor-model.hwdb
|
||||
20-pci-classes.hwdb
|
||||
|
@ -3472,7 +3472,8 @@ if install_sysconfdir
|
||||
install_data('xorg/50-systemd-user.sh',
|
||||
install_dir : xinitrcdir)
|
||||
endif
|
||||
install_data('modprobe.d/systemd.conf',
|
||||
install_data('README',
|
||||
'modprobe.d/systemd.conf',
|
||||
install_dir : modprobedir)
|
||||
install_data('LICENSE.GPL2',
|
||||
'LICENSE.LGPL2.1',
|
||||
|
7
modprobe.d/README
Normal file
7
modprobe.d/README
Normal file
@ -0,0 +1,7 @@
|
||||
Files in this directory contain configuration for modprobe, a program to load
|
||||
kernel modules.
|
||||
|
||||
See man:modprobe.d(5) for explanation of the configuration file format, and
|
||||
man:modprobe(8) for a description of the program itself.
|
||||
|
||||
Use 'systemd-analyze cat-config modprobe.d' to display the effective config.
|
8
rules.d/README
Normal file
8
rules.d/README
Normal file
@ -0,0 +1,8 @@
|
||||
Files in this directory contain configuration for systemd-udev.service, a
|
||||
daemon that manages symlinks to device nodes, permissions of devices nodes,
|
||||
emits device events for userspace, and renames network interfaces.
|
||||
|
||||
See man:udev(7) for an overview of the configuration file format, and
|
||||
man:systemd-udevd.service(8) for a description of service itself.
|
||||
|
||||
Use 'systemd-analyze cat-config udev/rules.d' to display the effective config.
|
@ -1,5 +1,9 @@
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
install_data(
|
||||
'README',
|
||||
install_dir : udevrulesdir)
|
||||
|
||||
rules = files('''
|
||||
60-autosuspend.rules
|
||||
60-block.rules
|
||||
|
@ -10,6 +10,8 @@
|
||||
# the system.conf.d/ subdirectory. The latter is generally recommended.
|
||||
# Defaults can be restored by simply deleting this file and all drop-ins.
|
||||
#
|
||||
# Use 'systemd-analyze cat-config systemd/system.conf' to display the full config.
|
||||
#
|
||||
# See systemd-system.conf(5) for details.
|
||||
|
||||
[Manager]
|
||||
|
@ -10,6 +10,8 @@
|
||||
# the system.conf.d/ subdirectory. The latter is generally recommended.
|
||||
# Defaults can be restored by simply deleting this file and all drop-ins.
|
||||
#
|
||||
# Use 'systemd-analyze cat-config systemd/coredump.conf' to display the full config.
|
||||
#
|
||||
# See coredump.conf(5) for details.
|
||||
|
||||
[Coredump]
|
||||
|
@ -10,6 +10,8 @@
|
||||
# the system.conf.d/ subdirectory. The latter is generally recommended.
|
||||
# Defaults can be restored by simply deleting this file and all drop-ins.
|
||||
#
|
||||
# Use 'systemd-analyze cat-config systemd/homed.conf' to display the full config.
|
||||
#
|
||||
# See homed.conf(5) for details.
|
||||
|
||||
[Home]
|
||||
|
@ -10,6 +10,8 @@
|
||||
# the system.conf.d/ subdirectory. The latter is generally recommended.
|
||||
# Defaults can be restored by simply deleting this file and all drop-ins.
|
||||
#
|
||||
# Use 'systemd-analyze cat-config systemd/journald.conf' to display the full config.
|
||||
#
|
||||
# See journald.conf(5) for details.
|
||||
|
||||
[Journal]
|
||||
|
@ -10,6 +10,8 @@
|
||||
# the system.conf.d/ subdirectory. The latter is generally recommended.
|
||||
# Defaults can be restored by simply deleting this file and all drop-ins.
|
||||
#
|
||||
# Use 'systemd-analyze cat-config systemd/logind.conf' to display the full config.
|
||||
#
|
||||
# See logind.conf(5) for details.
|
||||
|
||||
[Login]
|
||||
|
@ -10,6 +10,8 @@
|
||||
# the system.conf.d/ subdirectory. The latter is generally recommended.
|
||||
# Defaults can be restored by simply deleting this file and all drop-ins.
|
||||
#
|
||||
# Use 'systemd-analyze cat-config systemd/oomd.conf' to display the full config.
|
||||
#
|
||||
# See oomd.conf(5) for details
|
||||
|
||||
[OOM]
|
||||
|
@ -10,6 +10,8 @@
|
||||
# the system.conf.d/ subdirectory. The latter is generally recommended.
|
||||
# Defaults can be restored by simply deleting this file and all drop-ins.
|
||||
#
|
||||
# Use 'systemd-analyze cat-config systemd/resolved.conf' to display the full config.
|
||||
#
|
||||
# See resolved.conf(5) for details.
|
||||
|
||||
[Resolve]
|
||||
|
8
sysctl.d/README
Normal file
8
sysctl.d/README
Normal file
@ -0,0 +1,8 @@
|
||||
Files in this directory contain configuration for systemd-sysctl.service, a
|
||||
service to configure sysctl kernel parameters.
|
||||
|
||||
See man:sysctl.d(5) for explanation of the configuration file format, and
|
||||
man:sysctl(8) and man:systemd-sysctl.service(8) for a description of when and
|
||||
how this configuration is applied.
|
||||
|
||||
Use 'systemd-analyze cat-config sysctl.d' to display the effective config.
|
@ -1,6 +1,7 @@
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
install_data(
|
||||
'README',
|
||||
'50-default.conf',
|
||||
install_dir : sysctldir)
|
||||
|
||||
|
8
sysusers.d/README
Normal file
8
sysusers.d/README
Normal file
@ -0,0 +1,8 @@
|
||||
Files in this directory contain configuration for systemd-sysusers, a program
|
||||
to allocate system users and groups.
|
||||
|
||||
See man:sysusers.d(5) for explanation of the configuration file format, and
|
||||
man:systemd-sysusers(8) for a description of when and how this configuration is
|
||||
applied.
|
||||
|
||||
Use 'systemd-analyze cat-config sysusers.d' to display the effective config.
|
@ -1,5 +1,9 @@
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
if enable_sysusers
|
||||
install_data('README', install_dir : sysusersdir)
|
||||
endif
|
||||
|
||||
in_files = ['basic.conf']
|
||||
|
||||
foreach file : in_files
|
||||
|
8
tmpfiles.d/README
Normal file
8
tmpfiles.d/README
Normal file
@ -0,0 +1,8 @@
|
||||
Files in this directory contain configuration for systemd-tmpfiles, a program
|
||||
to create, delete, and clean up volatile and temporary files and directories.
|
||||
|
||||
See man:tmpfiles.d(5) for explanation of the configuration file format, and
|
||||
man:systemd-tmpfiles(8) for a description of when and how this configuration is
|
||||
applied.
|
||||
|
||||
Use 'systemd-analyze cat-config tmpfiles.d' to display the effective config.
|
@ -2,19 +2,20 @@
|
||||
|
||||
enable_tmpfiles = conf.get('ENABLE_TMPFILES') == 1
|
||||
|
||||
tmpfiles = [['home.conf', ''],
|
||||
['journal-nocow.conf', ''],
|
||||
['systemd-nologin.conf', 'HAVE_PAM'],
|
||||
['systemd-nspawn.conf', 'ENABLE_MACHINED'],
|
||||
['systemd-tmp.conf', ''],
|
||||
['portables.conf', 'ENABLE_PORTABLED'],
|
||||
['systemd-pstore.conf', 'ENABLE_PSTORE'],
|
||||
['tmp.conf', ''],
|
||||
['x11.conf', ''],
|
||||
['legacy.conf', 'HAVE_SYSV_COMPAT'],
|
||||
]
|
||||
files = [['README', ''],
|
||||
['home.conf', ''],
|
||||
['journal-nocow.conf', ''],
|
||||
['systemd-nologin.conf', 'HAVE_PAM'],
|
||||
['systemd-nspawn.conf', 'ENABLE_MACHINED'],
|
||||
['systemd-tmp.conf', ''],
|
||||
['portables.conf', 'ENABLE_PORTABLED'],
|
||||
['systemd-pstore.conf', 'ENABLE_PSTORE'],
|
||||
['tmp.conf', ''],
|
||||
['x11.conf', ''],
|
||||
['legacy.conf', 'HAVE_SYSV_COMPAT'],
|
||||
]
|
||||
|
||||
foreach pair : tmpfiles
|
||||
foreach pair : files
|
||||
if not enable_tmpfiles
|
||||
# do nothing
|
||||
elif pair[1] == '' or conf.get(pair[1]) == 1
|
||||
|
Loading…
Reference in New Issue
Block a user