cdebug: chroot can't execute 'sh': No such file or directory

Hey, have a crossplane provider-aws pod running and I’m trying to get into the darn thing. Unfortunately even using this program I still get

chroot can't execute 'sh': No such file or directory

The image comes from here: https://github.com/crossplane-contrib/provider-aws

The image seems to be from scratch, but I can’t really follow their build process. It’s quite complicated.

In this case I’ve ssh’d to the Node the pod is on and attempted to run your program, but with no luck. 😢

Thanks for this and your article btw. It’s all quite amazing! I feel like you’re my sprit animal. I’m often finding you’ve already trekked a similar path and blogged it when I’m attempting something.

About this issue

  • Original URL
  • State: open
  • Created 2 years ago
  • Comments: 17 (7 by maintainers)

Most upvoted comments

Hi Oleksii! Sorry for the late reply, busy times 🙈 I’m on vacation next week, so hopefully I’ll have more time to dig into it. Thanks for all your detailed reports!

Have you folks tried https://github.com/iximiuz/cdebug/releases/tag/v0.0.9? There were two fixes related to this problem.