Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
No build reason found for SLE-Module-Public-Cloud:x86_64
SUSE:SLE-12-SP1:GA
ceph
0015-Use-sysV-init-script-directly.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0015-Use-sysV-init-script-directly.patch of Package ceph
From: Owen Synge <osynge@suse.com> Date: Tue, 3 Feb 2015 17:58:09 +0100 Subject: [PATCH] Use sysV init script directly ceph-disk:SLE11sp3 /sbin/service cannot take paramteres that start with '--' so use the init script directly. Signed-off-by: Owen Synge <osynge@suse.com> (cherry picked from commit fff38a0f18d1986f63a31e26d2b84749adab88af) --- src/ceph-disk | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/ceph-disk b/src/ceph-disk index 56a37aa..4c761ee 100755 --- a/src/ceph-disk +++ b/src/ceph-disk @@ -1878,14 +1878,9 @@ def start_daemon( ], ) elif os.path.exists(os.path.join(path, 'sysvinit')): - if os.path.exists('/usr/sbin/service'): - svc = '/usr/sbin/service' - else: - svc = '/sbin/service' command_check_call( [ - svc, - 'ceph', + '/etc/init.d/ceph', '--cluster', '{cluster}'.format(cluster=cluster), 'start',
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