Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uninitialized value in batch mode when /lib/firmware/intel-ucode not present #105

Closed
evgkrsk opened this issue Mar 3, 2018 · 0 comments
Closed
Labels
Milestone

Comments

@evgkrsk
Copy link

evgkrsk commented Mar 3, 2018

root@thinkpad ~ #needrestart -wrl
Scanning processor microcode...                                                                                                                                                                

Failed to check for processor microcode upgrades.
root@thinkpad ~ #needrestart -wbrl
NEEDRESTART-VER: 3.0
NEEDRESTART-UCSTA: 0
NEEDRESTART-UCCUR: 0x00020655
Use of uninitialized value $ucode_vars{"AVAIL"} in concatenation (.) or string at /usr/sbin/needrestart line 867.
NEEDRESTART-UCEXP:
root@thinkpad ~ #/usr/lib/needrestart/iucode-scan-versions 1
+ IUCODE_TOOL_EXTRA_OPTIONS=
+ test -r /etc/default/intel-microcode
+ test '' = no
+ '[' -r '/usr/share/misc/intel-microcode*' ']'
+ exec iucode_tool -Sl -tb /lib/firmware/intel-ucode
iucode_tool: system has processor(s) with signature 0x00020655
iucode_tool: /lib/firmware/intel-ucode: cannot open: No such file or directory
[1]    31124 exit 2     /usr/lib/needrestart/iucode-scan-versions 1

NR builded from git tag v3.0

@liske liske added the bug label Mar 4, 2018
@liske liske modified the milestones: v3.0, v3.1 Mar 4, 2018
@liske liske closed this as completed in 1a0d984 Mar 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants