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 1203680 - [Regression] s390.sh - incorrect syntax of equation
Summary: [Regression] s390.sh - incorrect syntax of equation
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: s390utils
Version: 6.7
Hardware: s390x
OS: Unspecified
medium
medium
Target Milestone: rc
: 6.7
Assignee: Dan Horák
QA Contact: Frantisek Sumsal
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-03-19 12:36 UTC by Frantisek Sumsal
Modified: 2015-07-22 06:49 UTC (History)
5 users (show)

Fixed In Version: s390utils-1.8.2-57.el6
Doc Type: Bug Fix
Doc Text:
Previously, the Bash syntax for comparison was used by the s390.script, which could lead to errors when a different shell was used. With this update, the correct syntax for value comparison is used, and the s390.sh file is processed correctly by all shells.
Clone Of:
Environment:
Last Closed: 2015-07-22 06:49:21 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:1341 0 normal SHIPPED_LIVE s390utils bug fix and enhancement update 2015-07-20 17:52:53 UTC

Description Frantisek Sumsal 2015-03-19 12:36:49 UTC
Possible regression of BZ#851096.

This bug has been fixed in s390utils-1.8.1-18.el5. Nevertheless, it appears in RHEL 6 builds and disappears again in RHEL 7 builds.

RHEL 5 - s390utils-1.8.1-18.el5.s390x (PASS)
--------------------------------------------
# cat /etc/profile.d/s390.sh 
# /etc/profile.d/s390.sh - set TERM variable

contype=`/sbin/consoletype stdout`
if [ "$contype" = "serial" ]; then
    export TERM=dumb
fi

# zsh /etc/profile.d/s390.sh


RHEL 6.7 - s390utils-1.8.2-56.el6.s390x (FAIL)
----------------------------------------------
# cat /etc/profile.d/s390.sh 
# /etc/profile.d/s390.sh - set TERM variable

contype=`/sbin/consoletype stdout`
if [ "$contype" == "serial" ]; then
    export TERM=dumb
fi

# zsh /etc/profile.d/s390.sh 
/etc/profile.d/s390.sh:4: = not found


RHEL 7.1 - s390utils-1.23.0-17.el7.s390x (PASS)
-----------------------------------------------
# cat /etc/profile.d/s390.sh 
# /etc/profile.d/s390.sh - set TERM variable

contype=`/sbin/consoletype stdout`
if [ "$contype" = "serial" ]; then
    export TERM=dumb
fi

# zsh /etc/profile.d/s390.sh

Comment 7 errata-xmlrpc 2015-07-22 06:49:21 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-1341.html


Note You need to log in before you can comment on or make changes to this bug.