Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP1:Update
pacemaker.3577
pacemaker-cts-DummySD-stop.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File pacemaker-cts-DummySD-stop.patch of Package pacemaker.3577
commit 4693a15f9f1c2ece9b6af463b99c8900f86b078e Author: Ken Gaillot <kgaillot@redhat.com> Date: Wed Jun 8 18:30:59 2016 -0500 Test: cts: avoid kill usage error if DummySD stop called when already stopped diff --git a/cts/CIB.py b/cts/CIB.py index b723cf0..06c72d0 100644 --- a/cts/CIB.py +++ b/cts/CIB.py @@ -414,8 +414,7 @@ Description=Dummy resource that takes a while to start [Service] Type=notify ExecStart=/usr/bin/python -c 'import time, systemd.daemon; time.sleep(10); systemd.daemon.notify("READY=1"); time.sleep(86400)' -ExecStop=/bin/sleep 10 -ExecStop=/bin/kill -s KILL \$MAINPID +ExecStop=/bin/sh -c 'sleep 10; [ -n "\$MAINPID" ] && kill -s KILL \$MAINPID' """ os.system("cat <<-END >/tmp/DummySD.service\n%s\nEND" % (dummy_service_file))
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