Bug Fix Advisory ksh bug fix and enhancement update

Advisory: RHBA-2011:0226-1
Type: Bug Fix Advisory
Severity: N/A
Issued on: 2011-02-16
Last updated on: 2011-02-16
Affected Products: Red Hat Enterprise Linux Extras (v. 4)


An updated ksh package that fixes various bugs and adds enhancements is now
available for Red Hat Enterprise Linux 4.

KSH-93 is the most recent version of the KornShell by David Korn of AT&T Bell
Laboratories, a shell programming language upwards-compatible with "sh" (the
Bourne Shell).

This updated package upgrades ksh to the more recent 2010-06-21 upstream version
(release ksh93t+), which adds multiple enhancements and fixes various bugs,
including the following:

* Running ksh scripts for a long time on an overloaded system resulted in a race
condition caused by an inner linear job list getting looped. This resulted in
ksh utilizing 100% of the CPU capacity. With this update, some operations on the
job list were reordered to prevent this race condition from occurring, allowing
ksh scripts to be run normally on the system. (BZ#455316)

* Previously, if the variable name contained certain characters such as a hyphen
or a space, ksh removed the variable from the environment. This error has been
fixed, and although ksh still does not use environment variables with names that
contain these characters, it keeps them available for sub-processes. (BZ#464156)

* Due to incorrect signal handling, receiving a signal while still processing
the same one caused ksh to terminate unexpectedly. With this update, the
subsequent signals are now deferred until the current one is processed, and ksh
no longer crashes. (BZ#628853)

All users of ksh are advised to upgrade to this updated package, which resolves
these and other issues, and adds various enhancements.


Before applying this update, make sure that all previously-released errata
relevant to your system have been applied.

This update is available via Red Hat Network. Details on how to use the Red
Hat Network to apply this update are available at

Updated packages

Red Hat Enterprise Linux Extras (v. 4)

ksh-20100621-2.el4.src.rpm     MD5: 19712b56cb7f98eca605e20eb0e0f06d
SHA-256: 7e947e95693933f6351efc8f345bde228f59bcd5aa9fbeeb04a2097635e1bfd2
ksh-20100621-2.el4.i386.rpm     MD5: 2abf2b193b5dcf045dae54cd6086c370
SHA-256: cfd08447436be02a012d761cbd3593abbbe746b50da4495bb824115034c66119
ksh-20100621-2.el4.ia64.rpm     MD5: 3d7b3b97057c5c163ef22ba1f1bcd018
SHA-256: c5e865aa36a1c5ce836f5699a1441debe0a3346b686257c8c9c657a015685ad6
ksh-20100621-2.el4.ppc.rpm     MD5: 5e43d46052765989ed757647d8f571b2
SHA-256: c372b48984fdd7ce159bb76eded1e2e52e704246a7fa4f15746b58b230f1df13
ksh-20100621-2.el4.s390.rpm     MD5: 9e9372f14215d638fedc2b0129a94cb2
SHA-256: c0940191756ea3579e4d93628aaac31793833af801d6c3f80d5bad9db8e601ed
ksh-20100621-2.el4.s390x.rpm     MD5: 579e3a22149adca5f596625ff5670d97
SHA-256: 3244288b22e1c4fa703b34d214fd8086fca667ce17385418b69b0f19d95c57ba
ksh-20100621-2.el4.x86_64.rpm     MD5: aaf3929af4897fd7411ebeb9be1ccbca
SHA-256: 06ee405c15c6e3119da7f4ccfaeb8bdbb21fe74e76d8972502b2f8f7cb382524
(The unlinked packages above are only available from the Red Hat Network)

Bugs fixed (see bugzilla for more information)

464156 - ksh does not declare shell variables with hyphen
519669 - debuginfo package is empty
538754 - Rebase request



These packages are GPG signed by Red Hat for security. Our key and details on how to verify the signature are available from:

The Red Hat security contact is secalert@redhat.com. More contact details at http://www.redhat.com/security/team/contact/