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#36616 - [postgresql] pid file clean up
Attached to Project:
Arch Linux
Opened by Sergej Pupykin (sergej) - Tuesday, 20 August 2013, 17:12 GMT
Last edited by Dan McGee (toofishes) - Friday, 06 December 2013, 15:46 GMT
Opened by Sergej Pupykin (sergej) - Tuesday, 20 August 2013, 17:12 GMT
Last edited by Dan McGee (toofishes) - Friday, 06 December 2013, 15:46 GMT
|
DetailsSometimes after reboot postgres fails to start with
postgres[26823]: pg_ctl: invalid data in PID file "/var/lib/postgres/data/postmaster.pid" "rm -f /var/lib/postgres/data/postmaster.pid" helps. Probably "ExecStopPost=/bin/rm -f /var/lib/postgres/data/postmaster.pid" should be added to service file or pid file should be moved to /run somehow. |
This task depends upon
Closed by Dan McGee (toofishes)
Friday, 06 December 2013, 15:46 GMT
Reason for closing: Won't fix
Additional comments about closing: Fixed in systemd and not postgresql package.
Friday, 06 December 2013, 15:46 GMT
Reason for closing: Won't fix
Additional comments about closing: Fixed in systemd and not postgresql package.
About that ExecStopPost: Having this pid file lying around will cause problems when a machine crashes so the better way would be to remove it once during boot rather than on shutdown IMHO.
http://cgit.freedesktop.org/systemd/systemd/commit/?id=9285c9ff263d9043