Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#1595 - Postgresql init script minor issue

Attached to Project: Arch Linux
Opened by Paul Robins (Winkie) - Wednesday, 06 October 2004, 12:23 GMT
Task Type Bug Report
Category Packages: Current
Status Closed
Assigned To No-one
Architecture not specified
Severity Very Low
Priority Normal
Reported Version 0.7 Wombat
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

The init script which is supplied with postgresql has a minor flaw in it. If authentication is set to anything other than simply 'trust', on startup it will require the postgres users password.

This is due to a lowercase w instead of an uppercase W causing it to wait for startup and subsequently attempt to connect, pg_ctl notes that on start, the default action should be not to wait, hence the entry of this bug.

To fix it, do the following:
< "/usr/bin/pg_ctl -D $PGROOT/data -l /var/log/postgresql.log -w start"
---
> "/usr/bin/pg_ctl -D $PGROOT/data -l /var/log/postgresql.log -W start"

Problem solved.
This task depends upon

Closed by  Judd Vinet (judd)
Wednesday, 06 October 2004, 18:30 GMT
Reason for closing:  Fixed

Loading...