Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 905870

Summary: =sys-cluster/ceph-17.2.5-r4 init uses wrong path for /usr/bin/radosgw
Product: Gentoo Linux Reporter: ev
Component: Current packagesAssignee: Patrick McLean <chutzpah>
Status: RESOLVED FIXED    
Severity: normal CC: cluster
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: /etc/init.d/ceph rgw fix

Description ev 2023-05-07 11:11:02 UTC
Created attachment 861267 [details, diff]
/etc/init.d/ceph rgw fix

Ceph /etc/init.d/ceph file cannot launch radosgw instance.

Init file expects radosgw binary to be in /usr/bin/ceph-radosgw but nowdays it exists as /usr/bin/radosgw. (this is also the default name for that binary on other dristros)

I'm attaching a patch which solves this issue.
Comment 1 Larry the Git Cow gentoo-dev 2023-05-09 17:49:07 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81a5985a7fdb2fcb371406bc0269de2685a119cf

commit 81a5985a7fdb2fcb371406bc0269de2685a119cf
Author:     Patrick McLean <chutzpah@gentoo.org>
AuthorDate: 2023-05-09 17:48:16 +0000
Commit:     Patrick McLean <chutzpah@gentoo.org>
CommitDate: 2023-05-09 17:49:04 +0000

    sys-cluster/ceph: Revbump, fix radosgw in init script (bug #905870)
    
    Closes: https://bugs.gentoo.org/905870
    Signed-off-by: Patrick McLean <chutzpah@gentoo.org>

 ...ceph-17.2.5-r4.ebuild => ceph-17.2.5-r6.ebuild} |   2 +-
 ...ceph-17.2.6-r1.ebuild => ceph-17.2.6-r2.ebuild} |   2 +-
 sys-cluster/ceph/files/ceph.initd-r14              | 119 +++++++++++++++++++++
 3 files changed, 121 insertions(+), 2 deletions(-)