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

Aurelien Lourot 1917414 at bugs.launchpad.net
Fri May 14 12:20:02 UTC 2021


I confirm that groovy-proposed is fixed. I've validated this by
deploying a Juju OpenStack bundle on focal arm64 using `distro-proposed`
as source/openstack-origin. The issue I was seeing in the past
(`/usr/lib/aarch64-linux-gnu/ceph/erasure-code/libec_isa.so` that could
not be loaded, leading to the ceph-mon charm being stuck 'executing')
has now vanished. That setup is running ceph-common
15.2.11-0ubuntu0.20.10.2

** Tags removed: verification-needed-groovy
** Tags added: verification-done-groovy

-- 
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 Committed
Status in ceph source package in Groovy:
  Fix Committed
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