Skip to content

The use of self-suspension #184

@vanrein

Description

@vanrein

Nice little utitility, and useful, thanks!

The lines
https://github.com/Yelp/dumb-init/blob/master/dumb-init.c#L120-L122
cause behaviour that seems problematic, yet they are hard-wired. I wonder why?

If I start a program on the terminal, using docker run <img>, it may block the terminal. Then, if I press ^C it breaks out of that. However, if I first enter ^Z I will have suspended dumb-init and cannot use ^C anymore. That is not very useful, and maybe should be opted out from?

It would have made sense if we could send ^Z to the Docker command, which would send it inward and then pause the container, but it doesn't.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions