Bug 1817439

Summary: Make "secure" temp files (by not saving them in /tmp)
Product: Red Hat Enterprise Linux 8 Reporter: Oyvind Albrigtsen <oalbrigt>
Component: resource-agents-sapAssignee: Oyvind Albrigtsen <oalbrigt>
Status: CLOSED ERRATA QA Contact: Martin Juricek <mjuricek>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.2CC: agk, cfeist, cluster-maint, cluster-qe, fdanapfe, fdinitto, mjuricek, oalbrigt, phagara
Target Milestone: rc   
Target Release: 8.3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: resource-agents-sap-4.1.1-30.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1817432 Environment:
Last Closed: 2020-11-04 02:20:07 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: 1817432    
Bug Blocks:    

Description Oyvind Albrigtsen 2020-03-26 11:03:35 UTC
+++ This bug was initially created as a clone of Bug #1817432 +++

Description of problem:
To avoid tmp race conditions, and possibly users or other software changing tmp files in /tmp this patch creates the patches in /run/resource-agents (defined by $HA_RSCTMP during ./configure).

Version-Release number of selected component (if applicable):


How reproducible:
100%

Steps to Reproduce:
1. Setup SAP agents without Host Agent
2. Check that it's using /run/resource-agents location instead of /tmp for temp files
3.

Actual results:


Expected results:


Additional info:
https://github.com/ClusterLabs/resource-agents/pull/1467

Comment 10 errata-xmlrpc 2020-11-04 02:20:07 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (resource-agents-sap bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2020:4607