Bug 879529

Summary: beakerlib should not rely on /tmp
Product: [Fedora] Fedora Reporter: Petr Muller <pmuller>
Component: beakerlibAssignee: Petr Muller <pmuller>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: high    
Version: 19CC: azelinka, ohudlick, omoris, pmuller, psplicha, qa-errata-list
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: beakerlib-1.7-1.fc19 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 872507 Environment:
Last Closed: 2013-05-22 03:20: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 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.