[node-patches] Change in ovirt-node[ovirt-3.6]: post el7: comment PrivateDevices for systemd-hostnamed

dougsland at redhat.com dougsland at redhat.com
Fri Oct 7 13:55:50 UTC 2016


Douglas Schilling Landgraf has uploaded a new change for review.

Change subject: post el7: comment PrivateDevices for systemd-hostnamed
......................................................................

post el7: comment PrivateDevices for systemd-hostnamed

Avoid creation of new /dev namespace for the executed processes.
This approach is affecting systemd-hostnamed in ovirt-node.

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


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/36/65236/1

diff --git a/recipe/centos7-post.ks b/recipe/centos7-post.ks
index 8084440..447d02c 100644
--- a/recipe/centos7-post.ks
+++ b/recipe/centos7-post.ks
@@ -228,3 +228,4 @@
 # 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
+sed -i "/PrivateDevices/ s/^/#/" /usr/lib/systemd/system/systemd-hostnamed.service
diff --git a/recipe/rhevh7-post.ks b/recipe/rhevh7-post.ks
index a345a81..b7aa206 100644
--- a/recipe/rhevh7-post.ks
+++ b/recipe/rhevh7-post.ks
@@ -261,3 +261,4 @@
 # 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
+sed -i "/PrivateDevices/ s/^/#/" /usr/lib/systemd/system/systemd-hostnamed.service


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

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



More information about the node-patches mailing list