Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 175210 - postgresql init script should not use s-s-d --env option
Summary: postgresql init script should not use s-s-d --env option
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: PgSQL Bugs
URL:
Whiteboard:
Keywords:
: 176302 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-04-19 13:18 UTC by Roy Marples (RETIRED)
Modified: 2007-09-23 00:24 UTC (History)
3 users (show)

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


Attachments
Patch (postgresql.patch,1.43 KB, patch)
2007-04-19 13:19 UTC, Roy Marples (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Roy Marples (RETIRED) gentoo-dev 2007-04-19 13:18:29 UTC
postgresql init script should not use s-s-d -e option to set env vars as it only sets one var.

Instead, just export variables in the config file to get this to work across all baselayout versions.

Patch to follow, which has the added bonus of working on baselayout-2 with non bash shells
Comment 1 Roy Marples (RETIRED) gentoo-dev 2007-04-19 13:19:15 UTC
Created attachment 116727 [details, diff]
Patch

Patches both the init script and the config file.
Comment 2 Roy Marples (RETIRED) gentoo-dev 2007-04-30 09:55:20 UTC
*** Bug 176302 has been marked as a duplicate of this bug. ***
Comment 3 Tiziano Müller (RETIRED) gentoo-dev 2007-07-11 12:30:26 UTC
Fixed without rev.bump as discussed with Roy.