Re: initdb must have write access to /tmp

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Rich Bodo <rsb(at)ostel(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: initdb must have write access to /tmp
Date: 2001-10-11 21:31:47
Message-ID: 200110112131.f9BLVlk17920@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

>
> Hi,
>
> I was just installing postgres 7.1.2 on my linux mandrake 7.2
> system and the build and install went fine up to the point I
> had to run:
>
> initdb -D /usr/local/pgsql/data
>
> which segfaulted. I changed the permissions on /tmp to 777
> and all was well. I think initdb could use an if statement to
> check the permissions on /tmp and report a descriptive bug.

I think this will be fixed in 7.2. I don't see initdb referencing /tmp
at all and postmaster/postgres have some fixes when they fail to write
to /tmp. In fact, I just initdb'ed with temp unwritable so it seems
this is certainly fixed.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message pgsql-bugs 2001-10-12 01:52:10 Bug #479: Backend crashes when using certain commands with SJIS encoded databases
Previous Message Orion 2001-10-11 21:14:33 Index Scans Oddness