Re: [DOCS] adduser is missing --system - Mailing list pgsql-docs

From Michael Paquier
Subject Re: [DOCS] adduser is missing --system
Date
Msg-id CAB7nPqRVxAkxKOKB-fpTjHOhNyOZOE8tKKw2bSyWySDQahZGdQ@mail.gmail.com
Whole thread Raw
In response to [DOCS] adduser is missing --system  (jens@wilke.org)
Responses Re: [DOCS] adduser is missing --system
List pgsql-docs
On Thu, Sep 28, 2017 at 6:33 AM,  <jens@wilke.org> wrote:
> The following documentation comment has been logged on the website:
>
> Page: https://www.postgresql.org/docs/9.6/static/install-short.html
> Description:
>
> Hi,
>
> regarding
> https://www.postgresql.org/docs/9.6/static/install-short.html
>
> adduser postgres
> should be
> adduser --system postgres
>
> otherwise you might face
> *PANIC: queueing for lock while waiting on another one
>
> due to systemd Config with RemoveIPC=true

This part of the documentation is really aimed at being short. Please
note as well that this has been added to the documentation of Postgres
10 with this commit:
commit: fbe7a3fa45f360e73ce141e51005a3e86cd1926c
author: Peter Eisentraut <peter_e@gmx.net>
date: Wed, 15 Feb 2017 10:46:31 -0500
doc: Add advice about systemd RemoveIPC

Reviewed-by: Magnus Hagander <magnus@hagander.net>

Here is the link to it:
https://www.postgresql.org/docs/devel/static/kernel-resources.html#systemd-removeipc
And the important quote:
"Packaging and deployment scripts should be careful to create the
postgres user as a system user by using useradd -r, adduser --system,
or equivalent."
-- 
Michael


-- 
Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs

pgsql-docs by date:

Previous
From: jens@wilke.org
Date:
Subject: [DOCS] adduser is missing --system
Next
From: Tom Lane
Date:
Subject: Re: [DOCS] adduser is missing --system