[pkg-go] Bug#986695: prometheus-mongodb-exporter: MongoDB exporter segfaults when connecting with relatively recent MongoDB databases

Paragoumba paragoumba at gmail.com
Fri Apr 9 18:39:05 BST 2021


Package: prometheus-mongodb-exporter
Version: 1.0.0+git20180522.e755a44-1+b20
Severity: grave
Tags: upstream
Justification: renders package unusable

Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Paragoumba <paragoumba at gmail.com>
To: Debian Bug Tracking System <submit at bugs.debian.org>
Subject: prometheus-mongodb-exporter: Mongodb Exporter segfaults with new versions of MongoDB
Message-ID: <161798894396.8376.16006048479438587500.reportbug at 5h4d0w-tp.pulseheberg.com>
X-Mailer: reportbug 7.5.3~deb10u1
Date: Fri, 09 Apr 2021 19:22:23 +0200

Package: prometheus-mongodb-exporter
Version: 1.0.0+git20180522.e755a44-1+b20
Severity: grave
Tags: upstream
Justification: renders package unusable

Dear Maintainer,

   * What led up to the situation?
	I tried to install prometheus-mongodb-exporter to export statistics about my MongoDB instance. After multiple attempt to
	make it connect to the database, I stopped the systemd service and ran it by hand and noticed it segfaults upon connecting.

   * What exactly did you do (or not do) that was effective (or
     ineffective)?
	I checked multiple times the config and that proved to be ineffective. The problem doesn't come from a faulty configuration.
	The package is incompatible with the newer versions of MongoDB

   * What was the outcome of this action?
	It still segfaults

   * What outcome did you expect instead?
	I expect the software to connect successfully and export data

It appears that the upstream github repository (https://github.com/dcu/mongodb_exporter) from which this package is built hasn't
been updated in two years. This other repo (https://github.com/percona/mongodb_exporter) contains the same sources but is actively
maintained. I know it's not unusual for the Debian packages to be several version late but this version is completely unusable and
the only solution for now is to not use the package in the Debian repositories and to install it from source.

-- System Information:
Debian Release: 10.9
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-16-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages prometheus-mongodb-exporter depends on:
ii  daemon  0.6.4-1+b2
ii  libc6   2.28-10

prometheus-mongodb-exporter recommends no packages.

prometheus-mongodb-exporter suggests no packages.

-- Configuration Files:
/etc/default/prometheus-mongodb-exporter changed [not included]

-- debconf-show failed

-- System Information:
Debian Release: 10.9
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-16-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages prometheus-mongodb-exporter depends on:
ii  daemon  0.6.4-1+b2
ii  libc6   2.28-10

prometheus-mongodb-exporter recommends no packages.

prometheus-mongodb-exporter suggests no packages.

-- Configuration Files:
/etc/default/prometheus-mongodb-exporter changed [not included]

-- debconf-show failed



More information about the Pkg-go-maintainers mailing list