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 <[email protected]>
---
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 <[email protected]>
_______________________________________________
node-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/node-patches

Reply via email to