summaryrefslogtreecommitdiffstats
path: root/upstream/fedora-rawhide/man5/homed.conf.5
diff options
context:
space:
mode:
Diffstat (limited to 'upstream/fedora-rawhide/man5/homed.conf.5')
-rw-r--r--upstream/fedora-rawhide/man5/homed.conf.545
1 files changed, 30 insertions, 15 deletions
diff --git a/upstream/fedora-rawhide/man5/homed.conf.5 b/upstream/fedora-rawhide/man5/homed.conf.5
index af99d452..caf235e2 100644
--- a/upstream/fedora-rawhide/man5/homed.conf.5
+++ b/upstream/fedora-rawhide/man5/homed.conf.5
@@ -1,5 +1,5 @@
'\" t
-.TH "HOMED\&.CONF" "5" "" "systemd 255" "homed.conf"
+.TH "HOMED\&.CONF" "5" "" "systemd 256~rc3" "homed.conf"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
@@ -23,29 +23,40 @@
homed.conf, homed.conf.d \- Home area/user account manager configuration files
.SH "SYNOPSIS"
.PP
+.RS 4
/etc/systemd/homed\&.conf
-.PP
+.RE
+.RS 4
+/run/systemd/homed\&.conf
+.RE
+.RS 4
+/usr/lib/systemd/homed\&.conf
+.RE
+.RS 4
/etc/systemd/homed\&.conf\&.d/*\&.conf
-.PP
+.RE
+.RS 4
/run/systemd/homed\&.conf\&.d/*\&.conf
-.PP
+.RE
+.RS 4
/usr/lib/systemd/homed\&.conf\&.d/*\&.conf
+.RE
.SH "DESCRIPTION"
.PP
These configuration files control default parameters for home areas/user accounts created and managed by
\fBsystemd-homed.service\fR(8)\&.
.SH "CONFIGURATION DIRECTORIES AND PRECEDENCE"
.PP
-The default configuration is set during compilation, so configuration is only needed when it is necessary to deviate from those defaults\&. The main configuration file is either in
-/usr/lib/systemd/
-or
-/etc/systemd/
-and contains commented out entries showing the defaults as a guide to the administrator\&. Local overrides can be created by creating drop\-ins, as described below\&. The main configuration file can also be edited for this purpose (or a copy in
+The default configuration is set during compilation, so configuration is only needed when it is necessary to deviate from those defaults\&. The main configuration file is loaded from one of the listed directories in order of priority, only the first file found is used:
+/etc/systemd/,
+/run/systemd/,
+/usr/local/lib/systemd/,
+/usr/lib/systemd/\&. The vendor version of the file contains commented out entries showing the defaults as a guide to the administrator\&. Local overrides can also be created by creating drop\-ins, as described below\&. The main configuration file can also be edited for this purpose (or a copy in
/etc/
-if it\*(Aqs shipped in
-/usr/) however using drop\-ins for local configuration is recommended over modifications to the main configuration file\&.
+if it\*(Aqs shipped under
+/usr/), however using drop\-ins for local configuration is recommended over modifications to the main configuration file\&.
.PP
-In addition to the "main" configuration file, drop\-in configuration snippets are read from
+In addition to the main configuration file, drop\-in configuration snippets are read from
/usr/lib/systemd/*\&.conf\&.d/,
/usr/local/lib/systemd/*\&.conf\&.d/, and
/etc/systemd/*\&.conf\&.d/\&. Those drop\-ins have higher precedence and override the main configuration file\&. Files in the
@@ -55,7 +66,12 @@ configuration subdirectories are sorted by their filename in lexicographic order
When packages need to customize the configuration, they can install drop\-ins under
/usr/\&. Files in
/etc/
-are reserved for the local administrator, who may use this logic to override the configuration files installed by vendor packages\&. Drop\-ins have to be used to override package drop\-ins, since the main configuration file has lower precedence\&. It is recommended to prefix all filenames in those subdirectories with a two\-digit number and a dash, to simplify the ordering of the files\&. This also defined a concept of drop\-in priority to allow distributions to ship drop\-ins within a specific range lower than the range used by users\&. This should lower the risk of package drop\-ins overriding accidentally drop\-ins defined by users\&.
+are reserved for the local administrator, who may use this logic to override the configuration files installed by vendor packages\&. Drop\-ins have to be used to override package drop\-ins, since the main configuration file has lower precedence\&. It is recommended to prefix all filenames in those subdirectories with a two\-digit number and a dash, to simplify the ordering of the files\&. This also defines a concept of drop\-in priorities to allow OS vendors to ship drop\-ins within a specific range lower than the range used by users\&. This should lower the risk of package drop\-ins overriding accidentally drop\-ins defined by users\&. It is recommended to use the range 10\-40 for drop\-ins in
+/usr/
+and the range 60\-90 for drop\-ins in
+/etc/
+and
+/run/, to make sure that local and transient drop\-ins take priority over drop\-ins shipped by the OS vendor\&.
.PP
To disable a configuration file supplied by the vendor, the recommended way is to place a symlink to
/dev/null
@@ -106,5 +122,4 @@ Added in version 246\&.
.RE
.SH "SEE ALSO"
.PP
-\fBsystemd\fR(1),
-\fBsystemd-homed.service\fR(8)
+\fBsystemd\fR(1), \fBsystemd-homed.service\fR(8)