Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 252621 - [OpenRC] start-stop-daemon --stop --retry : broken in 0.4.0 and 0.4.1 versions?
Summary: [OpenRC] start-stop-daemon --stop --retry : broken in 0.4.0 and 0.4.1 versions?
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL: http://www.marples.name/projects/open...
Whiteboard:
Keywords: Bug
: 251728 251839 252409 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-12-26 17:19 UTC by Panagiotis Christopoulos (RETIRED)
Modified: 2009-01-08 15:48 UTC (History)
5 users (show)

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


Attachments
openrc-0.4.1-ssd-fix-stop-signals-on-retry.diff (openrc-0.4.1-ssd-fix-stop-signals-on-retry.diff,1.28 KB, patch)
2008-12-28 17:14 UTC, Lars Wendler (Polynomial-C) (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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. ***