Hey all,

Trying to be a helpful chap, I looked into a verbosity level 2 (-v2)
output of efibootmgr, which is what's executed by the post-installation
script of the grub-efi-amd64-signed package:

$ sudo efibootmgr -v2 -c -d /dev/sdb -p 2 -w -L ubuntu -l 
\EFI\ubuntu\shimx64.efi
Could not prepare Boot variable: Invalid argument
error trace:
 util.h:325 get_file(): could not open file 
"/sys/devices/pci0000:00/firmware_node/uid" for reading: No such file or 
directory
 util.h:325 get_file(): could not open file 
"/sys/devices/pci0000:00/firmware_node/uid" for reading: No such file or 
directory
 util.h:325 get_file(): could not open file 
"/sys/devices/pci0000:00/firmware_node/uid" for reading: No such file or 
directory
 efivarfs.c:435 efivarfs_set_variable(): writing to fd 3 failed: Invalid 
argument
 lib.c:76 _efi_set_variable_mode(): ops->set_variable() failed: Invalid argument
 efibootmgr.c:323 make_var(): efi_set_variable failed: Invalid argument
 efibootmgr.c:333 make_var(): Could not set variable Boot0005: Invalid argument


...and I submit that this is likely caused by the bug in the efivar package 
documented as recently fixed at https://github.com/rhboot/efivar/issues/120, as 
it talks about the fact that the uid node doesn't exist, only hid and cid (in 
my case, Ubuntu 19.04 on a HP Probook 6550b with kernel 5.0.0-21-generic, it's 
hid only).  I have libefivar1 version 37-2 installed.

** Bug watch added: github.com/rhboot/efivar/issues #120
   https://github.com/rhboot/efivar/issues/120

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1826050

Title:
  package grub-efi-amd64-signed 1.115+2.02+dfsg1-12ubuntu2 failed to
  install/upgrade: installed grub-efi-amd64-signed package post-
  installation script subprocess returned error exit status 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2-signed/+bug/1826050/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to