[Bug 1815788] [NEW] lshw exits with segmentation fault when commissioning a new node on maas

osprey 1815788 at bugs.launchpad.net
Wed Feb 13 18:01:57 UTC 2019


Public bug reported:

Commissioning of new nodes on maas fails due to segfault in lshw, more specifically in 00-maas-01-lshw step.
The log output is 
/tmp/user_data.sh.9Xnacy/scripts/commissioning/00-maas-01-lshw: line 6:  2514 Segmentation fault      sudo -n /usr/bin/lshw -xml

lshw exits with Segmentation fault even if launched directly from the
shell

ubuntu at model-seal:/var/crash$ sudo lshw
Segmentation fault          
ubuntu at model-seal:/var/crash$ 

However the same command works correctly if launched with --disable SCSI
option

The environment is the ephemeral stage of maas 2.4 with ubuntu 18.04.2
LTS

lsb_release -rd
Description:	Ubuntu 18.04.2 LTS
Release:	18.04

apt-cache policy lshw
lshw:
  Installed: 02.18-0.1ubuntu6.18.04.1
  Candidate: 02.18-0.1ubuntu6.18.04.1
  Version table:
 *** 02.18-0.1ubuntu6.18.04.1 500
        500 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     02.18-0.1ubuntu6 500
        500 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: lshw 02.18-0.1ubuntu6.18.04.1
ProcVersionSignature: Ubuntu 4.15.0-45.48-generic 4.15.18
Uname: Linux 4.15.0-45-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.5
Architecture: amd64
Date: Wed Feb 13 17:53:17 2019
SourcePackage: lshw
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: maas
     Importance: Undecided
         Status: New

** Affects: lshw (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug bionic uec-images

** Attachment added: "crash file"
   https://bugs.launchpad.net/bugs/1815788/+attachment/5238410/+files/_usr_bin_lshw.0.crash

** Also affects: maas
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to lshw in Ubuntu.
https://bugs.launchpad.net/bugs/1815788

Title:
  lshw exits with segmentation fault when commissioning a new node on
  maas

Status in MAAS:
  New
Status in lshw package in Ubuntu:
  New

Bug description:
  Commissioning of new nodes on maas fails due to segfault in lshw, more specifically in 00-maas-01-lshw step.
  The log output is 
  /tmp/user_data.sh.9Xnacy/scripts/commissioning/00-maas-01-lshw: line 6:  2514 Segmentation fault      sudo -n /usr/bin/lshw -xml

  lshw exits with Segmentation fault even if launched directly from the
  shell

  ubuntu at model-seal:/var/crash$ sudo lshw
  Segmentation fault          
  ubuntu at model-seal:/var/crash$ 

  However the same command works correctly if launched with --disable
  SCSI option

  The environment is the ephemeral stage of maas 2.4 with ubuntu 18.04.2
  LTS

  lsb_release -rd
  Description:	Ubuntu 18.04.2 LTS
  Release:	18.04

  apt-cache policy lshw
  lshw:
    Installed: 02.18-0.1ubuntu6.18.04.1
    Candidate: 02.18-0.1ubuntu6.18.04.1
    Version table:
   *** 02.18-0.1ubuntu6.18.04.1 500
          500 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages
          100 /var/lib/dpkg/status
       02.18-0.1ubuntu6 500
          500 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages

  ProblemType: Bug
  DistroRelease: Ubuntu 18.04
  Package: lshw 02.18-0.1ubuntu6.18.04.1
  ProcVersionSignature: Ubuntu 4.15.0-45.48-generic 4.15.18
  Uname: Linux 4.15.0-45-generic x86_64
  ApportVersion: 2.20.9-0ubuntu7.5
  Architecture: amd64
  Date: Wed Feb 13 17:53:17 2019
  SourcePackage: lshw
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/maas/+bug/1815788/+subscriptions



More information about the foundations-bugs mailing list