Bug 700525

Summary: Beakerlib is dependent on /etc/redhat-release
Product: [Fedora] Fedora Reporter: Šimon Lukašík <slukasik>
Component: beakerlibAssignee: Petr Muller <pmuller>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 19CC: ohudlick, pmuller, psplicha
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:
: 922134 (view as bug list) Environment:
Last Closed: 2013-05-22 03:11:40 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 922134    

Description Šimon Lukašík 2011-04-28 15:25:20 UTC
Description of problem:


Version-Release number of selected component (if applicable):
beakerlib.git 49b330e3bfad5885f4eab1cea829cbd76f528a0d

How reproducible:
always

Steps to Reproduce:
1. install beakerlib on Debian GNU/Linux
2. . /usr/share/beakerlib/beakerlib.sh
3. rlJournalStart

  
Actual results:
Traceback (most recent call last):
  File "/usr/bin/beakerlib-journalling", line 462, in <module>
    initializeJournal(options.testid, options.test, options.package) 
  File "/usr/bin/beakerlib-journalling", line 222, in initializeJournal
    releaseCon  = newdoc.createTextNode(open("/etc/redhat-release",'r').read().strip())
IOError: [Errno 2] No such file or directory: '/etc/redhat-release'
rlJournalStart: Failed to initialize the journal. Bailing out...
logout


Expected results:
No traceback.

Additional info:
Could be work-arounded by touch /etc/redhat-release

Comment 1 Bug Zapper 2011-05-30 10:37:23 UTC
This message is a reminder that Fedora 13 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 13.  It is Fedora's policy to close all
bug reports from releases that are no longer maintained.  At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '13'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 13's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 13 is end of life.  If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora please change the 'version' of this 
bug to the applicable version.  If you are unable to change the version, 
please add a comment here and someone will do it for you.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 3 Fedora End Of Life 2013-04-03 20:30:14 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 4 Fedora Update System 2013-04-30 15:10:12 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 5 Fedora Update System 2013-04-30 20:03:51 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 6 Fedora Update System 2013-05-22 03:11:40 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.