Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

initrd-setup-root-after-ignition: Clean up incomplete move target #76

Merged
merged 1 commit into from
Oct 16, 2023

Conversation

pothos
Copy link
Member

@pothos pothos commented Oct 13, 2023

When possible we prefer to have the active OEM systemd-sysext live on the OEM partition to support cleaning up the rootfs without bricking the instance. However, "mv" doesn't clean up the incomplete target file which would fill the OEM disk, and that could cause future problems. Clean up the incomplete move target that filled the OEM disk when trying to store the active OEM sysext image there.

How to use

Backport to Alpha/Beta because it is a potential bug fix.

Testing done

in flatcar/scripts#1272

When possible we prefer to have the active OEM systemd-sysext live on
the OEM partition to support cleaning up the rootfs without bricking the
instance. However, "mv" doesn't clean up the incomplete target file
which would fill the OEM disk, and that could cause future problems.
Clean up the incomplete move target that filled the OEM disk when
trying to store the active OEM sysext image there.
pothos added a commit to flatcar/scripts that referenced this pull request Oct 13, 2023
This pulls in flatcar/update_engine#29 and
flatcar/bootengine#76
to fix the problem of not being able to update from ≤ 3619.0.0 on Azure.
@pothos pothos marked this pull request as ready for review October 13, 2023 19:31
@pothos pothos requested a review from a team October 13, 2023 19:31
@krnowak
Copy link
Member

krnowak commented Oct 16, 2023

Let's get this in for the releases this week.

@krnowak krnowak merged commit 102a4cd into flatcar-master Oct 16, 2023
@krnowak krnowak deleted the kai/oem-mv-clean branch October 16, 2023 10:53
krnowak pushed a commit to flatcar/scripts that referenced this pull request Oct 16, 2023
This pulls in flatcar/update_engine#29 and
flatcar/bootengine#76
to fix the problem of not being able to update from ≤ 3619.0.0 on Azure.
krnowak pushed a commit to flatcar/scripts that referenced this pull request Oct 16, 2023
This pulls in flatcar/update_engine#29 and
flatcar/bootengine#76
to fix the problem of not being able to update from ≤ 3619.0.0 on Azure.
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