diff options
author | Mike Yuan <me@yhndnzj.com> | 2024-04-26 11:48:53 +0200 |
---|---|---|
committer | Mike Yuan <me@yhndnzj.com> | 2024-04-27 08:28:54 +0200 |
commit | 45a36ecff9c4631e5b04836e58c81f24584643a4 (patch) | |
tree | f1879768ca2ac4b533556d9c41de5299296ccd69 /man/systemd.exec.xml | |
parent | core/load-fragment: add one missing assertion (diff) | |
download | systemd-45a36ecff9c4631e5b04836e58c81f24584643a4.tar.xz systemd-45a36ecff9c4631e5b04836e58c81f24584643a4.zip |
man/systemd.exec: mount_switch_root uses pivot_root rather than chroot
Diffstat (limited to 'man/systemd.exec.xml')
-rw-r--r-- | man/systemd.exec.xml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/man/systemd.exec.xml b/man/systemd.exec.xml index 38bf018ae4..d9ec44983f 100644 --- a/man/systemd.exec.xml +++ b/man/systemd.exec.xml @@ -125,9 +125,10 @@ <listitem><para>Takes a directory path relative to the host's root directory (i.e. the root of the system running the service manager). Sets the root directory for executed processes, with the <citerefentry - project='man-pages'><refentrytitle>chroot</refentrytitle><manvolnum>2</manvolnum></citerefentry> system - call. If this is used, it must be ensured that the process binary and all its auxiliary files are available in - the <function>chroot()</function> jail. Note that setting this parameter might result in additional + project='man-pages'><refentrytitle>pivot_root</refentrytitle><manvolnum>2</manvolnum></citerefentry> + or <citerefentry project='man-pages'><refentrytitle>chroot</refentrytitle><manvolnum>2</manvolnum></citerefentry> + system call. If this is used, it must be ensured that the process binary and all its auxiliary files + are available in the new root. Note that setting this parameter might result in additional dependencies to be added to the unit (see above).</para> <para>The <varname>MountAPIVFS=</varname> and <varname>PrivateUsers=</varname> settings are particularly useful |