Arch Linux

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!
Tasklist

FS#33300 - [postgresql] service doesn't use environment file, uses $PG_ROOT inconsistently

Attached to Project: Arch Linux
Opened by Ben Edwards (benjumanji) - Saturday, 05 January 2013, 22:21 GMT
Last edited by Dan McGee (toofishes) - Sunday, 03 February 2013, 21:28 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Dan McGee (toofishes)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

To reproduce, follow install instructions in the wiki but DO NOT use the usual /var/lib/postgres location for $PG_ROOT. Choose anything else.
The service will fail to start because $PG_ROOT is hard coded in the service file.
Even assuming that this is noticed and the service file is edited, the pid file uses a hardcoded location that doesn't respect the $PG_ROOT variable set in the service file itself.

Patch attached.

This task depends upon

Closed by  Dan McGee (toofishes)
Sunday, 03 February 2013, 21:28 GMT
Reason for closing:  Won't fix
Additional comments about closing:  We aren't using conf.d files for systemd units. Override both values in the unit file if you want to move it.

Loading...