Fabian Deutsch has uploaded a new change for review.

Change subject: installer: Use shared subtree for initramfs regeneration
......................................................................

installer: Use shared subtree for initramfs regeneration

It seems that someties (root cause still unclear) the bind mount
ended up to be a private subtree.
this would leave some of our config files mounted in the
bind omunted subtree, and would prevent removal in the host
tree.
Now we explicitly set rshared for the bind mounted subtrees.

Change-Id: I9c5cf2e95dad62565dd45371ffd0fc3351602888
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1263648
Signed-off-by: Fabian Deutsch <[email protected]>
---
M src/ovirtnode/install.py
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/81/50481/1

diff --git a/src/ovirtnode/install.py b/src/ovirtnode/install.py
index 5ea1d26..743bab7 100755
--- a/src/ovirtnode/install.py
+++ b/src/ovirtnode/install.py
@@ -737,7 +737,7 @@
             def rbind(path, updfs=updfs):
                 dst = updfs + "/" + path
                 logger.debug("Binding %r to %r" % (path, dst))
-                _call(["mount", "--rbind", "/" + path, dst])
+                _call(["mount", "--make-rshared", "--rbind", "/" + path, dst])
                 return dst
 
             for path in ["etc", "dev", "proc", "sys", "tmp", "run", "var/tmp"]:


-- 
To view, visit https://gerrit.ovirt.org/50481
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I9c5cf2e95dad62565dd45371ffd0fc3351602888
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Fabian Deutsch <[email protected]>
_______________________________________________
node-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/node-patches

Reply via email to