Bug 1264407

Summary: edac-utils missing dmidecode dependency
Product: Red Hat Enterprise Linux 7 Reporter: Andrej Manduch <amanduch>
Component: edac-utilsAssignee: Aristeu Rozanski <arozansk>
Status: CLOSED DUPLICATE QA Contact: Andrej Manduch <amanduch>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.2   
Target Milestone: rc   
Target Release: ---   
Hardware: aarch64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-10-05 17:46:23 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Andrej Manduch 2015-09-18 11:56:51 UTC
Description of problem:

edac-utils missing dependency


Version-Release number of selected component (if applicable):
discovered on compose RHEL-7.2-20150910.2 aarch64
version: edac-utils-0.16-12.el7.aarch64


How reproducible:
when dmidecode is not installed




Steps to Reproduce:
[root@hp-moonshot-02-c10 ~]# edac-ctl 
Use of uninitialized value $prog in concatenation (.) or string at /usr/sbin/edac-ctl line 399.
: Error: Failed to find dmidecode in PATH


Expected results:
edac-ctl should not print error message

Additional info:


[root@hp-moonshot-02-c10 ~]# rpm -qR edac-utils                                                                       
/bin/sh
/bin/sh
/bin/sh
/bin/sh
/usr/bin/perl
config(edac-utils) = 0.16-12.el7
hwdata
ld-linux-aarch64.so.1()(64bit)
ld-linux-aarch64.so.1(GLIBC_2.17)(64bit)
libc.so.6()(64bit)
libc.so.6(GLIBC_2.17)(64bit)
libedac.so.1()(64bit)
libsysfs.so.2()(64bit)
perl(File::Basename)
perl(Getopt::Long)
perl(strict)
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rtld(GNU_HASH)
sysfsutils
systemd-units
systemd-units
systemd-units
rpmlib(PayloadIsXz) <= 5.2-1

Comment 2 Aristeu Rozanski 2015-09-18 13:53:57 UTC
dmidecode is x86 only and used to try to "guess" the memory module labels. I'll
fix it so it won't error out on dmidecode not being found.

Comment 3 Aristeu Rozanski 2015-09-18 14:38:19 UTC
Upstream's 7629ebb853687afe144987d301d77a4ff99c65b5 fixes the issue.
Changes ready, waiting for flags.