mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-29 00:37:24 +00:00
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:
parent
4d65fb4ec4
commit
c771f76eae
@ -646,7 +646,8 @@ Description=Kata Containers debug console
|
|||||||
Environment=PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
|
Environment=PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
|
||||||
StandardInput=tty
|
StandardInput=tty
|
||||||
StandardOutput=tty
|
StandardOutput=tty
|
||||||
PrivateDevices=yes
|
# Must be disabled to allow the job to access the real console
|
||||||
|
PrivateDevices=no
|
||||||
Type=simple
|
Type=simple
|
||||||
ExecStart=/usr/bin/bash
|
ExecStart=/usr/bin/bash
|
||||||
Restart=always
|
Restart=always
|
||||||
|
Loading…
Reference in New Issue
Block a user