Bugzilla – Bug 1092950
Crash in yast2-bootloader
Last modified: 2021-11-19 12:35:10 UTC
I edited the settings and wrote UUID="98b7902f-8b9e-47b1-bb33-27308d312498" in the field for "user defined boot partition".
Since that the module crashes telling me I should do a bug-report.
Created attachment 769917 [details]
Most recent y2log (all logs are too big)
Thanks for the report!
Please attach the complete logs: use the tool save_y2logs, which compresses the logs making them fit inside Bugzilla.
Josef, to me it seems that the problem is not a non-matching UUID but that Christian is asking YaST to do something that YaST does not understand: a UUID in the name field. Is that right?
Nevertheless, we should present a better error message, not an Internal Error.
this is wrong entry, it should be /dev/disks/by-uuid/98b7902f-8b9e-47b1-bb33-27308d31249
but I agree we should not crash.
I can agree with Josef Reidinger.
I should have put a different format in the Input-Field. But how can I change it now? Where is this field stored at?
Right now the Yast-Module is unusable for me. Is there some workaround?
(In reply to Christian Hägele from comment #5)
> I can agree with Josef Reidinger.
> I should have put a different format in the Input-Field. But how can I
> change it now? Where is this field stored at?
> Right now the Yast-Module is unusable for me. Is there some workaround?
Well, there are two options:
1. start it and it should allow to propose from scratch ( together with broken configuration )
2. modify /etc/default/grub_installdevices yourself to have dev in expected format
(In reply to Christian Hägele from comment #1)
> Created attachment 769917 [details]
> Most recent y2log (all logs are too big)
This is ONE reason why we provide that save_y2logs script: It uses a compressed tarball. The other reason is that we typically need other files that this script also collects.
So, the conclusion of this appears to be that we should check what the user enters in that input field and either reject a bad format or, in the deluxe version, convert "UUID=..." to "/dev/disk/by-uuid/...".
Either way, we don't seem to need more y2logs for that, so this has been in NEEDINFO for too long.
Now tracking in our Trello scrum task queue:
Fixed in yast2-bootloader 4.4.8