Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 12046 - Postgresql environmental variables in the wrong directory.
Summary: Postgresql environmental variables in the wrong directory.
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: PgSQL Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-12-12 16:12 UTC by Michael Labhard
Modified: 2007-09-22 23: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 Michael Labhard 2002-12-12 16:12:15 UTC
Upon installing Postgresql 7.3 there is a file placed in /etc/conf.d, supposedly to configure Postgresql.  However, the values listed in this file are environmental variables and are used by Postgresql from the environment for configuration, not called directly as a configuration file, as can be seen by reading the /etc/init.d/postgesql script.  So this file should probably be moved to /etc/env.d.  I put mine in as 44postgresql.  This is better than modifying the /etc/init.d/postgresql script to read /etc/confi.d/postgresql since these values are useful in the environment for working with Postgresql after the init.d script has run.  Upon env-update and . /etc/profile the environment is set to do initdb without respecifying the values required.
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2003-07-09 12:17:14 UTC
how about 7.3.3 ?
Comment 2 Michael Labhard 2003-07-10 14:51:03 UTC
I have 7.3.3 installed currently and the file that should be in env.d is still in conf.d.  There appears to be no improvement. 
Comment 3 Masatomo Nakano (RETIRED) gentoo-dev 2003-11-25 13:06:52 UTC
First, conf.d/ is for init.d/ and env.d/ is for user.

I think the conf file is for init script file so the ebuild would install to conf.d/

If there are entry for user in the file, please let me know and I'll create env.d/ file.

I'm going to close this bug.
If you are any sugesstion feel free to reopen this bug and  comment.