From c771f76eaeaa5a8613f81be65bea91964702df07 Mon Sep 17 00:00:00 2001 From: "James O. D. Hunt" Date: Tue, 19 Mar 2019 11:17:55 +0000 Subject: [PATCH] docs: Unbreak debug console instructions The debug console systemd job needs to specify `PrivateDevices=no` to ensure the job can access the *real* console. Without this, connecting to the socket does not provide access to the main guest root context. Fixes #403. Signed-off-by: James O. D. Hunt --- Developer-Guide.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Developer-Guide.md b/Developer-Guide.md index 80467c8d3b..e3e40eda90 100644 --- a/Developer-Guide.md +++ b/Developer-Guide.md @@ -646,7 +646,8 @@ Description=Kata Containers debug console Environment=PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin StandardInput=tty StandardOutput=tty -PrivateDevices=yes +# Must be disabled to allow the job to access the real console +PrivateDevices=no Type=simple ExecStart=/usr/bin/bash Restart=always