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

From Sander Steffann
Subject Re: [Pgsqlrpms-hackers] Safer auto-initdb for RPM initscript
Date
Msg-id 001801c6c852$a56793e0$dc128953@office.computel.nl
Whole thread Raw
In response to Re: Safer auto-initdb for RPM init script  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [Pgsqlrpms-hackers] Safer auto-initdb for RPM initscript
List 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



pgsql-hackers by date:

Previous
From: Joe Conway
Date:
Subject: Re: [Pgsqlrpms-hackers] Safer auto-initdb for RPM init script
Next
From: Andrew Dunstan
Date:
Subject: Re: [Pgsqlrpms-hackers] Safer auto-initdb for RPM initscript