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!
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!
FS#30261 - [systemd-arch-units] Postgresql fails to start without setting $PGROOT in /etc/conf.d/postgresql
Attached to Project:
Arch Linux
Opened by James Cleveland (antihero) - Tuesday, 12 June 2012, 09:42 GMT
Last edited by Dave Reisner (falconindy) - Wednesday, 13 June 2012, 10:05 GMT
Opened by James Cleveland (antihero) - Tuesday, 12 June 2012, 09:42 GMT
Last edited by Dave Reisner (falconindy) - Wednesday, 13 June 2012, 10:05 GMT
|
DetailsDescription: In the file /usr/lib/systemd/scripts/postgresql-initdb, there is a line that depends on the $PGROOT environment variable being set, otherwise it attempts to symlink it to nothing and fails.
This is listed in the wiki as "optional" configuration. Additional info: * package version(s): 20120606-4 Steps to reproduce: 1. Install systemd-arch-units 2. Install postgresql. 3. Try to start postgresql with `systemctl start postgresql.service`. 4. Observe error output with `systemctl status postgresql.service`. Proposed fix for /usr/lib/systemd/scripts/postgresql-initdb is attached, though a better solution might exist. |
This task depends upon
Closed by Dave Reisner (falconindy)
Wednesday, 13 June 2012, 10:05 GMT
Reason for closing: Duplicate
Wednesday, 13 June 2012, 10:05 GMT
Reason for closing: Duplicate
fix-unset-pgroot.patch