Project

General

Profile

Actions

Bug #14605

closed

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

Added by Lukas Zapletal about 8 years ago. Updated almost 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 #1

Updated by The Foreman Bot about 8 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello-packaging/pull/202 added
Actions #2

Updated by Lukas Zapletal about 8 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #3

Updated by Eric Helms about 8 years ago

  • translation missing: en.field_release set to 86
Actions

Also available in: Atom PDF