Re: [DOCS] adduser is missing --system

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: [DOCS] adduser is missing --system
Дата
Msg-id CAB7nPqRVxAkxKOKB-fpTjHOhNyOZOE8tKKw2bSyWySDQahZGdQ@mail.gmail.com
обсуждение исходный текст
Ответ на [DOCS] adduser is missing --system  (jens@wilke.org)
Ответы Re: [DOCS] adduser is missing --system  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: jens@wilke.org
Дата:
Сообщение: [DOCS] adduser is missing --system
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [DOCS] adduser is missing --system