Open eromanova opened 5 years ago
Looks like this is because of broken permissions/ownership on file:
root@ldap:/#
ls -la /container/service/:runit/
ls: cannot access '/container/service/:runit/download.sh': No such file or directory
total 12
drwxrwxr-x 2 root root 4096 Sep 4 2018 .
drwxr-xr-x 1 root root 4096 Jul 11 13:51 ..
c????????? ? ? ? ? ? download.sh`
Defected image built?
Description I'm using kubernetes to deploy phpLDAPadmin. If I set --copy-service argument in phpLDAPadmin deployment, pod fails with
No such file or directory: '/container/service/:runit/download.sh'")]
error. Steps to reproduce Create deployment.yaml file with configuration below and runkubectl create -f deployment.yaml
Expected result PhpLDAPadmin pod status is RUNNING.
Actual result Pod fails with CrashLoopBackOff status.
Logs
Workaround If I deploy without args, no error occurs. Another workaround is to set command inside spec.container:
Without such argument I may have some problems with mounted files on some systems (as written in README.md). How can I avoid this problem?