Bug 1554364
| Summary: | /etc/init.d/functions uses non-posix syntax - in recent update | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | David Kaferad // Dee'Kej <deekej> |
| Component: | initscripts | Assignee: | David Kaferad // Dee'Kej <deekej> |
| Status: | CLOSED ERRATA | QA Contact: | Daniel Rusek <drusek> |
| Severity: | urgent | Docs Contact: | Lenka Špačková <lkuprova> |
| Priority: | urgent | ||
| Version: | 7.6 | CC: | bbreard, ccheney, deekej, drusek, fkrska, fsumsal, initscripts-maint-list, kdudka, mkolaja, msekleta, qe-baseos-daemons, svashisht, thozza |
| Target Milestone: | rc | Keywords: | EasyFix, Patch, Reproducer |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Fixed In Version: | initscripts-9.49.42-1.el7 | Doc Type: | Release Note |
| Doc Text: |
*KSH* no longer fails to process `/etc/init.d/functions`
The Korn Shell (KSH) is unable to process code where the word `local` appears on the same line as an array definition. This previously caused *KSH* to fail to source the `/etc/init.d/functions` file. This update provides a workaround to the *KSH* limitation, and the function file is now being sourced as expected.
Note that *KSH* may still be unable use some of the functions in `/etc/init.d/functions` file. This update only allows KSH to not fail during the sourcing of `/etc/init.d/functions`.
|
Story Points: | --- |
| Clone Of: | 1518429 | Environment: | |
| Last Closed: | 2018-10-30 10:15:57 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: | |||
| Bug Depends On: | 1518429 | ||
| Bug Blocks: | 1549617, 1549689, 1551061 | ||
|
Description
David Kaferad // Dee'Kej
2018-03-12 14:07:17 UTC
Pull-request has been accepted: https://github.com/fedora-sysv/initscripts/pull/164 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://access.redhat.com/errata/RHBA-2018:3131 |