Bug 1959979

Summary: [SAP AMI only] configure systemd-tmpfiles [rhel-8.4.z]
Product: Red Hat Enterprise Linux 8 Reporter: Irina Gulina <igulina>
Component: ec2-imagesAssignee: Bohdan Khomutskyi <bkhomuts>
Status: CLOSED CURRENTRELEASE QA Contact: Irina Gulina <igulina>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.4CC: lmiksik, lsedlar, pniahodk
Target Milestone: betaKeywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 2007156 2007157 (view as bug list) Environment:
Last Closed: 2021-05-26 08:23:35 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2007156, 2007157, 2074117    

Description Irina Gulina 2021-05-12 18:24:47 UTC
Description of problem:
Please add file /etc/tmpfiles.d/sap.conf

# systemd.tmpfiles exclude file for SAP
# SAP software stores some important files in /tmp which should not be deleted automatically
 
# Exclude SAP socket and lock files
x /tmp/.sap*
 
# Exclude HANA lock file
x /tmp/.hdb*lock

# Exclude TREX lock file
x /tmp/.trex*lock

Version-Release number of selected component (if applicable):
8.4 for SAP on AWS only

How reproducible:
always

Comment 2 Irina Gulina 2021-05-17 17:03:07 UTC
Verified for ami-03d0e318937f0e544

[ec2-user@ip-10-0-1-152 ~]$ cat /etc/tmpfiles.d/sap.conf
# systemd.tmpfiles exclude file for SAP
# SAP software stores some important files in /tmp which should not be deleted automatically

# Exclude SAP socket and lock files
x /tmp/.sap*

# Exclude HANA lock file
x /tmp/.hdb*lock

# Exclude TREX lock file
x /tmp/.trex*lock

Comment 3 CongLi 2021-05-26 06:13:14 UTC
Hi,

Since the issue described in this bug should be resolved (VERIFIED), could you please close this bug with resolution 'CURRENTRELEASE' if this bug got fixed ?

If the fix for this is not released yet, check if this will ever get fixed. In case of a negative answer then please change it as WONTFIX.

If there's anything else to be done on this BZ, if it's still active, not released yet and we actually intend to release it, then please ignore my message.

Please note: for those bugs which are not included in errata, please add 'TestOnly' keyword, and those bugs with 'TestOnly' keyword will be closed automatically after GA.
TestOnly: Use this when there is no code delivery involved, or for use when code is already upstream and will be incorporated automatically to the next release for testing purposes only.

Thank you.