From: Lennart Poettering Date: Thu, 22 May 2014 07:15:56 +0000 (+0900) Subject: man: drop reference to file locking for PID file creation from daemon(7) X-Git-Tag: v213~38 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=c4b834a4adfa4f858ed9fd07b300588ec1c3e20e man: drop reference to file locking for PID file creation from daemon(7) File locking is usually a bad idea, don't suggest using it. --- diff --git a/man/daemon.xml b/man/daemon.xml index b1f43f559..202b80eaa 100644 --- a/man/daemon.xml +++ b/man/daemon.xml @@ -158,9 +158,7 @@ it is verified at the same time that the PID previously stored in the PID file no longer exists or belongs to a - foreign process. Commonly, some kind of - file locking is employed to implement - this logic. + foreign process. In the daemon process, drop privileges, if possible and