[Bug 1168104] New: Issue with Patch openSUSE-2020-401
http://bugzilla.opensuse.org/show_bug.cgi?id=1168104 Bug ID: 1168104 Summary: Issue with Patch openSUSE-2020-401 Classification: openSUSE Product: openSUSE Distribution Version: Leap 15.1 Hardware: x86-64 OS: openSUSE Factory Status: NEW Severity: Normal Priority: P5 - None Component: Maintenance Assignee: maintenance@opensuse.org Reporter: bugrprt21882@online.de QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Running the Patch openSUSE-2020-401 from the KDE Update Plasma - PackageKit - results in the following errors being noted in the Zypper history: # 2020-03-29 15:26:07 Output of grub2-i386-pc-2.02-lp151.21.12.1.noarch.rpm %posttrans script: # update-bootloader: 2020-03-29 15:26:04 <3> update-bootloader-6892 run_command.294: '/usr/lib/bootloader/grub2-efi/ install' failed with exit code 127, output: # <<<<<<<<<<<<<<<< # target = x86_64-efi # + /usr/sbin/shim-install --config-file=/boot/grub2/grub.cfg # copying /usr/lib64/efi/grub.efi to /boot/efi/EFI/opensuse/grub.efi # x86_64-efi wird f374r Ihre Plattform installiert. # installation beendet. Keine Fehler aufgetreten. # /usr/sbin/shim-install: Zeile 326: efibootmgr: Kommando nicht gefunden. # /usr/sbin/shim-install: Zeile 352: efibootmgr: Kommando nicht gefunden. # >>>>>>>>>>>>>>>> # update-bootloader: 2020-03-29 15:26:07 <3> update-bootloader-6892 run_command.294: '/usr/lib/bootloader/grub2-efi/config' failed with exit code 127, output: # <<<<<<<<<<<<<<<< # + /usr/sbin/grub2-mkconfig -o /boot/grub2/grub.cfg # Generating grub configuration file ... # Found theme: /boot/grub2/themes/openSUSE/theme.txt # Found linux image: /boot/vmlinuz-4.12.14-lp151.28.44-default # Found initrd image: /boot/initrd-4.12.14-lp151.28.44-default # Found linux image: /boot/vmlinuz-4.12.14-lp151.28.40-default # Found initrd image: /boot/initrd-4.12.14-lp151.28.40-default # Found linux image: /boot/vmlinuz-4.12.14-lp151.28.36-default # Found initrd image: /boot/initrd-4.12.14-lp151.28.36-default # /etc/grub.d/80_suse_btrfs_snapshot: Zeile 7: btrfs: Kommando nicht gefunden. # >>>>>>>>>>>>>>>> -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1168104 http://bugzilla.opensuse.org/show_bug.cgi?id=1168104#c1 --- Comment #1 from Donald Curtis <bugrprt21882@online.de> --- Looking more closely at the errors being reported, in the scripts /usr/sbin/shim-install and /etc/grub.d/80_suse_btrfs_snapshot, the executables efibootmgr and btrfs are being called without the full path name: * /usr/sbin/efibootmgr * /usr/sbin/btrfs -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1168104 http://bugzilla.opensuse.org/show_bug.cgi?id=1168104#c2 --- Comment #2 from Donald Curtis <bugrprt21882@online.de> --- Executing the patches by forcibly re-installing the packages with Zypper does not raise any errors. 2020-03-30 09:45:28|command|root@xxx|'zypper' 'install' '--force' 'grub2' 'grub2-i386-pc' 'grub2-x86_64-efi' 'grub2-systemd-sleep-plugin' 'grub2-snapper-plugin'| -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1168104 http://bugzilla.opensuse.org/show_bug.cgi?id=1168104#c3 Neil Rickert <nwr10cst-oslnx@yahoo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CONFIRMED CC| |nwr10cst-oslnx@yahoo.com --- Comment #3 from Neil Rickert <nwr10cst-oslnx@yahoo.com> --- I can confirm this problem. I already had a KVM virtual machine with Leap 15.1. So I cloned that machine for the test. I first deleted the NVRAM entry used for booting: # efibootmgr -b 1 -B I made sure that I could still boot, using the install DVD and selecting "boot from hard drive" Next, I reverted several grub2 related packages to 2.02-lp151.21.9.1, so that I could repeat the update. I then updated using the KDE update applet. The applet reported a successful update. However, "/var/log/zypp/history" contained: ---- history lines ---- # tail /var/log/zypp/history # update-bootloader: 2020-03-30 15:12:39 <3> update-bootloader-6098 run_command.294: '/usr/lib/bootloader/grub2-efi/install' failed with exit code 127, output: # <<<<<<<<<<<<<<<< # target = x86_64-efi # + /usr/sbin/shim-install --config-file=/boot/grub2/grub.cfg # copying /usr/lib64/efi/grub.efi to /boot/efi/EFI/opensuse/grub.efi # Installing for x86_64-efi platform. # Installation finished. No error reported. # /usr/sbin/shim-install: line 326: efibootmgr: command not found # /usr/sbin/shim-install: line 352: efibootmgr: command not found # >>>>>>>>>>>>>>>> ---- end history lines ---- I also checked "efibootmgr" output: # efibootmgr -v BootCurrent: 0003 Timeout: 0 seconds BootOrder: 0003,0004,0000,0009 Boot0000* UiApp FvVol(7cb8bdc9-f8eb-4f34-aaea-3ee4af6516a1)/FvFile(462caa21-7614-4503-836e-8ab6f4662331) Boot0003* UEFI QEMU DVD-ROM QM00002 PciRoot(0x0)/Pci(0x1,0x1)/Ata(0,1,0)N.....YM....R,Y. Boot0004* UEFI QEMU HARDDISK QM00001 PciRoot(0x0)/Pci(0x1,0x1)/Ata(0,0,0)N.....YM....R,Y. Boot0009* EFI Internal Shell FvVol(7cb8bdc9-f8eb-4f34-aaea-3ee4af6516a1)/FvFile(7c04a583-9e3e-4f1c-ad65-e05268d0b4d1) As you can see, there is no NVRAM entry added for "opensuse-secureboot". Most users would not be seriously affected. The installed bootcode was properly updated. And most users would already have an NVRAM entry for "opensuse-secureboot", so the failure to create that entry would not actually affect most users. When installing the update via "zypper" or "Yast", all seems to go well. And that's because "/usr/sbin" and "/sbin" are likely already on the PATH. But apparently, those are not part of the PATH set by "packagekitd", leading to the reported problem. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1168104 Donald Curtis <bugrprt21882@online.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bugrprt21882@online.de Found By|--- |Community User -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1168104 http://bugzilla.opensuse.org/show_bug.cgi?id=1168104#c18 Donald Curtis <bugrprt21882@online.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|CONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #18 from Donald Curtis <bugrprt21882@online.de> --- Definitely fixed in Autumn 2020. -- You are receiving this mail because: You are on the CC list for the bug.
participants (2)
-
bugzilla_noreply@novell.com
-
bugzilla_noreply@suse.com