postmaster segfaults when pg_hba.cof is missing

From: Rudy Lippan <rlippan(at)remotelinux(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: postmaster segfaults when pg_hba.cof is missing
Date: 2002-12-12 18:13:18
Views: Raw Message | Whole Thread | Download mbox
Lists: pgsql-bugs pgsql-patches


Your name : Rudy Lippan
Your email address : rlippan(at)remotelinux(dot)com

System Configuration
Architecture (example: Intel Pentium) : PII-400x4

Operating System (example: Linux 2.0.26 ELF) : Linux 2.4.19-gentoo-r9

PostgreSQL version (example: PostgreSQL-7.3): PostgreSQL-7.3

Compiler used (example: gcc 2.95.2) : 2.95.3

Please enter a FULL description of your problem:

I know this is a broken install, but postmaster should not segfault when
it can't find a file.

postgres(at)war PGDATA $ ../pgsql7.3/bin/postmaster
LOG: load_hba: Unable to open authentication config file
"/usr/local/PGDATA/pgsql7.3/pg_hba.conf": No such file or directory
Segmentation fault (core dumped)

Please describe a way to repeat the problem. Please try to provide a
concise reproducible example, if at all possible:

rm pg_hba.conf

If you know how this problem might be fixed, list the solution below:


Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2002-12-12 19:20:46 Re: initdb segfaulting.
Previous Message Rudy Lippan 2002-12-12 17:41:55 Re: initdb segfaulting.

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2002-12-12 21:02:58 Re: shows casts, conversions and schemas in psql #2
Previous Message Bruce Momjian 2002-12-12 15:47:06 Re: PyGreSQL, suggestion for DB wrapper class