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

Use tmpfiles to set up /var/log/journal/ from initrd #2558

Merged
merged 1 commit into from
Apr 4, 2023
Merged

Conversation

pothos
Copy link
Contributor

@pothos pothos commented Mar 30, 2023

This pulls in flatcar/bootengine#60 and flatcar/baselayout#29 to fix the persisting of the journal on first boot.

How to use

Backport to Alpha

Testing done

See linked bootengine PR

  • Changelog entries added in the respective changelog/ directory (user-facing change, bug fix, security fix, update)
  • Inspected CI output for image differences: /boot and /usr size, packages, list files for any missing binaries, kernel modules, config files, kernel modules, etc.

@pothos pothos changed the title sys-kernel/bootengine: Run tmpfiles to set up /var/log from initrd sys-kernel/bootengine: Use tmpfiles to set up /var/log from initrd Mar 30, 2023
@pothos pothos force-pushed the kai/var-setup branch 5 times, most recently from 7de92b8 to bb0f886 Compare April 3, 2023 06:09
@pothos pothos marked this pull request as ready for review April 3, 2023 12:52
@pothos pothos requested a review from a team April 3, 2023 12:52
Copy link
Contributor

@krnowak krnowak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure that the change in bootengine is necessary. Also, the PR probably will need to wait until the "code freeze" is lifted.

@pothos
Copy link
Contributor Author

pothos commented Apr 4, 2023

I think we are good to merge because the freeze hasn't started yet

@pothos pothos force-pushed the kai/var-setup branch 2 times, most recently from a509c0d to 84cf198 Compare April 4, 2023 02:50
@pothos pothos changed the title sys-kernel/bootengine: Use tmpfiles to set up /var/log from initrd sys-kernel/bootengine: Use tmpfiles to set up /var/log/journal/ from initrd Apr 4, 2023
@pothos pothos changed the title sys-kernel/bootengine: Use tmpfiles to set up /var/log/journal/ from initrd Use tmpfiles to set up /var/log/journal/ from initrd Apr 4, 2023
This pulls in flatcar/bootengine#60
and flatcar/baselayout#29
to fix the persisting of the journal on first boot.
@pothos pothos merged commit b2752d7 into main Apr 4, 2023
@pothos pothos deleted the kai/var-setup branch April 4, 2023 15:46
pothos added a commit that referenced this pull request Apr 4, 2023
Use tmpfiles to set up /var/log/journal/ from initrd
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants