Hi,

I am seeing that fw_update(8) does unregisteration of installed
firmwares (removing /var/db/pkg/ files) if it is unable to fetch
SHA256.sig.

The damage is low: only packages files are removed, and firmware files
(/etc/firmware/amdgpu and /etc/firmware/vmm-bios files in my case) are
kept.

But it creates unconsistent between package database and files on
filesystem, and it could remove information on temporary network
issue.

I would expect no action on network connectivity issue instead of
assuming no firmware was necessary.

Here the (partial) output of sysupgrade log:

     fw_update: connect: Connection refused
     Cannot fetch http://firmware.openbsd.org/firmware/snapshots/SHA256.sig
     fw_update: connect: Connection refused
     Cannot fetch http://firmware.openbsd.org/firmware/snapshots/SHA256.sig
     fw_update: added none; updated none; kept none; unregistered amdgpu,vmm

In my case, pf on the gateway was blocking connection.

Thanks.
-- 
Sebastien Marie

Reply via email to