Fabian Deutsch 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 <[email protected]> (cherry picked from commit 502b72c953d1acb1ce0a9550e17326004273971e) --- M ovirt-node.spec.in M services/Makefile.am A services/ntpd-private-tmp.conf 3 files changed, 6 insertions(+), 0 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/29/47129/1 diff --git a/ovirt-node.spec.in b/ovirt-node.spec.in index 906c4c8..82dea18 100644 --- a/ovirt-node.spec.in +++ b/ovirt-node.spec.in @@ -584,6 +584,8 @@ %if 0%{?is_systemd} %{__install} -Dp -m0644 services/ntpd-pre-start.conf \ %{buildroot}%{_sysconfdir}/systemd/system/ntpd.service.d/ntpd-pre-start.conf +%{__install} -Dp -m0644 services/ntpd-private-tmp.conf \ + %{buildroot}%{_sysconfdir}/systemd/system/ntpd.service.d/ntpd-private-tmp.conf %else # dracut patches for rhel6 %{__install} -p -m0644 dracut/dracut-7ed4ff0636c74a2f819ad6e4f2ab4862.patch %{buildroot}%{app_root} @@ -966,6 +968,7 @@ %{_unitdir}/ovirt-early.service %{_unitdir}/ovirt-kdump.service %{_sysconfdir}/systemd/system/ntpd.service.d/ntpd-pre-start.conf +%{_sysconfdir}/systemd/system/ntpd.service.d/ntpd-private-tmp.conf %else %{_initrddir}/ovirt-awake %{_initrddir}/ovirt-early diff --git a/services/Makefile.am b/services/Makefile.am index 1a1ab3c..69f2ff8 100644 --- a/services/Makefile.am +++ b/services/Makefile.am @@ -42,6 +42,7 @@ EXTRA_DIST = \ ntpd-pre-start.conf \ + ntpd-private-tmp.conf \ $(NULL) # vim: ts=2 diff --git a/services/ntpd-private-tmp.conf b/services/ntpd-private-tmp.conf new file mode 100644 index 0000000..d9fe94e --- /dev/null +++ b/services/ntpd-private-tmp.conf @@ -0,0 +1,2 @@ +[Service] +PrivateTmp=false -- To view, visit https://gerrit.ovirt.org/47129 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I95ad04aca90f303c3a90afb4c8b9c3c3fd0eb838 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-node Gerrit-Branch: ovirt-3.6 Gerrit-Owner: Fabian Deutsch <[email protected]> Gerrit-Reviewer: Douglas Schilling Landgraf <[email protected]> _______________________________________________ node-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/node-patches
