Re: PSA: Systemd will kill PostgreSQL
Josh Berkus <josh@agliodbs.com>
From: Josh Berkus <josh@agliodbs.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-hackers@postgresql.org
Date: 2016-08-15T23:41:49Z
Lists: pgsql-hackers
On 08/15/2016 02:43 PM, Tom Lane wrote: > Josh Berkus <josh@agliodbs.com> writes: >> On 07/10/2016 10:56 AM, Joshua D. Drake wrote: >>> tl;dr; Systemd 212 defaults to remove all IPC (including SYSV memory) >>> when a user "fully" logs out. > >> That looks like it was under discussion in April, though. Do we have >> confirmation it was never fixed? I'm not seeing systemd killing >> Postgres under Fedora24. > > Last I heard, there's an exclusion for "system" accounts, so an > installation that's using the Fedora-provided pgsql account isn't > going to have a problem. It's homebrew installs running under > ordinary-user accounts that are at risk. Presumably people just need to add the system account tag to the unit file, no? -- -- Josh Berkus Red Hat OSAS (any opinions are my own)