valeriyvdovin / rpms / systemd

Forked from rpms/systemd 4 years ago
Clone

Blame SOURCES/0257-tmpfiles.d-don-t-clean-SAP-sockets-either.patch

803fb7
From 9f9161e827ad6d90f2578eb0483ecafbe5ac59c7 Mon Sep 17 00:00:00 2001
803fb7
From: Lukas Nykryn <lnykryn@redhat.com>
803fb7
Date: Mon, 12 Oct 2015 14:18:04 +0200
803fb7
Subject: [PATCH] tmpfiles.d: don't clean SAP sockets either
803fb7
803fb7
rhel-only
803fb7
803fb7
Resolves: #1186044
803fb7
---
803fb7
 tmpfiles.d/sap.conf | 12 +++++++++---
803fb7
 1 file changed, 9 insertions(+), 3 deletions(-)
803fb7
803fb7
diff --git a/tmpfiles.d/sap.conf b/tmpfiles.d/sap.conf
803fb7
index 01ace42c4..1cdca5263 100644
803fb7
--- a/tmpfiles.d/sap.conf
803fb7
+++ b/tmpfiles.d/sap.conf
803fb7
@@ -1,3 +1,9 @@
803fb7
-# Let's not touch SAP files
803fb7
-x /tmp/.hdb_*_lock
803fb7
-x /tmp/.sapstartsrv*.log
803fb7
+# systemd tmpfiles exclude file for SAP
803fb7
+# SAP software unfortunately stores some important files
803fb7
+# in /tmp which should not be deleted
803fb7
+
803fb7
+# Exclude SAP socket and lock files
803fb7
+x /tmp/.sap*
803fb7
+
803fb7
+# Exclude HANA lock file
803fb7
+x /tmp/.hdb*lock