Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 1056247

Summary: Purge Trash & Temporary Files - Auto purge temps
Product: Red Hat Enterprise Linux 7 Reporter: Martin <mholec>
Component: control-centerAssignee: Bastien Nocera <bnocera>
Status: CLOSED CURRENTRELEASE QA Contact: Desktop QE <desktop-qa-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.0CC: aday, bnocera, mclasen, tpelka
Target Milestone: rcKeywords: EasyFix, Reopened
Target Release: 7.0   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-13 11:26:21 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Martin 2014-01-21 18:54:00 UTC
Version-Release number of selected component (if applicable):
RHEL-7.0-20140109.n.0

Steps to Reproduce: 
In Settings go to the Privacy panel
Execute this command: $ ls /tmp > temp_before


1.    Click Purge Trash & Temporary Files
2.    Enable: "Automatically Purge Temporary Files".
3.    In "Purge After" select: "Immediately".


Actual results: 
Exactly same files are kept in /tmp. Even after reboot. I have to click on "Purge Temporary Files" to trigger operation.

Expected results:
Execute command: $ ls /tmp > temp_after

and compare the two files temp_before and temp_after. In temp_after should be less files than in the temp_before - some files should be purged.

Note: It's not expected to have the /tmp directory empty.

Comment 1 Bastien Nocera 2014-01-27 09:19:31 UTC
The purge runs about once an hour.

It's clearly immediate compared to the *days* of wait in the other options, but it's not instant and continuous. It's working as designed.

Comment 2 Martin 2014-01-27 16:54:27 UTC
(In reply to Bastien Nocera from comment #1)
> The purge runs about once an hour.
Ok, please change "immediately" string to "1 hour" to reflect real behavior. We don't want to confuse users.

Comment 3 Allan Day 2014-01-28 17:21:36 UTC
(In reply to Martin Holec from comment #2)
> (In reply to Bastien Nocera from comment #1)
> > The purge runs about once an hour.
> Ok, please change "immediately" string to "1 hour" to reflect real behavior.
> We don't want to confuse users.

Makes sense to me.

Comment 4 Martin 2014-02-24 14:20:04 UTC
This is trivial string change. Bastien, could you simply commit string change from "immediately" to "1 hour"? I see ack above from Allan.

Comment 5 Matthias Clasen 2014-02-25 15:14:48 UTC
We're not going to have translations for that new string

Comment 6 Bastien Nocera 2014-02-27 13:56:44 UTC
(In reply to Matthias Clasen from comment #5)
> We're not going to have translations for that new string

The string "1 hour" is already translated for other combo boxes in the same panel, so we're good.

Comment 11 Ludek Smid 2014-06-13 11:26:21 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.