Re: BUG #5267: initdb fails on AIX: could not identify current directory

From: Michael Felt <mamfelt(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #5267: initdb fails on AIX: could not identify current directory
Date: 2010-01-07 16:10:50
Message-ID: 9ade2d511001070810w70ec8051kd5c44d92da9b01fe@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

I turned on audit - it continues to say michael as user for accountability.
Notice: su changes to /home/postgres and initdb changes to
/usr/local/pgsql/bin

FS_Chdir michael OK Thu Jan 07 16:06:35 2010
su Global
change current directory to: /home/postgres
MLS Data:
Not supported

FS_Chdir michael OK Thu Jan 07 16:06:38 2010
initdb Global
change current directory to: /usr/local/pgsql/bin
MLS Data:
Not supported

On Thu, Jan 7, 2010 at 3:41 PM, Michael Felt <mamfelt(at)gmail(dot)com> wrote:

> Well, there is an argument that a system call is using to get somewhere?
> Even if it is a number, it is something. I could do an ncheck or whatever to
> at least find what it is calling.
>
> As I am not at all familiar with the code - just give me source to debug,
> and I'll work from that.
>
>
> On Thu, Jan 7, 2010 at 3:35 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>
>> Michael Felt <mamfelt(at)gmail(dot)com> writes:
>> > I suppose I could turn on audit and see if it is trying to access a hard
>> > coded directory. But, in any case, I would update the error message to
>> at
>> > least mention the directory name it is having issues with.
>>
>> Well, the problem is what to print? The failure we are trying to report
>> is exactly that we *can't get* the name of the directory.
>>
>> regards, tom lane
>>
>
>

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2010-01-07 16:39:59 Re: BUG #5267: initdb fails on AIX: could not identify current directory
Previous Message Michael Felt 2010-01-07 15:47:04 Re: BUG #5267: initdb fails on AIX: could not identify current directory