3 Commits

Author SHA1 Message Date
2c25275523 stage1: remove --pid-file patches from systemd-nspawn
Instead of asking systemd-nspawn to write its "pid" file, rkt can write
the parent pid "ppid". Then, update getPID() to get the pid file from
/proc/$ppid/task/$ppid/children. In this way, we don't need to patch
systemd-nspawn.

getPID() is able to read both the "pid" file and the "ppid" file, in
order to work with alternative stage1s which choose to implement one or
the other method.

coreos/rkt#910
2015-06-03 12:58:09 +02:00
fec61a4161 scripts: debug: containers -> pods
Pods live in /var/lib/rkt/pods now.
2015-04-13 21:06:23 +02:00
8b1ad6c99f scripts: debug: add script to install busybox in stage1
Add a script to copy busybox into stage1 for debugging purposes. It
takes a container UUID and outputs the nsenter command needed to enter
stage1's namespaces.

When using overlay filesystem, a new mount namespace will be created for
stage1. This script enters this namespace to copy busybox.
2015-03-24 18:45:06 +01:00