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

sys-kernel/bootengine: prevent boot loop on ignition failure#1262

Merged
jepio merged 1 commit intomainfrom
jepio/ignition-fix-bootloop
Sep 10, 2021
Merged

sys-kernel/bootengine: prevent boot loop on ignition failure#1262
jepio merged 1 commit intomainfrom
jepio/ignition-fix-bootloop

Conversation

@jepio
Copy link
Copy Markdown
Contributor

@jepio jepio commented Sep 7, 2021

sys-kernel/bootengine: prevent boot loop on ignition failure

This fixes boot loops in initramfs we have been seeing when ignition fails. The emergency.target needs to be isolated to ensure other initramfs units don't continue booting. This is equivalent to this fix in CoreOS coreos/ignition-dracut#188.

This pulls in flatcar/bootengine#28.
Fixes flatcar/Flatcar#434
Fixes flatcar/Flatcar#454

How to use

Follow instructions in flatcar/bootengine#28.

Testing done

CI passed: http://jenkins.infra.kinvolk.io:8080/job/os/job/manifest/3524/cldsv/
(will re-run vmware test due to locksmith failure)

@jepio jepio requested a review from a team September 7, 2021 08:38
@jepio jepio force-pushed the jepio/ignition-fix-bootloop branch from 8bb71eb to 0f6c5ad Compare September 7, 2021 09:08
Comment thread sys-kernel/bootengine/bootengine-9999.ebuild Outdated
This resolves an issue that causes the initramfs to boot loop when ignition
fails.

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
@jepio jepio force-pushed the jepio/ignition-fix-bootloop branch from 0f6c5ad to 5d632c6 Compare September 10, 2021 08:13
@jepio jepio merged commit e4c7a48 into main Sep 10, 2021
@jepio jepio deleted the jepio/ignition-fix-bootloop branch September 10, 2021 08:25
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.

[RFE] failure during ignition first_boot causes loop, no way to capture logs Using multiple "files:" entries in config causes bootloops

4 participants