-
Notifications
You must be signed in to change notification settings - Fork 35
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
[Silent Error] transactional-update fails to rebuild kdump initrd #119
Comments
Nothing should ever write something into /var during update. This breaks the whole concept of "atomic" and "transactional", because /var is not part of the snapshot, often even on an own partition. You can count everything, which writes into /var, as bug of that package. That's why it is better to report bugs for openSUSE in the openSUSE bugzilla, so that the bug reports could be assigned to the right people and projects. That's not possible with github issues reported against the wrong project. |
@thkukuk Ah okay, thanks! I will close this issue and create a bugzilla report. |
I should add: This is just an informational message. The kdump initrd will be generated during boot instead, so it's working as designed. |
Yes, i confirm this. But it's very annoying because i have to reboot twice
on a kernel upgrade. First reboot after TU dup boots into the old kernel,
some systemd service updates the kdump initrd, then on another reboot the
system boots with the new kernel.
…On Thu, Feb 22, 2024, 2:01 PM Ignaz Forster ***@***.***> wrote:
I should add: This is just an informational message. The kdump initrd will
be generated during boot instead, so it's working as designed.
—
Reply to this email directly, view it on GitHub
<#119 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACXGU5FAI5URDU5JBVG2IQTYU367RAVCNFSM6AAAAABDUL4F46VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNJYHE2DIMBTGA>
.
You are receiving this because you modified the open/close state.Message
ID: ***@***.***>
|
That's not how it's supposed to work: The kdump initrd should be regenerated during boot right before it is loaded, so you only need to reboot once. If that wouldn't be working that would indeed be a bug... |
Would using kexec reboot cause any issues with this process? I set it up as per the Suse docs. |
Yes, that would indeed result in the behavior you see. What you may want to use in this case is However the implementation in transactional-update also wasn't adopted accordingly when the kdump-initrd mechanism changed to the mechanism as it is today: The initrd will have to be recreated here, too. Reopening. |
@laenion Thanks, I changed my systemd timer's service file to get kdump and kexec to work correctly.
|
Overview:
transactional-update
(TU) silently fails to rebuild kdump initrd because/var/lib/kdump
is not writable in the snapshot.I'm running TU in a normal read-write Tumbleweed installation to perform
dup
.System and packages are full updated as of Feb 22 2024. No failed systemd units or priority 3 errors in journal.
20240220
4.5.0-2.3
4.5.0-2.3
Steps to Reproduce:
sudo transactional-update <kdump | dup>
Logs below are from calling dup where there was new kernel installed, thus necessitating rebuilding of initrd (success), bootloader (sucess), and kdump initrd (silent fail).
Actual results:
TU fails to regenerate kdump initrd as
/var/lib/kdump
is not mounted in the snapshot.There are also other warnings due to
/var/lib/...
contents being changed in the snapshot but which are not propagated to the new system.Expected results:
TU successfully regenerates kdump initrd by mounting
/var/lib/kdump
in the snapshot.The text was updated successfully, but these errors were encountered: