>From 18acaf88d7b0707f178184603550e57795f96248 Mon Sep 17 00:00:00 2001
From: "Yuriy M. Kaminskiy" <[email protected]>
Date: Wed, 9 Mar 2016 19:55:58 +0300
Subject: [PATCH] man: fix 'slave'/'private' confusion

'slave' does not break unmount propagation from host to container,
so it won't keep device busy when it is unmounted at host.
However, 'private' breaks all unmount propagation, so it *is* problematic.
---
 man/systemd.exec.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/man/systemd.exec.xml b/man/systemd.exec.xml
index c1f47e8..44ce974 100644
--- a/man/systemd.exec.xml
+++ b/man/systemd.exec.xml
@@ -1014,8 +1014,8 @@
         mounts and unmounts will propagate to the host. Use
         <option>private</option> to also ensure that no mounts and
         unmounts from the host will propagate into the unit processes'
-        namespace. Note that <option>slave</option> means that file
-        systems mounted on the host might stay mounted continuously in
+        namespace. Note that <option>private</option> means that file
+        systems unmounted on the host might stay mounted continuously in
         the unit's namespace, and thus keep the device busy. Note that
         the file system namespace related options
         (<varname>PrivateTmp=</varname>,
-- 
2.1.4

_______________________________________________
systemd-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to