Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/bin/sh shells cannot read /etc/profile.d/path.sh #5760

Open
stephenmsachs opened this issue Oct 17, 2023 · 1 comment · May be fixed by aws/aws-parallelcluster-cookbook#2499
Open

/bin/sh shells cannot read /etc/profile.d/path.sh #5760

stephenmsachs opened this issue Oct 17, 2023 · 1 comment · May be fixed by aws/aws-parallelcluster-cookbook#2499
Labels

Comments

@stephenmsachs
Copy link
Contributor

  • Description:
    A script with header #/bin/sh -l or a user logging in with this shell will have a broken environment on ubuntu (22.04) as /bin/sh is a symlink to dash and dash cannot read the bash syntax in /etc/profile.d/path.sh

  • Affected versions
    PC-version: 3.*

stephenmsachs added a commit to stephenmsachs/aws-parallelcluster-cookbook that referenced this issue Oct 17, 2023
Or at least add support for `/bin/sh -> dash` on ubuntu as well. This fixes
aws/aws-parallelcluster#5760.
@chenwany
Copy link
Contributor

Thank you for reporting this!
I've create task to track this internally. We will assign someone to work on reviewing the PR and testing the changes

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants