OSDN Git Service

Skip unreadable variables, but don't exit when we do so.
authorDaniel Jared Dominguez <Jared_Dominguez@Dell.com>
Thu, 18 Dec 2014 19:35:27 +0000 (14:35 -0500)
committerPeter Jones <pjones@redhat.com>
Thu, 18 Dec 2014 19:35:27 +0000 (14:35 -0500)
commit5ed580e3f9d6eb8b39cf40e2c3462cdb57ff333a
tree75e874e18c2a36ba543a8ea26d75518a45b70474
parent7fd5eb20623de65c999a29b67bca617d83777c7a
Skip unreadable variables, but don't exit when we do so.

Old versions of efibootmgr and libefivar0 allowed the installation of
necessary EFI boot entries on the affected systems. It seems that an old
libefivar0 did not report read errors.

Then libefivar0 started to crash on unreadable variables (see Debian bug
764386). Since that bug has been fixed, efibootmgr doesn't crash
anymore, but the read errors are reported and efibootmgr always fails
with an input/output error.

Resolves: debian bug 768880

Signed-off-by: Jan Echternach <jan@goneko.de>
Signed-off-by: Daniel Jared Dominguez <Jared_Dominguez@Dell.com>
Signed-off-by: Peter Jones <pjones@redhat.com>
src/efibootmgr/efibootmgr.c