Bug 692688

Summary: ABRT2: timestamps not preserved after ccpp-* directory is moved to $HOME/.abrt/spool/
Product: [Fedora] Fedora Reporter: Steve Tyler <stephent98>
Component: abrtAssignee: Denys Vlasenko <dvlasenk>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 15CC: anton, dvlasenk, iprikryl, jmoskovc, kklic, mtoman, npajkovs
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: abrt-2.0.1-2.fc15 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-04-26 16:21:19 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Steve Tyler 2011-03-31 20:34:31 UTC
Description of problem:
After abrt moves the directory and files from /var/spool/abrt/ccpp-*/ to the user's home directory, they have the current time, not the time they had when in /var/spool/abrt/.

[joeblow@fir ccpp-2011-03-29-13:47:38-2362]$ pwd
/home/joeblow/.abrt/spool/ccpp-2011-03-29-13:47:38-2362
[joeblow@fir ccpp-2011-03-29-13:47:38-2362]$ ls -alF
total 10856
drwxr-x---. 2 joeblow joeblow     4096 Mar 31 13:15 ./
drwxr-xr-x. 4 joeblow joeblow     4096 Mar 31 13:14 ../
-rw-r-----. 1 joeblow joeblow        4 Mar 31 13:14 analyzer
-rw-r-----. 1 joeblow joeblow        6 Mar 31 13:14 architecture
-rw-r-----. 1 joeblow joeblow       17 Mar 31 13:14 cmdline
-rw-r-----. 1 joeblow joeblow       11 Mar 31 13:14 component
-rw-r-----. 1 joeblow joeblow 62210048 Mar 31 13:14 coredump
-rw-r-----. 1 joeblow joeblow        1 Mar 31 13:14 count
-rw-r-----. 1 joeblow joeblow    22996 Mar 31 13:14 dsos
-rw-r-----. 1 joeblow joeblow    20404 Mar 31 13:15 event_log
-rw-r-----. 1 joeblow joeblow       26 Mar 31 13:14 executable
-rw-r-----. 1 joeblow joeblow        3 Mar 31 13:14 hostname
-rw-r-----. 1 joeblow joeblow       22 Mar 31 13:14 kernel
-rw-r-----. 1 joeblow joeblow    32158 Mar 31 13:14 maps
-rw-r-----. 1 joeblow joeblow       28 Mar 31 13:14 os_release
-rw-r-----. 1 joeblow joeblow       26 Mar 31 13:14 package
-rw-r-----. 1 joeblow joeblow       68 Mar 31 13:14 reason
-rw-r-----. 1 joeblow joeblow   148638 Mar 31 13:14 smaps
-rw-r-----. 1 joeblow joeblow       10 Mar 31 13:14 time
-rw-r-----. 1 joeblow joeblow        3 Mar 31 13:14 uid
-rw-r-----. 1 joeblow joeblow        8 Mar 31 13:14 username
-rw-r-----. 1 joeblow joeblow       40 Mar 31 13:14 uuid

Version-Release number of selected component (if applicable):
abrt-2.0.0-3.fc15.x86_64

How reproducible:
Twice.

Steps to Reproduce:
1. Choose to report a crash to bugzilla.
2. When prompted, click OK to move directory:
   "Need writable directory, 
    but '/var/spool/abrt/ccpp-2011-03-29-14:45:55-23694' is not writable. 
    Move it to '/home/joeblow/.abrt/spool' and operate on the moved copy?"
3.
  
Actual results:
Directory and files have current time.

Expected results:
Directory and files have the same time that they had in /var/spool/abrt.

Additional info:

Comment 1 Denys Vlasenko 2011-04-04 19:36:31 UTC
Fixed in git. Thanks for the report!

Comment 2 Steve Tyler 2011-04-04 21:09:42 UTC
(In reply to comment #1)
> Fixed in git. Thanks for the report!

Thanks, Denys.
https://fedorahosted.org/abrt/changeset/98445ec1f011601cfe650ef9a36bdada6cb058cb

Comment 3 Fedora Update System 2011-04-20 13:39:51 UTC
abrt-2.0.1-1.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/abrt-2.0.1-1.fc15

Comment 4 Fedora Update System 2011-04-21 03:06:35 UTC
Package abrt-2.0.1-1.fc15:
* should fix your issue,
* was pushed to the Fedora 15 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing abrt-2.0.1-1.fc15'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/abrt-2.0.1-1.fc15
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2011-04-21 16:46:35 UTC
abrt-2.0.1-2.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/abrt-2.0.1-2.fc15

Comment 6 Fedora Update System 2011-04-26 16:13:52 UTC
abrt-2.0.1-2.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.