Project

General

Profile

Actions

Bug #14605

closed

foreman-debug leaves extra task-export tarball+log in /tmp

Added by Lukas Zapletal almost 9 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Description of problem:
Running foreman-debug, it generates an auxiliary files like:

tasks_export.log
task-export-1460205370.tar.gz

under /tmp. These files are copied into the generated foreman-debug tarball, but never cleaned up.

Please remove the files during some cleanup, or move them instead of copying them.

(this was found in 6.2beta but confirmed in older releases as well)

Version-Release number of selected component (if applicable):
foreman-debug-1.11.0.11-1.el7sat.noarch

How reproducible:
100%

Steps to Reproduce:
1. for i in $(seq 1 10); do foreman-debug; done
2. ls /tmp/task*

(optionally run sosreport that calls f-d that leaves the files the same way)

Actual results:
2. prints one task-export logfile and 10 task-export tarballs

Expected results:
2. prints nothing (relevant to task export)

Actions

Also available in: Atom PDF