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 <james.o.hunt@intel.com>
This commit is contained in:
James O. D. Hunt 2019-03-19 11:17:55 +00:00
parent 4d65fb4ec4
commit c771f76eae

View File

@ -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