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

fabiand at redhat.com fabiand at redhat.com
Mon Jan 4 11:10:42 UTC 2016


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=1288535
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1263648
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/92/51292/1

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


-- 
To view, visit https://gerrit.ovirt.org/51292
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.5
Gerrit-Owner: Fabian Deutsch <fabiand at redhat.com>



More information about the node-patches mailing list