redhat-cip / edeploy

Linux systems provisioning and updating made easy
Apache License 2.0
92 stars 38 forks source link

lshw segfaults on some installation with RHEL7 #205

Closed ErwanAliasr1 closed 9 years ago

ErwanAliasr1 commented 9 years ago

As reported by @AlexandreNo on a real customer installation, we had a case on some Dell R720 where lshw segfaults like

[root@lb01 /]# lshw * stack smashing detected *: lshw terminated Segmentation fault

The bad of that situation is the client tries to upload something to the server while it will lack of many mandatory information. We shall not continue if lshw does segfault.

ErwanAliasr1 commented 9 years ago

On RHEL6, we were using lshw from repoforge to get a recent version of lshw and EPEL didn't provided that.

On RHEL7, epel & rhel does provide lshw in an acceptable version. We shall use that ones instead of the crappy repoforge one.

As per tests executed with @AlexandreNo, lshw taken from EPEL does not segfault anymore.

ErwanAliasr1 commented 9 years ago

Creating a link with https://github.com/enovance/hardware/issues/3 to define how we should handle the segfault part of that bug.

ErwanAliasr1 commented 9 years ago

The issue was closed on hardware so let's close this one too.