Skip site navigation (1) Skip section navigation (2)

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
Message-ID: Pine.LNX.4.44.0212121257550.6160-100000@elfride.ineffable.net (view raw, whole thread or download thread mbox)
Thread:
Lists: pgsql-bugspgsql-patches
============================================================================
                        POSTGRESQL BUG REPORT TEMPLATE
============================================================================


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:
---------------------------------------------------------------------


Responses

pgsql-bugs by date

Next:From: Tom LaneDate: 2002-12-12 19:20:46
Subject: Re: initdb segfaulting.
Previous:From: Rudy LippanDate: 2002-12-12 17:41:55
Subject: Re: initdb segfaulting.

pgsql-patches by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2018 The PostgreSQL Global Development Group