Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.1:Ports
ceph
0036-Bug-fix-to-ceph-systemV-compatabili.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0036-Bug-fix-to-ceph-systemV-compatabili.patch of Package ceph
From: Owen Synge <osynge@suse.com> Date: Thu, 7 May 2015 12:02:41 +0200 Subject: [PATCH] Bug fix to ceph systemV compatability script. Was failing with more than one OSD / MON deamon on a single node. Fixes suse bugzilla #927862 Signed-off-by: Owen Synge <osynge@suse.com> --- systemd/ceph | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/systemd/ceph b/systemd/ceph index 251b4a0..1657779 100644 --- a/systemd/ceph +++ b/systemd/ceph @@ -33,14 +33,14 @@ prefix="${cluster}-" case $action in start | stop | status | enable | disable | mask | unmask | restart | is-active | is-failed | show | kill | reset-failed ) n=0 - if test -n ${lmon} ; then + if test -n "${lmon}" ; then for s in ${lmon#=${prefix}} ; do systemctl "${action}" ceph-mon@${s#$prefix}.service rc_check ((++n)) done fi - if test -n ${losd} ; then + if test -n "${losd}" ; then for s in ${losd#=${prefix}} ; do systemctl "${action}" ceph-osd@${s#$prefix}.service rc_check
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor