Fabian Deutsch has uploaded a new change for review.

Change subject: init: Ensure that /etc will be a rshared subtree
......................................................................

init: Ensure that /etc will be a rshared subtree

If not, then mount propagation might get broken.

Change-Id: I47f5400c179053affcc1ef11545275d5f2acaa01
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1263648
Signed-off-by: Fabian Deutsch <[email protected]>
---
M scripts/ovirt-init-functions.sh.in
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/15/50915/1

diff --git a/scripts/ovirt-init-functions.sh.in 
b/scripts/ovirt-init-functions.sh.in
index b6c0906..96190c1 100644
--- a/scripts/ovirt-init-functions.sh.in
+++ b/scripts/ovirt-init-functions.sh.in
@@ -902,6 +902,7 @@
     # mount /config unless firstboot is forced
     if [ "$firstboot" != "1" ]; then
         mount_config
+       mount --make-rshared /etc
 
         # Trigger mounting so logfiles are visible
         systemctl daemon-reload


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

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

Reply via email to