Blame SOURCES/0255-tmpfiles.d-don-t-clean-SAP-lockfiles-and-logs.patch

17b0f1
From 8d450bb995ed0b24a716a3e43d1301f18a1be800 Mon Sep 17 00:00:00 2001
17b0f1
From: Lukas Nykryn <lnykryn@redhat.com>
17b0f1
Date: Tue, 6 Oct 2015 12:33:15 +0200
17b0f1
Subject: [PATCH] tmpfiles.d: don't clean SAP lockfiles and logs
17b0f1
17b0f1
rhel-only
17b0f1
17b0f1
Resolves: #1186044
17b0f1
---
17b0f1
 Makefile.am         | 3 ++-
17b0f1
 tmpfiles.d/sap.conf | 3 +++
17b0f1
 2 files changed, 5 insertions(+), 1 deletion(-)
17b0f1
 create mode 100644 tmpfiles.d/sap.conf
17b0f1
17b0f1
diff --git a/Makefile.am b/Makefile.am
17b0f1
index 0fcb737509..887e70a95f 100644
17b0f1
--- a/Makefile.am
17b0f1
+++ b/Makefile.am
17b0f1
@@ -2220,7 +2220,8 @@ dist_tmpfiles_DATA = \
17b0f1
 	tmpfiles.d/systemd-nologin.conf \
17b0f1
 	tmpfiles.d/tmp.conf \
17b0f1
 	tmpfiles.d/x11.conf \
17b0f1
-	tmpfiles.d/var.conf
17b0f1
+	tmpfiles.d/var.conf \
17b0f1
+	tmpfiles.d/sap.conf
17b0f1
 
17b0f1
 if HAVE_SYSV_COMPAT
17b0f1
 dist_tmpfiles_DATA += \
17b0f1
diff --git a/tmpfiles.d/sap.conf b/tmpfiles.d/sap.conf
17b0f1
new file mode 100644
17b0f1
index 0000000000..01ace42c43
17b0f1
--- /dev/null
17b0f1
+++ b/tmpfiles.d/sap.conf
17b0f1
@@ -0,0 +1,3 @@
17b0f1
+# Let's not touch SAP files
17b0f1
+x /tmp/.hdb_*_lock
17b0f1
+x /tmp/.sapstartsrv*.log