You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
987 B

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