FS#69413 - Content of Postgresql systemd.service file is overwritten
Attached to Project:
Arch Linux
Opened by Henning Ryll (fow0ryl) - Saturday, 23 January 2021, 10:14 GMT
Last edited by Doug Newgard (Scimmia) - Saturday, 23 January 2021, 11:07 GMT
Opened by Henning Ryll (fow0ryl) - Saturday, 23 January 2021, 10:14 GMT
Last edited by Doug Newgard (Scimmia) - Saturday, 23 January 2021, 11:07 GMT
|
Details
Description:
The file /usr/lib/systemd/system/postgresql.service is overwritten by any package update. Because according to the arch wiki, you have to change PGROOT within this file, it's no good idea to overwrite the file without any interaction. So postgresql stops working after any update :( Additional info: * package version(s) - all * config and/or log files etc. - /usr/lib/systemd/system/postgresql.service * link to upstream bug report, if any Steps to reproduce: just update postgresql |
This task depends upon
But the wiki https://wiki.archlinux.org/index.php/PostgreSQL#Change_default_data_directory is not clear at this point for users who never had anything to do with systemd
It would be even better to explicit add a comment like : "never edit /lib/systemd/system/postgresql.service"