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

Daniel WIer 1917414 at bugs.launchpad.net
Thu Dec 9 02:09:52 UTC 2021


I have run into this exact same issue in 16.2.6 and 16.2.7 on Ubuntu

Changing MemoryDenyWriteExecute to false allows the OSD to start on rPi
4 ARM64 systems.

Kernel version 5.4.0-1045-raspi
Ubuntu 20.04.1 LTS

Just wanted to let you know that those packages have not been patched.

-- 
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