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

remove redundant one-shot workarounds #116

Closed
phillxnet opened this issue Jul 22, 2022 · 2 comments · Fixed by #117
Closed

remove redundant one-shot workarounds #116

phillxnet opened this issue Jul 22, 2022 · 2 comments · Fixed by #117
Assignees

Comments

@phillxnet
Copy link
Member

During early development we had issues regarding initial boot of the resulting installer. To resolve this we enacted the following one-shot systemd services:
dracut_hostonly.service: dracut -f
grub_config.service: grub2-mkconfig -o /boot/grub2/grub.cfg

It is now thought that these redundant workarounds are interfering with proper function of modern kiwi-ng.

Referencing original discussion on their use with upstream once found, it was a few years ago now I think.

N.B. One of the above services is currently thought to be causing a kexec issue during our normal installer flow.

Current/modern builds are not able to kexec their way from installer to installed system.
I.e. directly after: https://rockstor.com/docs/installation/installer-howto.html#loading-rockstor
we are greeted with: "Failed to kexec boot system":

failed-kexec-boot-system

Accepting the OK at this point or just waiting around a minute and we are auto-rebooted into the now installed system anyway. But this is a rather pool user experience never-the-less.

@phillxnet
Copy link
Member Author

There has recently been some upstream changes regarding re-enabling some oem specific settings that were found to have been ineffectual.
https://documentation.suse.com/kiwi/9/single-html/kiwi/index.html#oem-customize
There has also been some recent upstream work on kexec changes.

@phillxnet
Copy link
Member Author

LInking to short conversation with upstream on the pr suspected to have made our dracut -f one-shot systemd service redundant.

OSInside/kiwi#1269 (comment)

@phillxnet phillxnet self-assigned this Jul 22, 2022
@phillxnet phillxnet changed the title remove redundant one-shot work-arounds remove redundant one-shot workarounds Jul 22, 2022
phillxnet added a commit to phillxnet/rockstor-installer that referenced this issue Jul 22, 2022
At one time these oneshot first boot only systemd
services were required to rebuild the initrd image
and re-install grub. They now represent a distance
with upstream that can only complicate things.
phillxnet added a commit that referenced this issue Jul 28, 2022
…work-arounds

remove redundant one-shot first-boot workarounds #116
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 a pull request may close this issue.

1 participant