man: fix directory for user home bind mounts
Signed-off-by: zhaoxiaohu <zhaoxiaohu@kuaishou.com>
This commit is contained in:
parent
0f6c89b3c5
commit
155a87244c
34
backport-man-fix-directory-for-user-home-bind-mounts.patch
Normal file
34
backport-man-fix-directory-for-user-home-bind-mounts.patch
Normal file
@ -0,0 +1,34 @@
|
||||
From f39d7d00a31c1867d5fa41b3dd4e6d20665a8f3a Mon Sep 17 00:00:00 2001
|
||||
From: ml <6209465+ml-@users.noreply.github.com>
|
||||
Date: Sun, 12 Feb 2023 00:30:28 +0100
|
||||
Subject: [PATCH] man: fix directory for user home bind mounts
|
||||
|
||||
(cherry picked from commit f39d7d00a31c1867d5fa41b3dd4e6d20665a8f3a)
|
||||
(cherry picked from commit bfaf02348e1086c9ce2e4503ef03dc75ed4f1afb)
|
||||
(cherry picked from commit 067b5b7e892ffa420628fef026ea4d1e16b2110d)
|
||||
(cherry picked from commit 1b7b67d22a8bd000096a0f00f97d68fc90e5eaa3)
|
||||
|
||||
Reference: https://github.com/systemd/systemd-stable/pull/259/commits/a11dc8712c63e57e687b9cdedaba023c50a39820
|
||||
|
||||
Signed-off-by: zhaoxiaohu <zhaoxiaohu@kuaishou.com>
|
||||
Signed-off-by: yuwang <yuwang@kuaishou.com>
|
||||
---
|
||||
man/systemd-nspawn.xml | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/man/systemd-nspawn.xml b/man/systemd-nspawn.xml
|
||||
index e929d32..2421de2 100644
|
||||
--- a/man/systemd-nspawn.xml
|
||||
+++ b/man/systemd-nspawn.xml
|
||||
@@ -1361,7 +1361,7 @@ After=sys-subsystem-net-devices-ens1.device</programlisting>
|
||||
|
||||
<orderedlist>
|
||||
<listitem><para>The user's home directory is bind mounted from the host into
|
||||
- <filename>/run/hosts/home/</filename>.</para></listitem>
|
||||
+ <filename>/run/host/home/</filename>.</para></listitem>
|
||||
|
||||
<listitem><para>An additional UID/GID mapping is added that maps the host user's UID/GID to a
|
||||
container UID/GID, allocated from the 60514…60577 range.</para></listitem>
|
||||
--
|
||||
2.33.0
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user