-
Notifications
You must be signed in to change notification settings - Fork 98
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
su -c doesn't make the shell stay around #25
Comments
That's probably because If Busybox's |
@tianon sure, but that's a bit confusing. |
Unfortunately there seems to be no other user available out of the box in
|
It does work like this in postgress image, but it has a custom entrypoint so I'm not sure if it shows anything:
|
This one isn't my repo (just trying to help out) 😅 The |
I know. Thanks for doing gosu BTW!
It seems |
Dunno, possibly? I'm not sure exactly how |
Well apparently Debian su doesn't ignore the shell, which is
|
This is a problem in This should be followed up in busybox bug tracker: https://bugs.busybox.net/show_bug.cgi?id=9401 Meanwhile, you can workaround it in alpine by using
|
@ncopa This issue is about su-exec README. If you run the example from https://github.com/ncopa/su-exec#tty--parentchild-handling it will give you different results that what is shown there. I would just send you a PR updating the docs, but I can't find a suitable image for this. |
On my machine when I run the README example I get:
The text was updated successfully, but these errors were encountered: