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

From Tom Lane
Subject Re: BUG #5810: non-accessible hardlink creation was attempted by: postgres (fsuid 115)
Date
Msg-id 24684.1294003668@sss.pgh.pa.us
Whole thread Raw
In response to BUG #5810: non-accessible hardlink creation was attempted by: postgres (fsuid 115)  ("Vincent" <vmaury79@yahoo.fr>)
List pgsql-bugs
"Vincent" <vmaury79@yahoo.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

pgsql-bugs by date:

Previous
From: Andres Freund
Date:
Subject: Re: BUG #5810: non-accessible hardlink creation was attempted by: postgres (fsuid 115)
Next
From: Marc Cousin
Date:
Subject: Re: BUG #5801: characters not encoded properly for column names