anitazha / rpms / systemd

Forked from rpms/systemd 3 years ago
Clone

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

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