Skip to content

Disable needrestart micro-code upgrade #210

@lucarin91

Description

@lucarin91

The microcode upgrade in needrestart is only available for Intel and AMD https://github.com/liske/needrestart/blob/master/README.uCode.md. So I think we could disable that with a config to avoid the following misleading error after any apt upgrade command

Scanning processes...
Scanning processor microcode...
Scanning linux images...

Running kernel seems to be up-to-date.

Failed to check for processor microcode upgrades.

No services need to be restarted.

No containers need to be restarted.

No user sessions are running outdated binaries.

No VM guests are running outdated hypervisor (qemu) binaries on this host.

We could add a config like this in /etc/needrestart/conf.d/disable-ucode.conf

$nrconf{ucodehints} = 0;

Metadata

Metadata

Assignees

No one assigned

    Labels

    userspaceRelates to Debian userspace

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions