Bug 1186953 - ceph-dencoder links against libtcmalloc
Summary: ceph-dencoder links against libtcmalloc
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Build
Version: 1.2.2
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: pre-dev-freeze
: 1.2.3
Assignee: Ken Dreyer (Red Hat)
QA Contact: Stanislav Graf
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-01-28 23:30 UTC by Ken Dreyer (Red Hat)
Modified: 2022-02-21 18:45 UTC (History)
3 users (show)

Fixed In Version: ceph-0.80.8-4.el7cp ceph-0.80.8-4.el6cp
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1210415 (view as bug list)
Environment:
Last Closed: 2015-03-23 12:37:33 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Ceph Project Bug Tracker 10691 0 None None None Never
Red Hat Issue Tracker RHCEPH-3547 0 None None None 2022-02-21 18:45:18 UTC
Red Hat Product Errata RHBA-2015:0713 0 normal SHIPPED_LIVE ceph-common bug fix and enhancement update 2015-03-23 16:36:14 UTC

Description Ken Dreyer (Red Hat) 2015-01-28 23:30:55 UTC
Description of problem:
/usr/bin/ceph-dencoder links against libtcmalloc. It is the only thing in ceph-common that does that.

rh-common does not (will not) have gperftools-libs, so the ceph-common package from rh-common cannot be installed using only the rh-common repository.

Version-Release number of selected component (if applicable):
ceph-0.80.8-1.el7cp

Steps to Reproduce:
1. Ensure that the gperftools-libs package is not available via any other repository, such as the ceph-mon or ceph-osd channels.
2. "yum install ceph-common-0.80.8-1.el7cp" from the rh-common Puddle

Actual results:
ceph-common fails to install because yum cannot find gperftools-libs

Expected results:
ceph-common should install as expected; it should not require gperftools-libs


Additional info:
Sage confirmed on IRC that /usr/bin/ceph-dencoder should not be linked against libtcmalloc.

Comment 10 John Poelstra 2015-02-19 18:56:32 UTC
need to add to errata

Comment 14 Stanislav Graf 2015-03-16 18:26:13 UTC
RHEL7
-----

# file /usr/bin/ceph-dencoder
/usr/bin/ceph-dencoder: ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), dynamically linked (uses shared libs), for GNU/Linux 2.6.32, BuildID[sha1]=0x6f2e6f62327d43d72e256c06eda1df89bd25ed77, stripped

# ldd /usr/bin/ceph-dencoder
        linux-vdso.so.1 =>  (0x00007fffd4d9f000)
        libnss3.so => /lib64/libnss3.so (0x00007f6673d96000)
        libnspr4.so => /lib64/libnspr4.so (0x00007f6673b58000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f667393b000)
        libuuid.so.1 => /lib64/libuuid.so.1 (0x00007f6673736000)
        libboost_thread-mt.so.1.53.0 => /lib64/libboost_thread-mt.so.1.53.0 (0x00007f667351f000)
        libboost_system-mt.so.1.53.0 => /lib64/libboost_system-mt.so.1.53.0 (0x00007f667331a000)
        libstdc++.so.6 => /lib64/libstdc++.so.6 (0x00007f6673013000)
        libm.so.6 => /lib64/libm.so.6 (0x00007f6672d11000)
        libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f6672afa000)
        libc.so.6 => /lib64/libc.so.6 (0x00007f6672739000)
        libnssutil3.so => /lib64/libnssutil3.so (0x00007f667250d000)
        libplc4.so => /lib64/libplc4.so (0x00007f6672307000)
        libplds4.so => /lib64/libplds4.so (0x00007f6672103000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00007f6671eff000)
        librt.so.1 => /lib64/librt.so.1 (0x00007f6671cf6000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f66740c4000)
# rpm -q ceph-common
ceph-common-0.80.8-5.el7cp.x86_64


RHEL6
-----
# file /usr/bin/ceph-dencoder
/usr/bin/ceph-dencoder: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.18, stripped
# ldd /usr/bin/ceph-dencoder
        linux-vdso.so.1 =>  (0x00007fff025c2000)
        libnss3.so => /usr/lib64/libnss3.so (0x00000037bd600000)
        libnspr4.so => /lib64/libnspr4.so (0x00000037be200000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00000037bb200000)
        libuuid.so.1 => /lib64/libuuid.so.1 (0x00000037bba00000)
        libboost_thread-mt.so.5 => /usr/lib64/libboost_thread-mt.so.5 (0x00007f7528de6000)
        libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00000037bb600000)
        libm.so.6 => /lib64/libm.so.6 (0x00007f7528b61000)
        libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00000037bca00000)
        libc.so.6 => /lib64/libc.so.6 (0x00000037bae00000)
        libnssutil3.so => /usr/lib64/libnssutil3.so (0x00000037bee00000)
        libplc4.so => /lib64/libplc4.so (0x00000037bea00000)
        libplds4.so => /lib64/libplds4.so (0x00000037bda00000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00000037baa00000)
        librt.so.1 => /lib64/librt.so.1 (0x00007f7528957000)
        /lib64/ld-linux-x86-64.so.2 (0x00000037ba600000)
# rpm -q ceph-common
ceph-common-0.80.8-5.el6cp.x86_64

---> VERIFIED

Comment 16 errata-xmlrpc 2015-03-23 12:37:33 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-0713.html


Note You need to log in before you can comment on or make changes to this bug.