Skip to content

Commit 4d257ca

Browse files
committed
Merge branch '5.0'
* 5.0: minor. refs #13035 Add caution in system+semaphore
2 parents 3076109 + 9373987 commit 4d257ca

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

components/lock.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -632,6 +632,14 @@ can be two running containers in parallel.
632632
concurrent process on a new machine, check that other process are stopped
633633
on the old one.
634634

635+
.. caution::
636+
637+
When runing on systemd with non-system user and option ``RemoveIPC=yes``
638+
(default value), locks are deleted by systemd when that user logs out.
639+
Check that process is run with a system user (UID <= SYS_UID_MAX) with
640+
``SYS_UID_MAX`` defined in ``/etc/login.defs``, or set the option
641+
``RemoveIPC=off`` in ``/etc/systemd/logind.conf``.
642+
635643
ZookeeperStore
636644
~~~~~~~~~~~~~~
637645

0 commit comments

Comments
 (0)