Description of problem: The commented line is the original and the one that works is added after. Basicly we need the </dev/null to keep su from asking if you want to switch to another context. #su -l postgres -c "/usr/bin/pg_ctl stop -D $PGDATA -s -m fast" > /dev/null 2>&1 su -l postgres -c "/usr/bin/pg_ctl stop -D $PGDATA -s -m fast" </dev/null > /dev/null 2>&1 Version-Release number of selected component (if applicable): postgresql-7.4.1-1 How reproducible: everytime Steps to Reproduce: 1. start postgresql service 2. issue /sbin/service postgresql stop or restart 3. you will sit here forever. :-) Actual results: Expected results: Additional info:
Fix pushed out in 7.4.2-1.
The postgres initscript still fails on 7.4.2-1 if SELinux is turned on.