Bug 91604
Summary: | pdksh does not process .profile correctly | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Rob Hughes <rob> |
Component: | pdksh | Assignee: | Karsten Hopp <karsten> |
Status: | CLOSED WORKSFORME | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 9 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2004-07-05 10:16:31 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Rob Hughes
2003-05-25 18:16:07 UTC
pdksh isn't compiled with posix_compliant mode enabled. Does it help when you enable posix mode with 'set -o posix' or by exporting the variable POSIXLY_CORRECT before pdksh is started ? The user has pdksh as their login shell. Neither exporting POSIXLY_COORECT or doing set -o posix before running startx corrects the problem. In the terminal session, if I choose Edit/Current Profile/Title and Command tab then enable "Run command as a login shell" the login script appears to be processed. That must be a gnome thing, because it doesn't appear as an option in kshell. Even if it did, it would not explain why when opening my vars aren't set. Setting several vars, doing a set -o vi, and setting a number of aliases each time I open a shell is... annoying, to say the least. Basically, I'd just like to see ksh on linux work the same way it does on every other *nix I use. This works for me, although I'm not using gdm to log in. Feel free to reopen the report if the problem still exists with current Fedora Core version, but make sure to change the component to gdm as this isn't a pdksh bug. pdksh parses /etc/profile and ~/.profile just fine when you log in on a text console or with xdm. |