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

Lee Trager lee.trager at canonical.com
Thu Feb 14 21:04:48 UTC 2019


Can you confirm storage is working correctly for you? Does the system
you are experiencing this on have Intel SGX? Upstream recently committed
a patch [1] to prevent a segmentation fault when using Intel SGX.  Can
you try building lshw from source[2] and see if you can reproduce the
issue?

Closing the MAAS issue as this is a problem with lshw, not MAAS.

[1] https://ezix.org/src/pkg/lshw/commit/5e5744732b2dcdf83845919256388b3842033183
[2] https://ezix.org/src/pkg/lshw#

** Changed in: maas
       Status: New => Invalid

** Changed in: lshw (Ubuntu)
       Status: New => Incomplete

-- 
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:
  Invalid
Status in lshw package in Ubuntu:
  Incomplete

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