The %pre server section of the .spec file sets executable bit on the /var/log/postgresql log file. Reproducible: Always Steps to Reproduce: 1.rpm -i postgresql-server 3.ls -l /var/log/postgresql Actual Results: -rwx------ 1 postgres postgres 25115 Mar 9 15:58 /var/log/postgresql Expected Results: -rw------- 1 postgres postgres 25115 Mar 9 15:58 /var/log/postgresql The chmod 0700 /var/log/posgresql command should be replaced by chmod 0600 /var/log/posgresql BTW, it wasn't clear to me how to enable logging to this file. My recomendation would be to at least add a comment to /etc/rc.d/init.d/postgresql
The file should obviously be 0600 instead of 0700... it doesn't hurt, though, so I'll put it in the next time I fix something.
Fixed in postgresql-7.0.3-8.