diff --git a/backport-man-fix-directory-for-user-home-bind-mounts.patch b/backport-man-fix-directory-for-user-home-bind-mounts.patch new file mode 100644 index 0000000..6c6b47d --- /dev/null +++ b/backport-man-fix-directory-for-user-home-bind-mounts.patch @@ -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 +Signed-off-by: yuwang +--- + 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 + + + The user's home directory is bind mounted from the host into +- /run/hosts/home/. ++ /run/host/home/. + + 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. +-- +2.33.0 +