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#22229 - [postgresql] chown wrong syntax on /etc/rc.d/postgresql
Attached to Project:
Arch Linux
Opened by Txema (txemarix) - Monday, 27 December 2010, 18:31 GMT
Last edited by Dan McGee (toofishes) - Wednesday, 29 December 2010, 21:44 GMT
Opened by Txema (txemarix) - Monday, 27 December 2010, 18:31 GMT
Last edited by Dan McGee (toofishes) - Wednesday, 29 December 2010, 21:44 GMT
|
DetailsDescription:
When the user 'postgres' exists but their home path '/var/lib/postgres' does not, script '/etc/rc.d/postgresql' fails this patch on '/etc/rc.d/postgresql' works for me: 19c19 < [ -d $PGROOT ] && chown -R postgres.postgres $PGROOT --- > [ -d $PGROOT ] && chown -R postgres:postgres $PGROOT 23c23 < mkdir -p $PGROOT/data && chown -R postgres.postgres $PGROOT/data --- > mkdir -p $PGROOT/data && chown postgres:postgres $PGROOT && chown -R postgres:postgres $PGROOT/data Additional info: * package version(s) postgresql 9.0.2-2 * config and/or log files etc. postgresql_update.log Steps to reproduce: follow the instructions on the wiki to update the package postgresql |
This task depends upon
Closed by Dan McGee (toofishes)
Wednesday, 29 December 2010, 21:44 GMT
Reason for closing: Fixed
Additional comments about closing: Will be fixed in next rebuild of package
Wednesday, 29 December 2010, 21:44 GMT
Reason for closing: Fixed
Additional comments about closing: Will be fixed in next rebuild of package
Comment by Dan McGee (toofishes) -
Tuesday, 28 December 2010, 14:59 GMT
Can you attach a unified diff (diff -u), please?
Comment by Txema (txemarix) -
Tuesday, 28 December 2010, 18:57 GMT
I hope it is helpful, thanks.
postgresql_update.log