Re: [Pgsqlrpms-hackers] Safer auto-initdb for RPM initscript

From: "Sander Steffann" <s(dot)steffann(at)computel(dot)nl>
To: <pgsqlrpms-hackers(at)pgfoundry(dot)org>
Cc: <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Re: [Pgsqlrpms-hackers] Safer auto-initdb for RPM initscript
Date: 2006-08-25 14:27:51
Message-ID: 001801c6c852$a56793e0$dc128953@office.computel.nl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

> If this were a bulletproof solution then I'd consider it anyway, but
> AFAICS it's got the very same vulnerabilities as the flag-file method,
> ie, if you RPM install or upgrade while your mountable data directory
> is offline, you can still get screwed.

Isn't the most bulletproof solution to make initdb more careful about
overwriting an existing data directory?

- Sander

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2006-08-25 14:30:56 Re: [Pgsqlrpms-hackers] Safer auto-initdb for RPM initscript
Previous Message Joe Conway 2006-08-25 14:21:50 Re: [Pgsqlrpms-hackers] Safer auto-initdb for RPM init script