liske / needrestart

Restart daemons after library updates.
GNU General Public License v2.0
426 stars 67 forks source link

differ if microcode can not be checked due to missing components or unsupported plattform (i.e. ARM) #220

Closed Wiggum127 closed 2 months ago

Wiggum127 commented 3 years ago

I always get "Failed to check for processor microcode upgrades" at the end of every apt-get upgrade on my Raspbian (Debian Buster) on a RPI 2B. Currently running 5.10.63-v7+ armv7l.

Is there anything I can add to help find the root cause of this?

Thanks.

mmitch commented 2 years ago

I'm no developer here, but just have looked over exactly that part of the code:

Microcode updates can currently only be detected for Intel and AMD cpus (see README.uCode.md). The Raspberry 2B runs on a Broadcom ARM chip, which currently is not supported.

liske commented 2 years ago

Yes there is no implementation for ARM.

Wiggum127 commented 2 years ago

If that's the case, just tell the user there is no implementation for his CPU, instead of the misleading "Failed to check for processor microcode upgrades". This makes the user think he's done something wrong or there is a configuration error on his system/network. Just state "This CPU is not supported"

liske commented 2 years ago

I'll keep this as a wishlist issue. The current implementation lacks the ability to differ why microcode checks are not possible.