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

Latest manylinux_2_28-x64 image missing sudo #746

Closed
tbirdso opened this issue Nov 30, 2022 · 0 comments · Fixed by #747
Closed

Latest manylinux_2_28-x64 image missing sudo #746

tbirdso opened this issue Nov 30, 2022 · 0 comments · Fixed by #747

Comments

@tbirdso
Copy link

tbirdso commented Nov 30, 2022

Summary

sudo fails on the latest manylinux_2_28-x64 image.

Cross-post from InsightSoftwareConsortium/ITKPythonPackage#235

Version

dockcross/manylinux_2_28-x64:20221128-2024e4b

Observed behavior

>> which sudo
/opt/rh/gcc-toolset-12/root/usr/bin/sudo
>> sudo echo "sudo works"
/opt/rh/gcc-toolset-12/root/usr/bin/sudo: line 41: /usr/bin/sudo: No such file or directory

Expected behavior

From previous container tag 20221108-102ebcc:

>> which sudo
/usr/local/bin/sudo
>> sudo echo "sudo works"
sudo works

Additional information:

Output from the 20221128-2024e4b image:

>> ls /usr/bin | grep sudo
# no output
>> ls /usr/local/bin | grep sudo
sudo
>> /usr/local/bin/sudo echo "sudo works"
sudo works

/opt/rh/gcc-toolset-12/root/usr/bin/sudo: line 41 points to /usr/bin/sudo which does not seem to exist:

exec /usr/bin/sudo $sudo_options env LD_LIBRARY_PATH=$LD_LIBRARY_PATH PATH=$PATH scl enable gcc-toolset-12 "$cmd_options"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant