postmaster segfaults when pg_hba.cof is missing - Mailing list pgsql-bugs

From Rudy Lippan
Subject postmaster segfaults when pg_hba.cof is missing
Date
Msg-id Pine.LNX.4.44.0212121257550.6160-100000@elfride.ineffable.net
Whole thread Raw
Responses Re: postmaster segfaults when pg_hba.cof is missing
List pgsql-bugs
============================================================================
                        POSTGRESQL BUG REPORT TEMPLATE
============================================================================


Your name               : Rudy Lippan
Your email address      : rlippan@remotelinux.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@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:
---------------------------------------------------------------------

pgsql-bugs by date:

Previous
From: Rudy Lippan
Date:
Subject: Re: initdb segfaulting.
Next
From: Tom Lane
Date:
Subject: Re: initdb segfaulting.