Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 756031 - sys-cluster/ceph-15.2.6 broken ceph-osd@.service
Summary: sys-cluster/ceph-15.2.6 broken ceph-osd@.service
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Patrick McLean
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-22 07:48 UTC by Andrej Filipcic
Modified: 2020-11-25 05:34 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrej Filipcic 2020-11-22 07:48:33 UTC
The ceph-15.2.5-systemd-unit-fix.patch using @CMAKE_INSTALL_FULL_LIBEXECDIR@ produces bad unit file resulting in
ExecStartPre=/ceph/ceph-osd-prestart.sh --cluster ${CLUSTER} --id %i


work/ceph-15.2.6_build/systemd/ceph-osd@.service:
...
EnvironmentFile=-@SYSTEMD_ENV_FILE@
Environment=CLUSTER=ceph
ExecStart=/usr/bin/ceph-osd -f --cluster ${CLUSTER} --id %i --setuser ceph --setgroup ceph
ExecStartPre=@CMAKE_INSTALL_FULL_LIBEXECDIR@/ceph/ceph-osd-prestart.sh --cluster ${CLUSTER} --id %i
...

work/ceph-15.2.6_build/systemd/ceph-osd@.service:
...
EnvironmentFile=-/etc/sysconfig/ceph
Environment=CLUSTER=ceph
ExecStart=/usr/bin/ceph-osd -f --cluster ${CLUSTER} --id %i --setuser ceph --setgroup ceph
ExecStartPre=/ceph/ceph-osd-prestart.sh --cluster ${CLUSTER} --id %i
...


Reproducible: Always
Comment 1 Larry the Git Cow gentoo-dev 2020-11-25 05:34:34 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=525e9e97e2dafea711da2a198122275fd1e6dacd

commit 525e9e97e2dafea711da2a198122275fd1e6dacd
Author:     Patrick McLean <patrick.mclean@sony.com>
AuthorDate: 2020-11-25 05:34:01 +0000
Commit:     Patrick McLean <chutzpah@gentoo.org>
CommitDate: 2020-11-25 05:34:29 +0000

    sys-cluster/ceph-15.2.6-r1: Drop patch to systemd unit (bug #756031)
    
    Closes: https://bugs.gentoo.org/756031
    Copyright: Sony Interactive Entertainment Inc.
    Package-Manager: Portage-3.0.10, Repoman-3.0.2
    Signed-off-by: Patrick McLean <chutzpah@gentoo.org>

 sys-cluster/ceph/{ceph-15.2.6.ebuild => ceph-15.2.6-r1.ebuild} | 1 -
 1 file changed, 1 deletion(-)