According to conf.d/postgresql-9.1 the timeouts (rude, nice etc) are in seconds, but the init.d script multiples them by 1000 before passing them to start-stop-daemon's retry argument, which expects seconds, not milliseconds. This didn't occur prior to r1 which changed the init scripts (addressing the /var/run to /run issues) and seemingly introducing this one. Reproducible: Always Steps to Reproduce: 1. /etc/init.d/postgresql-9.1 stop Actual Results: start-stop-daemon waits 1000 times as long as would be expected. This is a real pain during shutdown as you can't interrupt it.
25 Dec 2011; Aaron W. Swenson <titanofold@gentoo.org> +postgresql-server-8.2.23-r1.ebuild, +postgresql-server-8.3.17-r1.ebuild, +postgresql-server-8.4.10-r1.ebuild, +postgresql-server-9.0.6-r1.ebuild, +postgresql-server-9.1.2-r2.ebuild: Fixes bugs 395263, 394389, and 394159