[Bug 1179170] grub2 efi posttrans update-bootloader script fails
https://bugzilla.suse.com/show_bug.cgi?id=1179170 https://bugzilla.suse.com/show_bug.cgi?id=1179170#c5 --- Comment #5 from Michael Chang <mchang@suse.com> --- (In reply to Gary Ching-Pang Lin from comment #4)
It sets immutable to 0 and unlinks the path. In kernel/drivers/firmware/efi/vars.c, when removing a file, it uses uefi_set_variable() with NULL to delete the variable, and this is unlikely to fail.
Yes that is where I'm looking at. There's no obvious system call made besides ioctl to set the immutable flag would return invalid argument.
Maybe there are more clues in /var/log/pbl.log.
Maybe we should enable verbose output to collect more info ? Index: efivar-37/src/efivar.c =================================================================== --- efivar-37.orig/src/efivar.c +++ efivar-37/src/efivar.c @@ -63,7 +63,7 @@ static const char *attribute_names[] = { "" }; -static int verbose_errors = 0; +static int verbose_errors = 1; static void show_errors(void) -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com