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#30262 - [systemd-arch-units] Postgresql fails to start without setting $PGROOT in /etc/conf.d/postgresql
Attached to Project:
Community Packages
Opened by James Cleveland (antihero) - Tuesday, 12 June 2012, 09:43 GMT
Last edited by Dan McGee (toofishes) - Monday, 24 September 2012, 14:10 GMT
Opened by James Cleveland (antihero) - Tuesday, 12 June 2012, 09:43 GMT
Last edited by Dan McGee (toofishes) - Monday, 24 September 2012, 14:10 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) * config and/or log files etc. 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 Dan McGee (toofishes)
Monday, 24 September 2012, 14:10 GMT
Reason for closing: Won't implement
Additional comments about closing: Package doesn't use this config anymore
Monday, 24 September 2012, 14:10 GMT
Reason for closing: Won't implement
Additional comments about closing: Package doesn't use this config anymore
Comment by James Cleveland (antihero) -
Tuesday, 12 June 2012, 09:43 GMT
Patch which fixes it.
Comment by James Cleveland (antihero) -
Tuesday, 12 June 2012, 09:52 GMT
oskude said I should use a unified patch. Also ignore that random new line, sorry.
Comment by Dave Reisner (falconindy) -
Wednesday, 13 June 2012, 10:05 GMT
In the future, just ask for your bug to me moved... there's no need to open a new one.
Comment by James Cleveland (antihero) -
Wednesday, 13 June 2012, 10:06 GMT
Ok!
fix-unset-pgroot.patch
(0.1 KiB)