[node-patches] Change in ovirt-node[master]: recipe: Let udevd use a recursive slave mnt namespace

fabiand at redhat.com fabiand at redhat.com
Fri Nov 27 15:07:34 UTC 2015


Fabian Deutsch has uploaded a new change for review.

Change subject: recipe: Let udevd use a recursive slave mnt namespace
......................................................................

recipe: Let udevd use a recursive slave mnt namespace

In Node we are using a tmpfs'ed /etc, wthint this tmpfs'ed etc
we are using bind.mounts to bind-mount in config files (which
reside on a writable partition elsewhere).
Once udevd comes up, these files ran not be renamed anymore
- even if unmounted - because udevd is keeping the bind-mounts
in it's mnt namespace.

Change-Id: I94567146afb64c8ca5734be09af9fb56da830db0
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1263648
Signed-off-by: Fabian Deutsch <fabiand at fedoraproject.org>
---
M recipe/rhevh7-post.ks
1 file changed, 4 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/25/49325/1

diff --git a/recipe/rhevh7-post.ks b/recipe/rhevh7-post.ks
index 4fd77b4..bd89f70 100644
--- a/recipe/rhevh7-post.ks
+++ b/recipe/rhevh7-post.ks
@@ -253,3 +253,7 @@
 
 # NetworkManager service is not required as VDSM owns the network settings
 systemctl disable NetworkManager
+
+# FIXME Hack around bug https://bugzilla.redhat.com/show_bug.cgi?id=1286242
+# Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1263648
+sed -i "/MountFlags/ s/=slave/=rslave/" /usr/lib/systemd/system/systemd-udevd.service


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I94567146afb64c8ca5734be09af9fb56da830db0
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