[Bug 806737] New: grub2 config missing after upgrade in uefi mode
https://bugzilla.novell.com/show_bug.cgi?id=806737 https://bugzilla.novell.com/show_bug.cgi?id=806737#c0 Summary: grub2 config missing after upgrade in uefi mode Classification: openSUSE Product: openSUSE 12.3 Version: RC 2 Platform: Other OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: Basesystem AssignedTo: jslaby@suse.com ReportedBy: lnussel@suse.com QAContact: qa-bugs@suse.de CC: mchang@suse.com, arvidjaar@gmail.com Found By: --- Blocker: --- 12.2 uefi installation upgraded via zypper dup ends up not booting. The grub2-efi %post has [ "$migrate_grub2_efi" ] && mv /boot/grub2/grub.cfg /boot/grub2/grub.cfg.migrated The latter file is present indeed but looks like there is no package that restores it to grub.cfg. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=806737 https://bugzilla.novell.com/show_bug.cgi?id=806737#c1 --- Comment #1 from Andrey Borzenkov <arvidjaar@gmail.com> 2013-02-28 17:24:44 UTC --- There should be postun trigger on grub2-efi installed by new package: %triggerpostun -- %{name}-efi # It is needed on update only if [ $2 -gt 0 ]; then # Workaround for lost /boot/grub2/grub.cfg and possibly /boot/grub2-efi # after old grub2-efi deinstallation if [ -f /boot/%{name}/grub.cfg.migrated ]; then mv /boot/%{name}/grub.cfg.migrated /boot/%{name}/grub.cfg fi [ -h /boot/%{name}-efi ] || ln -sf %{name} /boot/%{name}-efi fi exit 0 Was there any error during installation so trigger execution was aborted? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=806737 https://bugzilla.novell.com/show_bug.cgi?id=806737#c2 --- Comment #2 from Ludwig Nussel <lnussel@suse.com> 2013-03-01 09:17:03 CET --- Created an attachment (id=527655) --> (http://bugzilla.novell.com/attachment.cgi?id=527655) zypper log nope. $ rpm -q --triggerscripts grub2-efi $ rpm -q --changelog grub2-efi|head -1 * Di Feb 19 2013 duwe@suse.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=806737 https://bugzilla.novell.com/show_bug.cgi?id=806737#c Jiri Slaby <jslaby@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|jslaby@suse.com |mchang@suse.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=806737 https://bugzilla.novell.com/show_bug.cgi?id=806737#c3 Andrey Borzenkov <arvidjaar@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |lnussel@suse.com --- Comment #3 from Andrey Borzenkov <arvidjaar@gmail.com> 2013-03-01 17:30:08 UTC --- (In reply to comment #2)
$ rpm -q --triggerscripts grub2-efi
Trigger is on grub2 and according to log it has been installed before grub2-efi, so it should be available at this point: 2013-02-28 14:39:25 <1> tanana(12144) [zypp++] ExternalProgram.cc(start_program) :229 Executing 'rpm' '--root' '/' '--dbpath' '/var/lib/rpm' '-U' '--percent' '-- force' '--nodeps' '--' '/var/cache/zypp/packages/repo-oss/suse/x86_64/grub2-2.00 -19.4.1.x86_64.rpm' 2013-02-28 14:40:05 <1> tanana(12144) [zypp++] ExternalProgram.cc(start_program) :229 Executing 'rpm' '--root' '/' '--dbpath' '/var/lib/rpm' '-U' '--percent' '-- force' '--nodeps' '--' '/var/cache/zypp/packages/repo-oss/suse/x86_64/grub2-efi- 2.00-19.4.1.x86_64.rpm' I do not have efi system to test ... can you run in 12.2 rpm -U -vvvv --nodeps --force grub2-from-12.3 rpm -U -vvvv --nodeps --force grub2-efi-from-12.3 and post output? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=806737 https://bugzilla.novell.com/show_bug.cgi?id=806737#c4 Ludwig Nussel <lnussel@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- InfoProvider|lnussel@suse.com |coolo@suse.com --- Comment #4 from Ludwig Nussel <lnussel@suse.com> 2013-03-04 09:24:23 CET --- the 12.2 install is gone of course. Anyways, the problem is pretty obvious missing triggerscripts in openSUSE:12.3 grub2 binary results. The script is in when building locally. So maybe a rebuild is needed. Coolo, can you please trigger it? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=806737 https://bugzilla.novell.com/show_bug.cgi?id=806737#c5 Stephan Kulow <coolo@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW CC| |coolo@suse.com, | |mls@suse.com InfoProvider|coolo@suse.com | AssignedTo|mchang@suse.com |mmarek@suse.com Flag| |SHIP_STOPPER+ --- Comment #5 from Stephan Kulow <coolo@suse.com> 2013-03-04 10:09:17 CET --- a rebuild won't change anything - it must be the signing if it works locally -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=806737 https://bugzilla.novell.com/show_bug.cgi?id=806737#c6 --- Comment #6 from Ludwig Nussel <lnussel@suse.com> 2013-03-04 10:35:36 CET --- so the pesign repackage script removes the trigger scripts -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=806737 https://bugzilla.novell.com/show_bug.cgi?id=806737#c Michal Marek <mmarek@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=806737 https://bugzilla.novell.com/show_bug.cgi?id=806737#c7 --- Comment #7 from Michal Marek <mmarek@suse.com> 2013-03-04 16:14:29 UTC --- I am testing a fix in home:michal-m:modsign. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=806737 https://bugzilla.novell.com/show_bug.cgi?id=806737#c8 Michal Marek <mmarek@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #8 from Michal Marek <mmarek@suse.com> 2013-03-04 19:20:44 UTC --- Sorry for the delay. I submitted a fixed package now in sr 157262. However, I was not able to actually verify the fix, as the scheduler hasn't yet picked up the changes in https://build.opensuse.org/project/monitor?project=home%3Amichal-m%3Amodsign -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=806737 https://bugzilla.novell.com/show_bug.cgi?id=806737#c9 --- Comment #9 from Bernhard Wiedemann <bwiedemann@suse.com> 2013-03-04 21:00:07 CET --- This is an autogenerated message for OBS integration: This bug (806737) was mentioned in https://build.opensuse.org/request/show/157262 Factory / pesign-obs-integration -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=806737 https://bugzilla.novell.com/show_bug.cgi?id=806737#c10 --- Comment #10 from Stephan Kulow <coolo@suse.com> 2013-03-05 08:51:38 CET --- does this version also fix #806637 ? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=806737 https://bugzilla.novell.com/show_bug.cgi?id=806737#c11 --- Comment #11 from Bernhard Wiedemann <bwiedemann@suse.com> 2013-03-05 09:00:07 CET --- This is an autogenerated message for OBS integration: This bug (806737) was mentioned in https://build.opensuse.org/request/show/157326 Factory / pesign-obs-integration -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com