Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 518 - postgresql init scripts don't match the installed location of data.
Summary: postgresql init scripts don't match the installed location of data.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major
Assignee: Donny Davies (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-02-04 01:04 UTC by Sandy McArthur
Modified: 2007-09-22 16:10 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sandy McArthur 2002-02-04 01:04:36 UTC
The init script '/etc/init.d/postgresql' doesn't work because it thinks the
database data is in '/var/db/pgsql/data'. The 7.1.3-r3.ebuild sets up the data
in to '/var/db/${PN}/data' where ${PN} equals 'postgresql'. This discrepence
causes postgresql to refuse to load. Unfortunatlly the init script doesn't
notice the problem which confused me for too long as I tried to figure out what
was wrong.

Also (I think, I haven't tested yet) by editing
/var/db/postgresql/data/postgresql.conf you can tell postgresql to use syslog
directly as opposed to pipeing output to logger.
Comment 1 Sandy McArthur 2002-02-07 18:26:14 UTC
I'm not haveing any problems with postgresql-7.1.3-r4