BUG #13959: Missing tmpfile exclude conf for socket

Поиск
Список
Период
Сортировка
От jsosic@gmail.com
Тема BUG #13959: Missing tmpfile exclude conf for socket
Дата
Msg-id 20160213225337.2606.98794@wrigleys.postgresql.org
обсуждение исходный текст
Ответы Re: BUG #13959: Missing tmpfile exclude conf for socket  (Devrim Gündüz <devrim@gunduz.org>)
Список pgsql-bugs
The following bug has been logged on the website:

Bug reference:      13959
Logged by:          Jakov Sosic
Email address:      jsosic@gmail.com
PostgreSQL version: 9.4.1
Operating system:   CentOS 7
Description:

Systemd on EL7 and probably some Debian based distributions has service
called systemd-tmpfiles-clean. That service deletes everything from /tmp
that's not excluded via special files.

PgSQL stores socket under /tmp by default, and systemd-tmpfiles-clean can
actually delete it. To avoid this, PGSQL packages should bring a file which
excludes it's socket from being deleted by tmpfiles-clean.

This is an example of file:

cat >> /usr/lib/tmpfiles.d/postgresql.conf <<EOF
# systemd tmpfiles exclude file for pgsql
# pgsql software unfortunately stores some important files
# in /tmp which should not be deleted

# Exclude pgsql socket and lock files
x /tmp/.s.PGSQL.*
EOF

В списке pgsql-bugs по дате отправления:

Предыдущее
От: public88878878887@hotmail.com
Дата:
Сообщение: BUG #13958: Missing docs on error
Следующее
От: pravin@gida.in
Дата:
Сообщение: BUG #13961: Unexpected behaviour of JSONB_SET if the new_value is null