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

Sekexe never terminates #2

Open
d11wtq opened this issue Jun 28, 2014 · 4 comments
Open

Sekexe never terminates #2

d11wtq opened this issue Jun 28, 2014 · 4 comments

Comments

@d11wtq
Copy link

d11wtq commented Jun 28, 2014

I'm loosely doing this:

sudo ./run $(pwd)/script.sh

Where script.sh does:

kill_docker() {
  [[ -f /var/run/docker.pid ]] && kill $(cat /var/run/docker.pid)
}
trap kill_docker EXIT
docker -d -p /var/run/docker.pid &

# runs my tests
behave

When I run this, my script finishes and I get the success output I expect, but sekexe never exits. Any clues?

Actual script here: https:/d11wtq/dockerpty/blob/master/.travis.yml

@d11wtq
Copy link
Author

d11wtq commented Jun 28, 2014

I'm seeing the same behaviour if I just replace the entire contents of the bash script it's running with echo blah. I see the 'blah', then nothing happens beyond sekexe running, as if sekexe is hung.

@thedrow
Copy link

thedrow commented Jul 30, 2014

did you try exit $??

@d11wtq
Copy link
Author

d11wtq commented Jul 30, 2014

Yes. The kernel continues to run (but crashes). Linux doesn't like the init process to just exit. You need to use halt to shut the kernel down cleanly.

@jpetazzo
Copy link
Owner

Do you still have that problem?

  • If not, how did you solve it?
  • If yes, you can you post some minimal files to reproduce it?

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