Dear Devs,

when having multiple disks in a system with ebg config partitions each,
the libebgenv is not able to locate the correct environment and instead
just fails with the following error:

"Error, there are more than 2 config partitions."

The EBG EFI part properly probes the current boot device and only
searches for EBG configs on that device. However, the userspace part
(which is also used by swupdate) does not have this logic and simply
scans all blockdevices in `/dev/`.

In general, wildly guessing and probing devices in `/dev/` should be
avoided, as this likely leads to unwanted side-effects. We must not
make any guesses about the content of a device that is potentially not
under our control.

I temporarily solved this issue in the downstream project by hard-
coding the expected partition into the probe_config_partition function,
but this is not a generic solution.

Best regards,
Felix

-- 
You received this message because you are subscribed to the Google Groups "EFI 
Boot Guard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/efibootguard-dev/b83c1681629e5b09c773d6ac6a32a8694bff16d4.camel%40siemens.com.

Reply via email to