Bug 692688 - ABRT2: timestamps not preserved after ccpp-* directory is moved to $HOME/.abrt/spool/
Summary: ABRT2: timestamps not preserved after ccpp-* directory is moved to $HOME/.abr...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: abrt
Version: 15
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Denys Vlasenko
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-31 20:34 UTC by Steve Tyler
Modified: 2011-04-26 16:21 UTC (History)
7 users (show)

Fixed In Version: abrt-2.0.1-2.fc15
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-04-26 16:21:19 UTC
Type: ---


Attachments (Terms of Use)

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.


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