Skip to content

kola/tests: Add test for /etc overlay upcopy prevention and cleanup#414

Merged
pothos merged 1 commit intoflatcar-masterfrom
kai/etc-overlay
Feb 28, 2023
Merged

kola/tests: Add test for /etc overlay upcopy prevention and cleanup#414
pothos merged 1 commit intoflatcar-masterfrom
kai/etc-overlay

Conversation

@pothos
Copy link
Copy Markdown
Member

@pothos pothos commented Feb 24, 2023

The /etc overlayfs mount is there to be able to update the lowerdir file and this only works if we have no unwanted duplicates in the upperdir (i.e., the /etc folder).
Add tests to check against upcopies caused by, e.g., systemd-tmpfiles and to check that duplicates get removed on reboot (introduced in flatcar-archive/coreos-overlay#2482).

How to use

Expected to pass for flatcar-archive/coreos-overlay#2482

Testing done

CI
and local run of cl.overlay.cleanup

@pothos pothos force-pushed the kai/etc-overlay branch 7 times, most recently from 3f7a148 to 359d000 Compare February 27, 2023 09:29
@pothos pothos requested a review from a team February 27, 2023 11:41
The /etc overlayfs mount is there to be able to update the lowerdir
file and this only works if we have no unwanted duplicates in the
upperdir (i.e., the /etc folder).
Add tests to check against upcopies caused by, e.g., systemd-tmpfiles
and to check that duplicates get removed on reboot
(introduced in flatcar-archive/coreos-overlay#2482).
@pothos pothos merged commit e56e6e1 into flatcar-master Feb 28, 2023
@pothos pothos deleted the kai/etc-overlay branch February 28, 2023 14:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants