Thread: BUG #6182: /etc/init.d/postgresql-8.4 is incomplete for chkconfig

BUG #6182: /etc/init.d/postgresql-8.4 is incomplete for chkconfig

From
"Steven Williams"
Date:
The following bug has been logged online:

Bug reference:      6182
Logged by:          Steven Williams
Email address:      stwilliams@novell.com
PostgreSQL version: 8.5.3
Operating system:   SuSE Linux 11
Description:        /etc/init.d/postgresql-8.4 is incomplete for chkconfig
Details:

currently in the script, there is the following:

# chkconfig: 2345 85 15
# description: Starts and stops the PostgreSQL 8.4 database server


The following also needs to be added:

### BEGIN INIT INFO
# Provides: PostgreSQL
# Required-Start:
# Required-Stop:
# Default-Start: 3 5
# Default-Stop: 0 1 6
# Description: Start/Stop Script for PostgreSQL 8.4 database server
### END INIT INFO

Re: BUG #6182: /etc/init.d/postgresql-8.4 is incomplete for chkconfig

From
Scott Mead
Date:
On Mon, Aug 29, 2011 at 1:19 PM, Steven Williams <stwilliams@novell.com>wrote:

>
> The following bug has been logged online:
>
> Bug reference:      6182
> Logged by:          Steven Williams
> Email address:      stwilliams@novell.com
> PostgreSQL version: 8.5.3
>

I'm guessing you mean 8.4.3?


> Operating system:   SuSE Linux 11
> Description:        /etc/init.d/postgresql-8.4 is incomplete for chkconfig
> Details:
>
> currently in the script, there is the following:
>
> # chkconfig: 2345 85 15
> # description: Starts and stops the PostgreSQL 8.4 database server
>
>
> The following also needs to be added:
>
> ### BEGIN INIT INFO
> # Provides: PostgreSQL
> # Required-Start:
> # Required-Stop:
> # Default-Start: 3 5
> # Default-Stop: 0 1 6
> # Description: Start/Stop Script for PostgreSQL 8.4 database server
> ### END INIT INFO
>
>
Where did you download postgres from / how did you install it?

--Scott



> --
> Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-bugs
>

Re: BUG #6182: /etc/init.d/postgresql-8.4 is incomplete for chkconfig

From
Tom Lane
Date:
"Steven Williams" <stwilliams@novell.com> writes:
> Description:        /etc/init.d/postgresql-8.4 is incomplete for chkconfig

This file is not distributed by us.  You probably need to contact the
SUSE packager of postgresql.

            regards, tom lane