[Bug 1917414] Re: Ceph-osd fails to start with "error while loading shared libraries: cannot make segment writable for relocation: Permission denied"

Launchpad Bug Tracker 1917414 at bugs.launchpad.net
Thu May 20 07:52:49 UTC 2021


This bug was fixed in the package ceph - 15.2.11-0ubuntu0.20.04.2

---------------
ceph (15.2.11-0ubuntu0.20.04.2) focal; urgency=medium

  * d/p/bug1914584.patch: Drop as this patch does not fix the actual
    issue.

ceph (15.2.11-0ubuntu0.20.04.1) focal; urgency=medium

  [ James Page ]
  * d/p/bug1917414.patch: Cherry pick fix to isa-l to remove use of
    text relocation calls which cause ceph-osd and ceph-mon daemons to
    fail to start on aarch64 (LP: #1917414).

  [ Chris MacNaughton ]
  * d/p/bug1914584.patch: Improve rgw diagnostic when reusing email
    (LP: #1914584).

  [ James Page ]
  * SECURITY UPDATE: New upstream stable point release (LP: #1921349):
    - CVE-2021-20288
    - d/p/bug1911900-fix-scrub-blocking-balancer.patch:
      Drop, included in release.
    - d/p/32bit-fixes.patch: Resolve compilation failure on armhf due to
      mismatched size_t/uint64_t types.

 -- James Page <james.page at ubuntu.com>  Fri, 30 Apr 2021 12:13:27 +0100

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to ceph in Ubuntu.
https://bugs.launchpad.net/bugs/1917414

Title:
  Ceph-osd fails to start with "error while loading shared libraries:
  cannot make segment writable for relocation: Permission denied"

Status in ceph package in Ubuntu:
  Fix Released
Status in ceph source package in Focal:
  Fix Released
Status in ceph source package in Groovy:
  Fix Released
Status in ceph source package in Hirsute:
  Fix Released

Bug description:
  [Impact]
  Ceph Daemons will not start on arm64

  [Test Case]
  Install ceph on arm64 based servers
  Daemons will fail to startup with the error message as recorded in the original bug report

  [What might got wrong]
  Use of the ISA-L Erasure Coding library was enabled for ARM64 in a point release of octopus (15.2.8).  Ceph daemons make use of MemoryDenyWriteExecute=true in systemd configurations and the ISA-L support for ARM64 uses some text relocation which breaks under this configuration.   Fix was picked from the ISA-L code base.

  
  [Original bug report]
  OSD's fail to start with "error while loading shared libraries: cannot make segment writable for relocation: Permission denied"

  The specific library is libec_isa.so

  And it appears to be while the OSD is starting the Jerasure modules.

  I'm going to assume its not compiled with no-PIC which might be a
  hold-over from previous releases?

  Hardware is Rasberry PI 4 4GB
  Ubuntu is 20.04 LTS downloaded on the 1/3/2021 (Or for US date format 3/1/2021)

  Package version is: 15.2.8-0ubuntu0.20.04.1

  Bug reporter wouldn't let me select
  https://launchpad.net/ubuntu/focal/arm64/ceph-
  osd/15.2.8-0ubuntu0.20.04.1 as the package

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1917414/+subscriptions



More information about the Ubuntu-openstack-bugs mailing list