]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
systemd.exec: document the file system for EnvironmentFile paths
authorTopi Miettinen <toiwoton@gmail.com>
Sat, 28 Dec 2019 17:38:27 +0000 (19:38 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 2 Jan 2020 13:21:16 +0000 (14:21 +0100)
Files specified with EnvironmentFile are read from PID1 mount namespace, before
any file system operations like RootImage or BindPaths are in effect.

man/systemd.exec.xml

index 27b58432b9649021a61edc723312be59452b3c96..ee2ca6aa10f7497fb08e5504ddc62b180b47b4af 100644 (file)
@@ -1908,7 +1908,8 @@ SystemCallErrorNumber=EPERM</programlisting>
 
         <para>The files listed with this directive will be read shortly before the process is executed (more
         specifically, after all processes from a previous unit state terminated.  This means you can generate these
-        files in one unit state, and read it with this option in the next).</para>
+        files in one unit state, and read it with this option in the next.  The files are read from the file
+        system of the service manager, before any file system changes like bind mounts take place).</para>
 
         <para>Settings from these files override settings made with <varname>Environment=</varname>. If the same
         variable is set twice from these files, the files will be read in the order they are specified and the later