| Summary: | rlIsRHEL does not recognize RHEL4-U8-Desktop as a RHEL system | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Jan Hutař <jhutar> |
| Component: | beakerlib | Assignee: | Petr Muller <pmuller> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | low | Docs Contact: | |
| Priority: | medium | ||
| Version: | 18 | CC: | ohudlick, pmuller, psplicha |
| Target Milestone: | --- | Keywords: | Reopened |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-04-09 16:25:36 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: | 545868 | ||
This message is a notice that Fedora 14 is now at end of life. Fedora has stopped maintaining and issuing updates for Fedora 14. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At this time, all open bugs with a Fedora 'version' of '14' have been closed as WONTFIX. (Please note: Our normal process is to give advanced warning of this occurring, but we forgot to do that. A thousand apologies.) Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, feel free to reopen this bug and simply change the 'version' to a later Fedora version. Bug Reporter: Thank you for reporting this issue and we are sorry that we were unable to fix it before Fedora 14 reached 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, you are encouraged to click on "Clone This Bug" (top right of this page) and open it against that version of Fedora. 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 This seems to be fixed by commit f20344d3c749e31c6be81c5657cd71ab90b13e64, included in all distribution channels. |
Description of problem: rlIsRHEL do not recognizes RHEL4-U8-Desktop as a RHEL Version-Release number of selected component (if applicable): beakerlib-1.3-5.el4 How reproducible: always Steps to Reproduce: 1. # . /usr/bin/rhts-environment.sh 2. # . /usr/lib/beakerlib/beakerlib.sh 3. # rlJournalStart; rlPhaseStartSetup 4. # rlIsRHEL 5. # echo $? 1 6. # rlIsRHEL 4 7. # echo $? 1 Actual results: It is not recognized Expected results: It should be recognized as RHEL and also as RHEL4 Additional info: # type rlIsRHEL rlIsRHEL is a function rlIsRHEL () { __INTERNAL_rlIsDistro "Red Hat Enterprise Linux" $@ } # type __INTERNAL_rlIsDistro __INTERNAL_rlIsDistro is a function __INTERNAL_rlIsDistro () { local distro="$(lsb_release -ds)"; local whole="$(lsb_release -rs)"; local major="$(lsb_release -rs | cut -d '.' -f 1)"; echo $distro | grep -q "$1" || return 1; shift; [ -z "$1" ] && return 0; for arg in $@; do if [ "$arg" == "$whole" ] || [ "$arg" == "$major" ]; then return 0; fi; done; return 1 } # lsb_release -ds "Red Hat Desktop release 4 (Nahant Update 8)"