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

Bug 252621

Summary: [OpenRC] start-stop-daemon --stop --retry : broken in 0.4.0 and 0.4.1 versions?
Product: Gentoo Linux Reporter: Panagiotis Christopoulos (RETIRED) <pchrist>
Component: [OLD] baselayoutAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: normal CC: josch09, nao.nakashima, polynomial-c, roy, tomboy64
Priority: High Keywords: Bug
Version: 2008.0   
Hardware: All   
OS: Linux   
URL: http://www.marples.name/projects/openrc/ticket/129
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: openrc-0.4.1-ssd-fix-stop-signals-on-retry.diff

Description Panagiotis Christopoulos (RETIRED) gentoo-dev 2008-12-26 17:19:43 UTC
Two bugs have reported already, so I open this bug, and mark others, duplicates of this one. See also http://www.marples.name/projects/openrc/ticket/129
Comment 1 Panagiotis Christopoulos (RETIRED) gentoo-dev 2008-12-26 17:20:43 UTC
*** Bug 251728 has been marked as a duplicate of this bug. ***
Comment 2 Panagiotis Christopoulos (RETIRED) gentoo-dev 2008-12-26 17:21:08 UTC
*** Bug 251839 has been marked as a duplicate of this bug. ***
Comment 3 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2008-12-26 18:03:21 UTC
Well the bug gets triggered when the --retry switch is used in conjuction with the --stop switch.
--retry currently sets the signal s-s-d uses to kill some process to 0 instead of 15 (SIGTERM).
Comment 4 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2008-12-28 17:14:40 UTC
Created attachment 176629 [details, diff]
openrc-0.4.1-ssd-fix-stop-signals-on-retry.diff

This is the fix, Roy added to openrc-trunk some hours ago.
I did a quick test with sysklogd's init script and the patch seems to fix the problem.
Comment 5 Nao Nakashima 2008-12-29 07:28:25 UTC
Patch works for me.
Comment 6 Doug Goldstein (RETIRED) gentoo-dev 2008-12-29 22:57:38 UTC
Fixed in 0.4.1-r1.
Comment 7 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-01-08 15:48:38 UTC
*** Bug 252409 has been marked as a duplicate of this bug. ***