Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

Commit

Permalink
docs: Add enable services and installation steps for TRACING.md
Browse files Browse the repository at this point in the history
This adds the instruction of enabling the services and the installation of the
configuration file used for tracing.

Fixes #679

Signed-off-by: Gabriela Cervantes <[email protected]>
  • Loading branch information
GabyCT committed Oct 24, 2019
1 parent a5cf5ae commit 8361150
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions TRACING.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,10 @@ following:
- The `jaeger-client-socat-redirector.service` systemd service
(see the [Guest to Host communication using VSOCK](#guest-to-host-communication-using-vsock) section).
This service should be placed at `/usr/lib/systemd/system/` of the rootfs.
It is necessary to perform the following command within the rootfs context:
```
$ sudo -E chroot ${rootfs} systemctl enable jaeger-client-socat-redirector.service
```
- The distribution-specific package including the `socat(1)` utility
(normally the package is called `socat`).
Expand All @@ -179,10 +183,18 @@ following:
- The `kata-journald-host-redirect.service` service.
(see the [Guest to Host communication using VSOCK](#guest-to-host-communication-using-vsock) section).
This service should be placed at `/usr/lib/systemd/system/` of the rootfs.
It is necessary to perform the following command within the rootfs context:
```
$ sudo -E chroot ${rootfs} systemctl enable kata-journald-host-redirect.service
```
- The `kata-redirect-agent-output-to-journal.conf` systemd snippet
(see the [Guest to Host communication using VSOCK](#guest-to-host-communication-using-vsock) section).
This configuration file should be placed at `/etc/systemd/system/kata-agent.service.d/` of the rootfs.
It is necessary to perform the following command:
```
$ install -o root -g root -m 0440 kata-redirect-agent-output-to-journal.conf ${rootfs}/etc/systemd/system/kata-agent.service.d
```
1. Install the custom image.
Expand Down

0 comments on commit 8361150

Please sign in to comment.