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

fabiand at redhat.com fabiand at redhat.com
Tue Dec 1 15:53:13 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/centos7-post.ks
M recipe/rhevh7-post.ks
2 files changed, 7 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/26/49526/1

diff --git a/recipe/centos7-post.ks b/recipe/centos7-post.ks
index c7cf97f..63d54b8 100644
--- a/recipe/centos7-post.ks
+++ b/recipe/centos7-post.ks
@@ -221,3 +221,6 @@
 #we need network manager CLI but  (maybe) but not it service
 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/^/#/" /usr/lib/systemd/system/systemd-udevd.service
diff --git a/recipe/rhevh7-post.ks b/recipe/rhevh7-post.ks
index 4fd77b4..60af4de 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/^/#/" /usr/lib/systemd/system/systemd-udevd.service


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

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



More information about the node-patches mailing list