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

scripts in /etc/entrypoint.d are not executed #74

Closed
paolino opened this issue Aug 4, 2021 · 2 comments
Closed

scripts in /etc/entrypoint.d are not executed #74

paolino opened this issue Aug 4, 2021 · 2 comments

Comments

@paolino
Copy link

paolino commented Aug 4, 2021

the executable test in

 if [[ -x ${f} ]]; then 
     echo ">> Running: ${f}" 
     ${f} 
 fi 

is not passing on files with 755 permissions set
this could be a bug in musl libc

changing to

 if [[ -f ${f} ]]; then 
     echo ">> Running: ${f}" 
     ${f} 
 fi 

is the workaround we adopted

@kamikat
Copy link

kamikat commented Nov 3, 2021

It seems as though Alpine 3.14 is pertinent to a known bug here.

https://unix.stackexchange.com/questions/671246/why-is-bash-not-evaluating-the-executable-bit-correctly-in-alpine-3-14-2

@macropin
Copy link
Member

Please reopen if this continues with the latest 3.18 builds.

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

No branches or pull requests

3 participants