Bug 879529 - beakerlib should not rely on /tmp
Summary: beakerlib should not rely on /tmp
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: beakerlib
Version: 19
Hardware: Unspecified
OS: Unspecified
high
urgent
Target Milestone: ---
Assignee: Petr Muller
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-11-23 08:53 UTC by Petr Muller
Modified: 2016-09-20 02:09 UTC (History)
6 users (show)

Fixed In Version: beakerlib-1.7-1.fc19
Doc Type: Bug Fix
Doc Text:
Clone Of: 872507
Environment:
Last Closed: 2013-05-22 03:20:21 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Petr Muller 2012-11-23 08:53:36 UTC
+++ This bug was initially created as a clone of Bug #872507 +++

Description of problem:

Beakerlib uses /tmp for various metadata. /tmp can be backed by tmpfs filesystem. Basically, it means that /tmp is cleared after reboot (ie. whenever a test is using rhts-reboot).

I suggest that /var/tmp should be used rather than /tmp.

How reproducible:
100%

Steps to Reproduce:

1. store something to /tmp/ in the test
2. reboot the machine via rhts-reboot in the test
  
Actual results:

Data in /tmp are lost.

--- Additional comment from Petr Muller on 2012-11-23 03:51:37 EST ---

The following series of commits should take care of this:

http://git.fedorahosted.org/cgit/beakerlib.git/commit/?id=fa3bac54fcd9f0bf0d9d8cfbb99132ed9aee4c4e
http://git.fedorahosted.org/cgit/beakerlib.git/commit/?id=d9aac9257fea3ea47bc6a4f5a239414c491a3741
http://git.fedorahosted.org/cgit/beakerlib.git/commit/?id=393283df3142727a7e57593fbe9759ba67fd9469
http://git.fedorahosted.org/cgit/beakerlib.git/commit/?id=a2260cd98bca104157779e9c3822831705e6548a

Comment 1 Fedora End Of Life 2013-04-03 20:32:29 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 19 development cycle.
Changing version to '19'.

(As we did not run this process for some time, it could affect also pre-Fedora 19 development
cycle bugs. We are very sorry. It will help us with cleanup during Fedora 19 End Of Life. Thank you.)

More information and reason for this action is here:
https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora19

Comment 2 Fedora Update System 2013-04-30 15:11:40 UTC
beakerlib-1.7-1.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/beakerlib-1.7-1.fc19

Comment 3 Fedora Update System 2013-04-30 20:05:15 UTC
Package beakerlib-1.7-1.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing beakerlib-1.7-1.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-7067/beakerlib-1.7-1.fc19
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2013-05-22 03:20:21 UTC
beakerlib-1.7-1.fc19 has been pushed to the Fedora 19 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.