draios / draios/sysdig-inspect

(c)sysdig binaries bundled in 0.1.42 not working on Ubuntu 14.04

Open
#12 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

type: bug
Dominant language
JavaScript
Stars
1k
Forks
76
PR merge metrics
No merged PRs in 30d

Description

Hi,

First, congrats for releasing sysdig-inspect, it looks amazing!

Small bug report (for sysdig-inspect_0.1.42_amd64.deb): on Ubuntu 14.04, the bundled binaries of sysdig and csysdig don't work, because of that:

$ /usr/lib/sysdig-inspect/resources/app/ember-electron/resources/sysdig/sysdig --help
/usr/lib/sysdig-inspect/resources/app/ember-electron/resources/sysdig/sysdig: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /usr/lib/sysdig-inspect/resources/app/ember-electron/resources/sysdig/sysdig)
/usr/lib/sysdig-inspect/resources/app/ember-electron/resources/sysdig/sysdig: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /usr/lib/sysdig-inspect/resources/app/ember-electron/resources/sysdig/sysdig)

$ /usr/lib/sysdig-inspect/resources/app/ember-electron/resources/sysdig/csysdig --help
/usr/lib/sysdig-inspect/resources/app/ember-electron/resources/sysdig/csysdig: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /usr/lib/sysdig-inspect/resources/app/ember-electron/resources/sysdig/csysdig)
/usr/lib/sysdig-inspect/resources/app/ember-electron/resources/sysdig/csysdig: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by /usr/lib/sysdig-inspect/resources/app/ember-electron/resources/sysdig/csysdig)
/usr/lib/sysdig-inspect/resources/app/ember-electron/resources/sysdig/csysdig: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /usr/lib/sysdig-inspect/resources/app/ember-electron/resources/sysdig/csysdig)

Context:

$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 14.04.5 LTS
Release:	14.04
Codename:	trusty

$ dpkg -l | grep sysdig
ii  sysdig                                                0.18.0                                                            amd64        sysdig, a system-level exploration and troubleshooting tool
ii  sysdig-inspect                                        0.1.42-1                                                          amd64        Sysdig Inspect

$ apt-cache policy sysdig
sysdig:
  Installé : 0.18.0
  Candidat : 0.18.0
 Table de version :
 *** 0.18.0 0
        500 http://download.draios.com/stable/deb/ stable-amd64/ Packages
        100 /var/lib/dpkg/status
<snip>

As a workaround, I've symlinked /usr/lib/sysdig-inspect/resources/app/ember-electron/resources/sysdig/csysdig to /usr/bin/csysdig (and same for sysdig), and so far it seems to work. I hope at some point you will publish sysdig-inspect on your apt repository, with a dependency on sysdig to replace bundled binaries.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the --help failures for the bundled sysdig and csysdig under /usr/lib/sysdig-inspect/resources/app/ember-electron/resources/sysdig/ on Ubuntu 14.04, then compare them with the working /usr/bin binaries mentioned in the workaround. Done means the packaged binaries run without the reported GLIBCXX or CXXABI errors, or the package consistently uses an appropriate sysdig dependency.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux, ubuntu
Domain
operating-systems, release
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.