Skip to content
This repository has been archived by the owner on Feb 27, 2024. It is now read-only.

Commit

Permalink
Documentation: update compression note for journal files
Browse files Browse the repository at this point in the history
Container Linux enabled lz4 support for journald[[1]], which means logs
started being written compressed with the lz4 format instead of xz.

Change the note about host's systemd compression support needed from xz
to lz4.

Also, clarify that this only applies to the coreos and kvm flavors.
Users of the host flavor will not be impacted since the systemd used in
stage1 will be the same as on the host.

[1]: coreos/coreos-overlay#2593
  • Loading branch information
iaguis committed Dec 18, 2017
1 parent d7f9034 commit 9310333
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Documentation/using-rkt-with-systemd.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,15 +67,15 @@ MACHINE CLASS SERVICE
0 machines listed.
```

Note that journald integration is only supported if systemd is compiled with `xz` compression enabled. To inspect this, use `systemctl`:
Note that, for the "coreos" and "kvm" stage1 flavors, journald integration is only supported if systemd is compiled with `lz4` compression enabled. To inspect this, use `systemctl`:

```
$ systemctl --version
systemd v231
[...] +XZ [...]
systemd 235
[...] +LZ4 [...]
```

If the output contains `-XZ`, journal entries will not be available.
If the output contains `-LZ4`, journal entries will not be available.

## Managing pods as systemd services

Expand Down

0 comments on commit 9310333

Please sign in to comment.