[node-patches] Change in ovirt-node[master]: init: Ensure that /etc will be a rshared subtree

fabiand at redhat.com fabiand at redhat.com
Tue Dec 15 10:36:58 UTC 2015


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=1280310
Signed-off-by: Fabian Deutsch <fabiand at fedoraproject.org>
---
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/08/50508/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/50508
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I47f5400c179053affcc1ef11545275d5f2acaa01
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Fabian Deutsch <fabiand at redhat.com>



More information about the node-patches mailing list