Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-47756

Superfluous database-tools-extra RPM components installed

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.7.0
    • Affects Version/s: 4.4.0-rc2
    • Component/s: Packaging
    • Labels:
    • Fully Compatible
    • Dev Platform 2020-05-04

      Inspecting the Community and Enterprise versions of database-tools-extra for MDB 4.4.0rc2, I noticed some extra inclusions:


      • Includes the mongoldap manpage:
      [vagrant@centos8 /]$ cd /tmp
      [vagrant@centos8 tmp]$ wget https://repo.mongodb.org/yum/redhat/8/mongodb-org/testing/x86_64/RPMS/mongodb-org-database-tools-extra-4.4.0-0.1.rc2.el8.x86_64.rpm
      [vagrant@centos8 tmp]$ ls -l mongodb-org*
      -rw-rw-r--.  1 vagrant vagrant 20K Apr 22 06:39 mongodb-org-database-tools-extra-4.4.0-0.1.rc2.el8.x86_64.rpm
      [vagrant@centos8 tmp]$ rpm -ql mongodb-org-database-tools-extra-4.4.0-0.1.rc2.el8.x86_64.rpm
      [vagrant@centos8 tmp]$ ls -l /usr/bin/install_compass
      -rwxr-xr-x. 1 root root 7694 Apr 22 06:13 /usr/bin/install_compass
      [vagrant@centos8 tmp]$ ls -l /usr/share/man/man1/mongoldap.1
      -rw-r--r--. 1 root root 22920 Apr 22 06:13 /usr/share/man/man1/mongoldap.1


      • Includes possibly-unwanted packaging debugging info from rpmbuild (i.e. the /usr/lib/.build-id directory):
      [vagrant@centos8 tmp]$ wget https://repo.mongodb.com/yum/redhat/8/mongodb-enterprise/testing/x86_64/RPMS/mongodb-enterprise-database-tools-extra-4.4.0-0.1.rc2.el8.x86_64.rpm
      [vagrant@centos8 tmp]$ ls -l mongodb-enterprise*
      -rw-rw-r--.  1 vagrant vagrant  36M Apr 22 08:11 mongodb-enterprise-database-tools-extra-4.4.0-0.1.rc2.el8.x86_64.rpm
      [vagrant@centos8 tmp]$ rpm -ql mongodb-enterprise-database-tools-extra-4.4.0-0.1.rc2.el8.x86_64.rpm

      Not sure about the /usr/lib/.build-id inclusion. It's possible that we want this in the Enterprise package to enable user debugging of our binaries, but we ship them already-built so it seems unlikely. And I would then also expect them in the Community version if so.

      Note: I checked the corresponding deb packages, and all seemed in order.

      Hope this helps!

            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            andrew.feierabend@mongodb.com Andrew Feierabend (Inactive)
            0 Vote for this issue
            4 Start watching this issue