Re: BUG #5810: non-accessible hardlink creation was attempted by: postgres (fsuid 115)

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Vincent" <vmaury79(at)yahoo(dot)fr>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #5810: non-accessible hardlink creation was attempted by: postgres (fsuid 115)
Date: 2011-01-02 21:27:48
Message-ID: 24684.1294003668@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

"Vincent" <vmaury79(at)yahoo(dot)fr> writes:
> I'm using postgresql 8.4 on a Ubuntu 10.10 live USB. When I call 'dmesg', I
> frequently see this line:
> non-accessible hardlink creation was attempted by: postgres (fsuid 115)

There aren't very many link() calls in Postgres ... am I right to guess
that you're getting matching occurrences of this message in the
postmaster's log?

errmsg("could not link file \"%s\" to \"%s\" (initialization of log file %u, segment %u): %m",

A bit of googling suggests it's probably the same Ubuntu bug described
here:

https://bugs.launchpad.net/ubuntu/+source/linux/+bug/663069

According to that, you should be able to work around it by disabling
this rather-dubious-in-the-first-place security check.

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Carlos 2011-01-02 21:54:55 BUG #5811: Installation error
Previous Message Andres Freund 2011-01-02 21:24:34 Re: BUG #5810: non-accessible hardlink creation was attempted by: postgres (fsuid 115)