Bug 2091000

Summary: The scl enable command creates temporary files in /var/tmp/ directory.
Product: Red Hat Enterprise Linux 8 Reporter: Chandan Chouhan <cchouhan>
Component: scl-utilsAssignee: Packaging Maintenance Team <packaging-team-maint>
Status: CLOSED ERRATA QA Contact: Lukáš Zachar <lzachar>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 8.7CC: ffesti, lzachar, sujagtap
Target Milestone: rcKeywords: AutoVerified, Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: scl-utils-2.0.2-16.el8 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-05-16 08:38: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:

Description Chandan Chouhan 2022-05-27 09:43:38 UTC
Description of problem:
The scl enable command creates temporary files in /var/tmp/ directory.

Version-Release number of selected component (if applicable):
gcc-toolset-10-10.1-0.el8.x86_64


How reproducible:
1. Install "gcc-toolset-10"
$ yum install gcc-toolset-10
$ scl enable gcc-toolset-10 bash
$ ls -lt /var/tmp/ | head -n 2
total 8
-rw-------. 1 root root 132 May 27 15:09 sclmEj0Do


Steps to Reproduce:
1. Install "gcc-toolset-10"
$ yum install gcc-toolset-10

2. Enable it.
$ scl enable gcc-toolset-10 bash

It creates temporary files in /var/tmp/ directory.
$ ls -lt /var/tmp/ | head -n 2
total 8
-rw-------. 1 root root 132 May 27 15:09 sclmEj0Do



Actual results:
The scl enable command creates temporary files in /var/tmp/ directory.
$ ls -lt /var/tmp/ | head -n 2
total 8
-rw-------. 1 root root 132 May 27 15:09 sclmEj0Do


Expected results:
Those temporary files should be removed once command being executed finishes.

Comment 15 errata-xmlrpc 2023-05-16 08:38: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 (scl-utils 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-2023:2847