Bug 966545 - DeleteTaskAfter uses atime to determine when a task is deleted
Summary: DeleteTaskAfter uses atime to determine when a task is deleted
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: retrace-server
Version: el6
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: ---
Assignee: Michal Toman
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-05-23 13:02 UTC by Harshula Jayasuriya
Modified: 2015-03-23 00:41 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-08-09 10:18:04 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Harshula Jayasuriya 2013-05-23 13:02:27 UTC
Description of problem:

DeleteTaskAfter uses atime to determine when a task is deleted. Administrative scripts may access tasks for various reasons, thus updating the atime. Since retrace-server-interact updates the mtime of the task, could DeleteTaskAfter rely on mtime instead of atime?

Comment 1 Michal Toman 2013-05-27 13:39:01 UTC
Fixed in upstream

commit 6976d3847b6d934b25bb05e500830fdbdd2c4d17
Author: Michal Toman <mtoman>
Date:   Mon May 27 15:37:05 2013 +0200

    use mtime instead of atime in RetraceTask.get_age()


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