Bug#756253: Upgrade from 2.02~beta2-10 to 2.02~beta2-11 left grub unbootable
Steve McIntyre
steve at einval.com
Sun Jan 18 11:44:46 UTC 2015
On Sun, Jan 18, 2015 at 08:22:13AM +0900, Mike Hommey wrote:
>With the attachment this time
...
>9167 close(3) = 0
>9167 access("/sys/firmware/efi/vars/Boot0001-8be4df61-93ca-11d2-aa0d-00e098032b8c/data", F_OK) = -1 ENOENT (No such file or directory)
>9167 open("/sys/firmware/efi/vars/new_var", O_WRONLY) = 3
>9167 write(3, "B\0o\0o\0t\0000\0000\0000\0001\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 2084) = -1 ENOSPC (No space left on device)
>9167 umask(0) = 022
>9167 umask(022) = 0
>9167 chmod("/sys/firmware/efi/vars/Boot0001-8be4df61-93ca-11d2-aa0d-00e0980/", 021371157541) = -1 ENOENT (No such file or directory)
>9167 chmod("/sys/firmware/efi/vars/Boot0001-8be4df61-93ca-11d2-aa0d-00e0980/attributes", 021371157541) = -1 ENOENT (No such file or directory)
>9167 chmod("/sys/firmware/efi/vars/Boot0001-8be4df61-93ca-11d2-aa0d-00e0980/data", 021371157541) = -1 ENOENT (No such file or directory)
>9167 chmod("/sys/firmware/efi/vars/Boot0001-8be4df61-93ca-11d2-aa0d-00e0980/guid", 021371157541) = -1 ENOENT (No such file or directory)
>9167 chmod("/sys/firmware/efi/vars/Boot0001-8be4df61-93ca-11d2-aa0d-00e0980/raw_var", 021371157541) = -1 ENOENT (No such file or directory)
>9167 chmod("/sys/firmware/efi/vars/Boot0001-8be4df61-93ca-11d2-aa0d-00e0980/size", 021371157541) = -1 ENOENT (No such file or directory)
>9167 close(3) = 0
>9167 write(2, "efibootmgr: ", 12) = 12
>9167 write(2, "Could not set variable Boot0001", 31) = 31
>9167 write(2, ": ", 2) = 2
>9167 write(2, "No such file or directory\n", 26) = 26
>9167 write(2, "efibootmgr: ", 12) = 12
>9167 write(2, "Could not prepare boot variable", 31) = 31
>9167 write(2, ": ", 2) = 2
>9167 write(2, "No such file or directory\n", 26) = 26
The behaviour of efivar looks a little odd here too - after the ENOSPC
on write(), it then appears to be trying to modify the new var that it
failed to create. Not great. :-/
--
Steve McIntyre, Cambridge, UK. steve at einval.com
Armed with "Valor": "Centurion" represents quality of Discipline,
Honor, Integrity and Loyalty. Now you don't have to be a Caesar to
concord the digital world while feeling safe and proud.
More information about the Pkg-grub-devel
mailing list