Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 5D9121337BD8 for ; Sun, 2 Jan 2011 17:24:59 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 50596-02-3 for ; Sun, 2 Jan 2011 21:24:52 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail.anarazel.de (mail.anarazel.de [217.115.131.40]) by mail.postgresql.org (Postfix) with ESMTP id 6522E1337BCC for ; Sun, 2 Jan 2011 17:24:43 -0400 (AST) Received: from alap2.localnet (unknown [89.204.153.111]) by mail.anarazel.de (Postfix) with ESMTPSA id 7A34D448005; Sun, 2 Jan 2011 22:24:41 +0100 (CET) From: Andres Freund To: pgsql-bugs@postgresql.org Subject: Re: BUG #5810: non-accessible hardlink creation was attempted by: postgres (fsuid 115) Date: Sun, 2 Jan 2011 22:24:34 +0100 User-Agent: KMail/1.13.5 (Linux/2.6.37-rc6-andres-00186-ge5fcdb7; KDE/4.5.1; x86_64; ; ) Cc: "Vincent" References: <201101021416.p02EGSjJ090191@wwwmaster.postgresql.org> In-Reply-To: <201101021416.p02EGSjJ090191@wwwmaster.postgresql.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201101022224.34365.andres@anarazel.de> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-5 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201101/3 X-Sequence-Number: 29025 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