Skip to content
This repository has been archived by the owner on Sep 18, 2020. It is now read-only.

profiles: build lz4 support into journald #2593

Merged
merged 1 commit into from
Jun 3, 2017
Merged

profiles: build lz4 support into journald #2593

merged 1 commit into from
Jun 3, 2017

Conversation

dm0-
Copy link
Contributor

@dm0- dm0- commented Jun 3, 2017

This fixes coreos/bugs#1988.

This fixes reading nspawn journals from the host when the container
runs systemd built with lz4 support.
@euank
Copy link
Contributor

euank commented Jun 3, 2017

The one concern to mention with this:

I believe with +LZ4 systemd actually defaults journals to lz4, so the logs will start being written in a different format.

This could hit people who roll back and then try to read their logs.

That being said, I think this is enough of an edge case that we can not worry our heads about it.

@dm0- dm0- merged commit 34838d7 into coreos:master Jun 3, 2017
@dm0- dm0- deleted the lz4 branch June 3, 2017 00:19
@lucab
Copy link
Contributor

lucab commented Jun 7, 2017

This may also impact rkt, we hit something similar in the past rkt/rkt#3104.

iaguis added a commit to kinvolk/rkt that referenced this pull request Dec 18, 2017
Container Linux enabled lz4 support for journald[1][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
iaguis added a commit to kinvolk/rkt that referenced this pull request Dec 18, 2017
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
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
3 participants