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

2021-12-08 Thread Daniel WIer
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
Bugs, which is subscribed to 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"

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

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

2021-05-20 Thread Launchpad Bug Tracker
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   Fri, 30 Apr 2021 12:13:27 +0100

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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"

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

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

2021-05-20 Thread Launchpad Bug Tracker
This bug was fixed in the package ceph - 15.2.11-0ubuntu0.20.10.2

---
ceph (15.2.11-0ubuntu0.20.10.2) groovy; urgency=medium

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

ceph (15.2.11-0ubuntu0.20.10.1) groovy; urgency=high

  [ 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 (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: Update for mismatched size_t/uint64_t on
  armhf causing compilation failure.

 -- James Page   Fri, 30 Apr 2021 12:10:45 +0100

** Changed in: ceph (Ubuntu Groovy)
   Status: Fix Committed => Fix Released

** CVE added: https://cve.mitre.org/cgi-bin/cvename.cgi?name=2021-20288

** Changed in: ceph (Ubuntu Focal)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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"

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

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

2021-05-14 Thread Aurelien Lourot
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
Bugs, which is subscribed to 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"

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

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

2021-05-14 Thread Aurelien Lourot
I confirm that focal-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.04.2

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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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"

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

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

2021-05-14 Thread Aurelien Lourot
Oh I see, I validated 15.2.11-0ubuntu0.20.04.1 but now I need to
validate 15.2.11-0ubuntu0.20.04.2, on it.

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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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"

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

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

2021-05-13 Thread Aurelien Lourot
I validated focal already, see comment #20

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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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"

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

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

2021-04-29 Thread Aurelien Lourot
I confirm that focal-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.04.1

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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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"

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

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

2021-04-26 Thread Timo Aaltonen
Hello Insanemal, or anyone else affected,

Accepted ceph into focal-proposed. The package will build now and be
available at
https://launchpad.net/ubuntu/+source/ceph/15.2.11-0ubuntu0.20.04.1 in a
few hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.  Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
focal to verification-done-focal. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-focal. In either case, without details of your testing we will
not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

** Changed in: ceph (Ubuntu Focal)
   Status: New => Fix Committed

** Tags added: verification-needed-focal

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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"

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

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

2021-04-26 Thread Timo Aaltonen
Hello Insanemal, or anyone else affected,

Accepted ceph into groovy-proposed. The package will build now and be
available at
https://launchpad.net/ubuntu/+source/ceph/15.2.11-0ubuntu0.20.10.1 in a
few hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.  Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
groovy to verification-done-groovy. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-groovy. In either case, without details of your testing we will
not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

** Changed in: ceph (Ubuntu Groovy)
   Status: New => Fix Committed

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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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"

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

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

2021-04-07 Thread James Page
@itsafire1 - I'm guessing you are using the upstream Ceph project
published packages - they will have this issue as the isa-l submodule
has not been updated to pickup the required fixes.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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"

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

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

2021-04-06 Thread Andreas Elvers
I suffer from the same problem. Upgraded ARM OSDs not starting up
anymore. I am on Ubuntu Bionic, Ceph packages are on 15.2.10. Packages
in #13 are too old for trying them.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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"

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

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

2021-03-26 Thread James Page
** Description changed:

- OSD's fail to start with "error while loading shared libraries: cannot
- make segment writable for relocation: Permission denied"
+ [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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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"

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

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

2021-03-17 Thread Launchpad Bug Tracker
This bug was fixed in the package ceph - 16.1.0-0ubuntu3

---
ceph (16.1.0-0ubuntu3) hirsute; urgency=medium

  * d/p/issue49494.patch: Cherry pick fix for issue with preprocessor
logic which causes backport failures to focal.
  * 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 (LP: #1917414).

 -- James Page   Mon, 15 Mar 2021 08:26:01 +

** Changed in: ceph (Ubuntu Hirsute)
   Status: Confirmed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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"

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

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

2021-03-11 Thread James Page
Packages have completed build for all architectures in the PPA
referenced in #13 - I would appreciate it if one of the bug reporters
impacted by this issue on ARM64 could test and confirm whether this
resolves the issue they encountered on upgrade to 15.2.8

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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"

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

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

2021-03-08 Thread James Page
I've picked the upstream fix into isa-l into the ceph packages for focal
- this probably impacts through to the current snapshot Ubuntu has in
hirsute development as well.

Test packages will take a day or so to build here:

  https://launchpad.net/~ci-train-ppa-service/+archive/ubuntu/3535

** Also affects: ceph (Ubuntu Focal)
   Importance: Undecided
   Status: New

** Also affects: ceph (Ubuntu Hirsute)
   Importance: Undecided
   Status: Confirmed

** Also affects: ceph (Ubuntu Groovy)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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"

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

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

2021-03-08 Thread James Page
leading to:

https://tracker.ceph.com/issues/48681

** Bug watch added: tracker.ceph.com/issues #48681
   http://tracker.ceph.com/issues/48681

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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"

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

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

2021-03-08 Thread James Page
https://github.com/ceph/ceph/commit/9091b7cc32fc0d031ab44dd2640bc2dc7ec82f61

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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"

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

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

2021-03-08 Thread James Page
15.2.8 appears to have enabled some EC features under ARM:

https://paste.ubuntu.com/p/YWYZrSGPhq/

however I see one of the architectures listed here is RISC so that might
not be the cause.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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"

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

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

2021-03-07 Thread Yash
I was able to get past this issue.
In my case, the ceph-mon was invoked by systemctl service file. So, I had to 
change the below property under the "[Service]" node of file: 
/lib/systemd/system/ceph-mon@.service

- MemoryDenyWriteExecute=true
+ MemoryDenyWriteExecute=false

As per the system manpage[0]:

MemoryDenyWriteExecute=
Takes a boolean argument. If set, attempts to create memory mappings that are 
writable and executable at the same time, or to change existing memory mappings 
to become executable, or mapping shared memory segments as executable are 
prohibited. Specifically, a system call filter is added that rejects mmap(2) 
system calls with both PROT_EXEC and PROT_WRITE set, mprotect(2) or 
pkey_mprotect(2) system calls with PROT_EXEC set and shmat(2) system calls with 
SHM_EXEC set. Note that this option is incompatible with programs and libraries 
that generate program code dynamically at runtime, including JIT execution 
engines, executable stacks, and code "trampoline" feature of various C 
compilers.


This particular property was preventing the ceph-mon executable to run due to 
the above prohibitions.
After making the above change, I had to run 
$ systemctl daemon-reload
And then restarting the service worked for me!

[0]: https://www.freedesktop.org/software/systemd/man/systemd.exec.html

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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"

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

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

2021-03-06 Thread Insanemal
Can confirm downgrade to 15.2.7-0ubuntu0.20.04.2 has got my node
working.

Thanks for the heads up.

Obviously this is only a band-aid.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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"

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

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

2021-03-06 Thread AC
A quick update:

For the hell of it I tried to downgrade to  15.2.7-0ubuntu0.20.04.2
instead. The osd all came back online once it was downgraded. Tested a
reboot and it was fine as well.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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"

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

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

2021-03-05 Thread AC
So I'm running into the same issue as well. It was working a few days ago even 
when I restarted my rpi 4 8gb also running ubuntu 20.04.
I upgraded today and amongst the packages was ceph-osd. Then the rpi stopped 
working after a reboot. The last time the pi was upgraded was 2 weeks ago.
This is still just a test cluster so I'm more than happy to do any testing to 
figure out what's going on here.

2021-03-05T21:15:56.786-0800 8d008040  0 set uid:gid to 64045:167 
(ceph:ceph)
2021-03-05T21:15:56.786-0800 8d008040  0 ceph version 15.2.8 
(bdf3eebcd22d7d0b3dd4d5501bee5bac354d5b55) octopus (stable), process ceph-osd, 
pid 3300
2021-03-05T21:15:56.786-0800 8d008040  0 pidfile_write: ignore empty 
--pid-file
2021-03-05T21:15:56.790-0800 8d008040  1 bdev create path 
/var/lib/ceph/osd/ceph-3/block type kernel
2021-03-05T21:15:56.790-0800 8d008040  1 bdev(0xaaab170f4000 
/var/lib/ceph/osd/ceph-3/block) open path /var/lib/ceph/osd/ceph-3/block
2021-03-05T21:15:56.790-0800 8d008040  1 bdev(0xaaab170f4000 
/var/lib/ceph/osd/ceph-3/block) open size 8001561821184 (0x7470240, 7.3 
TiB) block_size 4096 (4 KiB) rotational discard not supported
2021-03-05T21:15:56.790-0800 8d008040  1 
bluestore(/var/lib/ceph/osd/ceph-3) _set_cache_sizes cache_size 1073741824 meta 
0.4 kv 0.4 data 0.2
2021-03-05T21:15:56.790-0800 8d008040  1 bdev create path 
/var/lib/ceph/osd/ceph-3/block type kernel
2021-03-05T21:15:56.790-0800 8d008040  1 bdev(0xaaab170f4380 
/var/lib/ceph/osd/ceph-3/block) open path /var/lib/ceph/osd/ceph-3/block
2021-03-05T21:15:56.794-0800 8d008040  1 bdev(0xaaab170f4380 
/var/lib/ceph/osd/ceph-3/block) open size 8001561821184 (0x7470240, 7.3 
TiB) block_size 4096 (4 KiB) rotational discard not supported
2021-03-05T21:15:56.794-0800 8d008040  1 bluefs add_block_device bdev 1 
path /var/lib/ceph/osd/ceph-3/block size 7.3 TiB
2021-03-05T21:15:56.794-0800 8d008040  1 bdev(0xaaab170f4380 
/var/lib/ceph/osd/ceph-3/block) close
2021-03-05T21:15:57.082-0800 8d008040  1 bdev(0xaaab170f4000 
/var/lib/ceph/osd/ceph-3/block) close
2021-03-05T21:15:57.330-0800 8d008040  0 starting osd.3 osd_data 
/var/lib/ceph/osd/ceph-3 /var/lib/ceph/osd/ceph-3/journal
2021-03-05T21:15:57.330-0800 8d008040 -1 Falling back to public interface
2021-03-05T21:15:57.350-0800 8d008040 -1 load: jerasure load: lrc load 
dlopen(/usr/lib/aarch64-linux-gnu/ceph/erasure-code/libec_isa.so): 
/usr/lib/aarch64-linux-gnu/ceph/erasure-code/libec_isa.so: cannot make segment 
writable for relocation: Operation not permitted

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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"

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

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

2021-03-04 Thread Insanemal
Also if you check your ceph-mon.X.log under /var/log/ceph it should have
a more detailed error message about what it was doing when it hit the
permission error. Unless its actually ceph-mon it self and not an
external lib causing the issue.

Anyway it's worth a look.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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"

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

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

2021-03-04 Thread Insanemal
Hi,

In my case it was in the ceph-osd.0.log

I should paste the log line. Let me just log into the rpi, assuming it's
still on.

2021-03-01T15:01:44.708+ a248a040 -1 load: jerasure load: lrc
load dlopen(/usr/lib/aarch64-linux-gnu/ceph/erasure-code/libec_isa.so):
/usr/lib/aarch64-linux-gnu/ceph/erasure-code/libec_isa.so: cannot make
segment writable for relocation: Operation not permitted

Sorry I should have posted the full log line. I did assume it would
cause issues with other libs that were compiled without no-PIC, assuming
that is the issue, and it looks like I might have been right.

I didn't need a mon as this is a OSD node, my mon's are currently
located on faster x86_64 nodes. But it's interesting to see that it
causes issues with MON and OSD services.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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"

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

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

2021-03-04 Thread Yash
I am facing the same error with ceph-mon, while running Ubuntu Focal (20.04) 
pre-installed riscv64 server img on QEMU.
I am manually deploying ceph by following the steps provided on the official 
site[0].

When executing this cmd:
$ sudo systemctl start ceph-mon@node1
I am getting the below error:

Mar 04 06:35:21 ubuntu systemd[1]: Started Ceph cluster monitor daemon.
Mar 04 06:35:21 ubuntu ceph-mon[5357]: /usr/bin/ceph-mon: error while loading 
shared libraries: cannot make segment writable for relocation: Operation not 
permitted
Mar 04 06:35:21 ubuntu systemd[1]: ceph-mon@ubuntu.service: Main process 
exited, code=exited, status=127/n/a
Mar 04 06:35:21 ubuntu systemd[1]: ceph-mon@ubuntu.service: Failed with result 
'exit-code'.

How were you able to track down that the problem is with "libec_isa.so"
in your case?

[0]: https://docs.ceph.com/en/latest/install/manual-deployment/

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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"

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

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

2021-03-04 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: ceph (Ubuntu)
   Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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"

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

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

2021-03-03 Thread Insanemal
Hey can I provide any more info or anything to get this looked at
sooner? I've got a mixed x86_64, arm64 cluster and I currently can't use
any of my arm nodes. I'm happy to help however I can.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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"

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs