Package: postgresql Version: 7.2.1-2woody6 Severity: serious Tags: patch Hi,
The check for "peer" database type in /usr/lib/postgresql/bin/postgresql-startup is not strict enough and it catches databases that just so happen to be called -- "peer". Please fix the regexp match to include a $ at the end so that it only matches "peer" in the last element. That is: --- /usr/lib/postgresql/bin/postgresql-startup~ Tue Oct 26 22:58:08 2004 +++ /usr/lib/postgresql/bin/postgresql-startup Sat Jan 22 15:52:01 2005 @@ -103,7 +103,7 @@ fi fi -if grep -qs '^local.*[ ]*peer[ ]' /etc/postgresql/pg_hba.conf +if grep -qs '^local.*[ ]*peer[ ]$' /etc/postgresql/pg_hba.conf then echo "Invalid pg_hba.conf authentication spec. Change all occurrences of peer authentication to ident in /etc/postgresql/pg_hba.conf." TIA. -- 2. That which causes joy or happiness. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]