[node-patches] Change in ovirt-node[master]: post el7: comment PrivateDevices for systemd-[localed/machined]

dougsland at redhat.com dougsland at redhat.com
Fri Sep 23 15:10:54 UTC 2016


Douglas Schilling Landgraf has uploaded a new change for review.

Change subject: post el7: comment PrivateDevices for systemd-[localed/machined]
......................................................................

post el7: comment PrivateDevices for systemd-[localed/machined]

Avoid creation of new /dev namespace for the executed processes.
This approach is affecting these localed and machined services
in ovirt-node.

Change-Id: Ifa52cb16d75d9a58688d11476c965afa28d73293
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1378304
Signed-off-by: Douglas Schilling Landgraf <dougsland at redhat.com>
---
M recipe/centos7-post.ks
M recipe/rhevh7-post.ks
2 files changed, 8 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/57/64357/1

diff --git a/recipe/centos7-post.ks b/recipe/centos7-post.ks
index 63d54b8..8084440 100644
--- a/recipe/centos7-post.ks
+++ b/recipe/centos7-post.ks
@@ -224,3 +224,7 @@
 # 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
+
+# Workaround for https://bugzilla.redhat.com/show_bug.cgi?id=1378304
+sed -i "/PrivateDevices/ s/^/#/" /usr/lib/systemd/system/systemd-localed.service
+sed -i "/PrivateDevices/ s/^/#/" /usr/lib/systemd/system/systemd-machined.service
diff --git a/recipe/rhevh7-post.ks b/recipe/rhevh7-post.ks
index 60af4de..a345a81 100644
--- a/recipe/rhevh7-post.ks
+++ b/recipe/rhevh7-post.ks
@@ -257,3 +257,7 @@
 # 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
+
+# Workaround for https://bugzilla.redhat.com/show_bug.cgi?id=1378304
+sed -i "/PrivateDevices/ s/^/#/" /usr/lib/systemd/system/systemd-localed.service
+sed -i "/PrivateDevices/ s/^/#/" /usr/lib/systemd/system/systemd-machined.service


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ifa52cb16d75d9a58688d11476c965afa28d73293
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Douglas Schilling Landgraf <dougsland at redhat.com>



More information about the node-patches mailing list