| Summary: | dev-db/pgbouncer-1.5.4 - init.d script fails to start due to error in variable name | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Den <undying-m> |
| Component: | [OLD] Server | Assignee: | Johan Bergström <bugs> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | CC: | pgsql-bugs, proxy-maint, titanofold |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
sorry, it`s failed to REstart *** This bug has been marked as a duplicate of bug 478142 *** |
/etc/conf.d/pgbouncer have a variable: FORCE_QUIT_TIMEOUT=2 it used in init script but name in the init script is mismatched: local seconds=$(( ${NICE_TIMEOUT} + ${FORCE_TIMEOUT} )) Reproducible: Always Steps to Reproduce: 1.install pgbouncer 2.modify config (optional) 3.start pgbouncer Actual Results: pgbouncer failed to start Expected Results: pgbouncer have to start --- pgbouncer 2013-08-07 16:46:44.785705352 +0400 +++ pgbouncer 2013-08-07 16:39:11.308031445 +0400 @@ -39,7 +39,7 @@ } stop() { - local seconds=$(( ${NICE_TIMEOUT} + ${FORCE_TIMEOUT} )) + local seconds=$(( ${NICE_TIMEOUT} + ${FORCE_QUIT_TIMEOUT} )) ebegin "Stopping PgBouncer (this can take up to ${seconds} seconds)" local retries=SIGINT/${NICE_TIMEOUT}