Re: No core file generated after PostgresNode->start

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Michael Paquier <michael(at)paquier(dot)xyz>
Cc: Robert Haas <robertmhaas(at)gmail(dot)com>, Antonin Houska <ah(at)cybertec(dot)at>, Andy Fan <zhihui(dot)fan1213(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: No core file generated after PostgresNode->start
Date: 2020-05-13 13:49:54
Message-ID: 30632.1589377794@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Michael Paquier <michael(at)paquier(dot)xyz> writes:
> On Tue, May 12, 2020 at 04:15:26PM -0400, Robert Haas wrote:
>> On Mon, May 11, 2020 at 10:48 PM Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>>> I have a standing note to check the permissions on /cores after any macOS
>>> upgrade, because every so often Apple decides that that directory ought to
>>> be read-only.

>> Thanks, that was my problem.

> Was that a recent problem with Catalina and/or Mojave? I have never
> seen an actual problem up to 10.13.

I don't recall exactly when I started seeing this, but it was at least
a couple years back, so maybe Mojave. I think it's related to Apple's
efforts to make the root filesystem read-only. (It's not apparent to
me how come I can write in /cores when "mount" clearly reports

/dev/disk1s1 on / (apfs, local, read-only, journaled)

but nonetheless it works, as long as the directory permissions permit.)

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Amit Kapila 2020-05-13 13:59:14 Re: COPY, lock release and MVCC
Previous Message Amit Kapila 2020-05-13 13:44:55 Re: PG compilation error with Visual Studio 2015/2017/2019