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

Поиск
Список
Период
Сортировка
От Reinhard Max
Тема Re: [Pgsqlrpms-hackers] Safer auto-initdb for RPM init
Дата
Msg-id Pine.LNX.4.64.0608251622380.4320@nitsch.suse.de
обсуждение исходный текст
Ответ на Re: Safer auto-initdb for RPM init script  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: [Pgsqlrpms-hackers] Safer auto-initdb for RPM init  (Peter Eisentraut <peter_e@gmx.net>)
Re: [Pgsqlrpms-hackers] Safer auto-initdb for RPM init script  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Fri, 25 Aug 2006 at 10:20, Tom Lane wrote:

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

Another flaw of the flag-file method is, that PGDATA might have been 
changed by the sysadmin between installing the RPM and calling the 
init script for the first time.

But shouldn't mountpoints always have 000 permissions to prevent 
writing into the directory as long as nothing is mounted to it?

cuReinhard


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: [Pgsqlrpms-hackers] Safer auto-initdb for RPM initscript
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: Safer auto-initdb for RPM init script