pg.ddx.io pgsql-bugs@postgresql.org mailing list archive
help / color / mirror / Atom feedBUG #5810: non-accessible hardlink creation was attempted by: postgres (fsuid 115)
3+ messages / 3 participants
[nested] [flat]
* BUG #5810: non-accessible hardlink creation was attempted by: postgres (fsuid 115)
@ 2011-01-02 14:16 Vincent <vmaury79@yahoo.fr>
2011-01-02 21:24 ` Re: BUG #5810: non-accessible hardlink creation was attempted by: postgres (fsuid 115) Andres Freund <andres@anarazel.de>
2011-01-02 21:27 ` Re: BUG #5810: non-accessible hardlink creation was attempted by: postgres (fsuid 115) Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 2 replies; 3+ messages in thread
From: Vincent @ 2011-01-02 14:16 UTC (permalink / raw)
To: pgsql-bugs
The following bug has been logged online:
Bug reference: 5810
Logged by: Vincent
Email address: vmaury79@yahoo.fr
PostgreSQL version: 8.4
Operating system: Ubuntu 10.10
Description: non-accessible hardlink creation was attempted by:
postgres (fsuid 115)
Details:
Hi,
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)
Do you know what it means? How can I fix this?
Thank you very much for your help,
Vincent
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: BUG #5810: non-accessible hardlink creation was attempted by: postgres (fsuid 115)
2011-01-02 14:16 BUG #5810: non-accessible hardlink creation was attempted by: postgres (fsuid 115) Vincent <vmaury79@yahoo.fr>
@ 2011-01-02 21:24 ` Andres Freund <andres@anarazel.de>
1 sibling, 0 replies; 3+ messages in thread
From: Andres Freund @ 2011-01-02 21:24 UTC (permalink / raw)
To: pgsql-bugs; +Cc: Vincent <vmaury79@yahoo.fr>
On Sunday 02 January 2011 15:16:28 Vincent wrote:
> The following bug has been logged online:
>
> Bug reference: 5810
> Logged by: Vincent
> Email address: vmaury79@yahoo.fr
> PostgreSQL version: 8.4
> Operating system: Ubuntu 10.10
> Description: non-accessible hardlink creation was attempted by:
> postgres (fsuid 115)
> Details:
>
> Hi,
>
> 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)
>
> Do you know what it means? How can I fix this?
> Thank you very much for your help,
Afaik this is caused by a strange security module of ubuntu. You can disable
the check by running something like
sysctl -w kernel.yama.protected_nonaccess_hardlinks=0
.
I would be interested to see where pg does this - did you notice any problems
on the postgres side? In /var/log/postgresql/8.4/main/postgresql.log or such?
Andres
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: BUG #5810: non-accessible hardlink creation was attempted by: postgres (fsuid 115)
2011-01-02 14:16 BUG #5810: non-accessible hardlink creation was attempted by: postgres (fsuid 115) Vincent <vmaury79@yahoo.fr>
@ 2011-01-02 21:27 ` Tom Lane <tgl@sss.pgh.pa.us>
1 sibling, 0 replies; 3+ messages in thread
From: Tom Lane @ 2011-01-02 21:27 UTC (permalink / raw)
To: Vincent <vmaury79@yahoo.fr>; +Cc: 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
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2011-01-02 21:27 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2011-01-02 14:16 BUG #5810: non-accessible hardlink creation was attempted by: postgres (fsuid 115) Vincent <vmaury79@yahoo.fr>
2011-01-02 21:24 ` Andres Freund <andres@anarazel.de>
2011-01-02 21:27 ` Tom Lane <tgl@sss.pgh.pa.us>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox