[node-patches] Change in ovirt-node[master]: ntpd: Avoid Private tmp creation

dougsland at redhat.com dougsland at redhat.com
Wed Oct 7 18:26:19 UTC 2015


Douglas Schilling Landgraf has uploaded a new change for review.

Change subject: ntpd: Avoid Private tmp creation
......................................................................

ntpd: Avoid Private tmp creation

This patch disable creation of private tmp for ntp service.
oVirt node distros based in RHEL 7.2 at moment are facing
issues with namespace and bind mounting. As example, files
in /etc return busy when trying to remove it after the
unpersist command.

Change-Id: I95ad04aca90f303c3a90afb4c8b9c3c3fd0eb838
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1251151
Signed-off-by: Douglas Schilling Landgraf <dougsland at redhat.com>
---
M ovirt-node.spec.in
M services/Makefile.am
A services/ntpd.service
3 files changed, 5 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/00/47100/1

diff --git a/ovirt-node.spec.in b/ovirt-node.spec.in
index 906c4c8..738aca8 100644
--- a/ovirt-node.spec.in
+++ b/ovirt-node.spec.in
@@ -965,6 +965,7 @@
 %{_unitdir}/ovirt-post.service
 %{_unitdir}/ovirt-early.service
 %{_unitdir}/ovirt-kdump.service
+%{_unitdir}/ntpd.service
 %{_sysconfdir}/systemd/system/ntpd.service.d/ntpd-pre-start.conf
 %else
 %{_initrddir}/ovirt-awake
diff --git a/services/Makefile.am b/services/Makefile.am
index 1a1ab3c..0fc8c57 100644
--- a/services/Makefile.am
+++ b/services/Makefile.am
@@ -27,7 +27,9 @@
   ovirt-firstboot.service \
   ovirt-cim.service \
   ovirt-kdump.service \
-  ovirt-node-igor-slave.service
+  ovirt-node-igor-slave.service \
+  ntpd.service \
+  $(NULL)
 else
 dist_initd_SCRIPTS = \
   init.d/ovirt-awake \
diff --git a/services/ntpd.service b/services/ntpd.service
new file mode 100644
index 0000000..9b92c90
--- /dev/null
+++ b/services/ntpd.service
@@ -0,0 +1 @@
+PrivateTmp=false


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I95ad04aca90f303c3a90afb4c8b9c3c3fd0eb838
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