RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 607507 - Reported file is deleted locally after reporting by report
Summary: Reported file is deleted locally after reporting by report
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: report
Version: 6.0
Hardware: All
OS: Linux
high
high
Target Milestone: rc
: ---
Assignee: Gavin Romig-Koch
QA Contact: David Kutálek
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-06-24 09:41 UTC by David Kutálek
Modified: 2010-11-10 21:29 UTC (History)
1 user (show)

Fixed In Version: report-0.17-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-11-10 21:29:40 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description David Kutálek 2010-06-24 09:41:32 UTC
Description of problem:

This is new behaviour in report-0.16-1.el6.
After reporting (sending) the file chosen, report deletes it locally.
1) it is not expected and preferred behaviour imho
2) This change/behaviour is not documented in changelog/man page.
Therefore, this is a buggy behaviour or documentation bug.

-----
[root@timothy plugins-basic]# echo 'This is a simple dummy report for testing purposes.' > ./dummy-report.txt
[root@timothy plugins-basic]# ls -l ./dummy-report.txt 
-rw-r--r--. 1 root root 52 Jun 24 11:32 ./dummy-report.txt
[root@timothy plugins-basic]# report ./dummy-report.txt 


Where do you want to send this report:
1: ftp
2: localsave
3: RHEL-bugzilla.redhat.com
4: scp
0: cancel
Choice (0-4): 2

directory to store report in: /tmp

local save Successful
The signature was successfully copied to:
/tmp/dummy-report.txt
[root@timothy plugins-basic]# ls -l ./dummy-report.txt 
ls: cannot access ./dummy-report.txt: No such file or directory

[root@timothy plugins-basic]# echo 'This is a simple dummy report for testing purposes.' > ./dummy-report.txt
[root@timothy plugins-basic]# ls -l ./dummy-report.txt 
-rw-r--r--. 1 root root 52 Jun 24 11:33 ./dummy-report.txt
[root@timothy plugins-basic]# report ./dummy-report.txt 


Where do you want to send this report:
1: ftp
2: localsave
3: RHEL-bugzilla.redhat.com
4: scp
0: cancel
Choice (0-4): 2

directory to store report in: /var/tmp 

local save Successful
The signature was successfully copied to:
/var/tmp/dummy-report.txt
[root@timothy plugins-basic]# ls -l ./dummy-report.txt 
ls: cannot access ./dummy-report.txt: No such file or directory
-----

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

report-0.16-1.el6

How reproducible:

Always with localsave, other plugins not tested yet.

Steps to Reproduce:
1. see shell log above
  
Actual results:

Local file is deleted.

Expected results:

Local file is not deleted (as used to be before) or this behaviour is documented. I would recommend not deleting reported file.

Additional info:

Comment 1 RHEL Program Management 2010-06-24 09:53:09 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux major release.  Product Management has requested further
review of this request by Red Hat Engineering, for potential inclusion in a Red
Hat Enterprise Linux Major release.  This request is not yet committed for
inclusion.

Comment 3 Gavin Romig-Koch 2010-06-25 02:51:06 UTC
fixed in fedora hosted src repo

Comment 6 releng-rhel@redhat.com 2010-11-10 21:29:40 UTC
Red Hat Enterprise Linux 6.0 is now available and should resolve
the problem described in this bug report. This report is therefore being closed
with a resolution of CURRENTRELEASE. You may reopen this bug report if the
solution does not work for you.


Note You need to log in before you can comment on or make changes to this bug.