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

fabiand at redhat.com fabiand at redhat.com
Wed Dec 9 10:56:35 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, 3 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/62/50162/1

diff --git a/recipe/rhevh7-post.ks b/recipe/rhevh7-post.ks
index bc291dd..a83ad17 100644
--- a/recipe/rhevh7-post.ks
+++ b/recipe/rhevh7-post.ks
@@ -283,3 +283,6 @@
 # rhbz 1181987 removing plymouth dracut message
 sed -i 's/ln -sf initrd-release $initdir\/etc\/os-release/cp \/etc\/os-release $initdir\/etc\//' /lib/dracut/modules.d/99base/module-setup.sh
 
+# 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/50162
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.5
Gerrit-Owner: Fabian Deutsch <fabiand at redhat.com>
Gerrit-Reviewer: Fabian Deutsch <fabiand at redhat.com>



More information about the node-patches mailing list