Bug 1804801
Summary: | Regression: ksh shell invoked as login shell, 'which' command gives error: "-ksh: declare: not found" | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | mkenjale |
Component: | which | Assignee: | Than Ngo <than> |
Status: | CLOSED DUPLICATE | QA Contact: | David Jež <djez> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 8.1 | CC: | djez, fkrska, kdudka, prjagtap, rmetrich |
Target Milestone: | rc | ||
Target Release: | 8.0 | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-03-24 12:02:48 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: |
Description
mkenjale
2020-02-19 16:31:01 UTC
Thank you for tracking down the root cause! I think that the script should recognize both "-ksh" and "ksh" as ksh. However the script is not part of ksh, it is installed by which. % rpm -qf /etc/profile.d/which2.sh which-2.21-12.el8.x86_64 I am switching the component accordingly. *** This bug has been marked as a duplicate of bug 1768506 *** |