gvisor/runsc
Nicolas Lacasse 3f05325956 Never send boot process stdio to application stdio.
We treat handle the boot process stdio separately from the application stdio
(which gets passed via flags), but we were still sending both to same place. As
a result, some logs that are written directly to os.Stderr by the boot process
were ending up in the application logs.

This CL starts sendind boot process stdio to the null device (since we don't
have any better options). The boot process is already configured to send all
logs (and panics) to the log file, so we won't miss anything important.

PiperOrigin-RevId: 217173020
Change-Id: I5ab980da037f34620e7861a3736ba09c18d73794
2018-10-15 11:08:49 -07:00
..
boot Fix reference leak in tests. 2018-10-11 16:23:54 -07:00
cgroup Sandbox cgroup tests 2018-10-11 11:58:15 -07:00
cmd Added spec command to create OCI spec config.json 2018-10-12 12:59:49 -07:00
console runsc: Pass root container's stdio via FD. 2018-10-03 10:32:03 -07:00
container Make the gofer process enter namespaces 2018-10-11 17:45:51 -07:00
fsgofer Run gofmt -s on everything 2018-09-21 14:06:59 -07:00
sandbox Never send boot process stdio to application stdio. 2018-10-15 11:08:49 -07:00
specutils Make debug log file name configurable 2018-10-11 14:29:37 -07:00
test Make debug log file name configurable 2018-10-11 14:29:37 -07:00
tools/dockercfg Add tool to configure runtime settings in docker 2018-06-20 13:01:16 -07:00
BUILD runsc: Pass log and config files to sandbox process by FD. 2018-09-04 20:10:01 -07:00
main.go Added spec command to create OCI spec config.json 2018-10-12 12:59:49 -07:00