| Summary: | sys-power/apcupsd-3.14.3 + openrc - start-stop-daemon: 1 process refused to stop | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Billy DeVincentis <billydv1> |
| Component: | Current packages | Assignee: | Diego Elio Pettenò (RETIRED) <flameeyes> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | base-system, micheleschi |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | updated /etc/init.d/apcupsd init script | ||
|
Description
Billy DeVincentis
2008-10-09 14:16:00 UTC
Created attachment 168338 [details]
updated /etc/init.d/apcupsd init script
I have modified the script just slightly to have it retry stopping which seems to work every time
New stop
stop() {
ebegin "Stopping APC UPS daemon"
start-stop-daemon \
--stop --pidfile "/var/run/${SVCNAME}.pid" \
--retry TERM/5/TERM/5 \
--exec /sbin/apcupsd
eend $?
}
Previously
stop() {
ebegin "Stopping APC UPS daemon"
start-stop-daemon \
--stop --pidfile "/var/run/${SVCNAME}.pid" \
--exec /sbin/apcupsd
eend $?
}
*** Bug 227945 has been marked as a duplicate of this bug. *** Taking over. Michael you let this package rot so much, since I need it, I'm going to take it over and take care. Please don't say I didn't give you enough notice, last year I already asked you this much and now I'm simply tired. Fixed in 3.14.5, thanks. |