On Mon, Feb 07, 2022 at 08:28:47AM +0100, Sebastien Marie wrote:
> 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.

Sorry about that, I do know the root bug but hadn't seen this specific
interaction from it.  I will figure out a patch for it this week.
Thanks for the report!


> 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
> 

-- 
andrew

Life's unfair - but root password helps!

Reply via email to