[SSSD] [PATCH] exit original process after sssd is initialized
Simo Sorce
simo at redhat.com
Fri Nov 2 18:35:26 UTC 2012
On Thu, 2012-11-01 at 17:36 +0100, Pavel Březina wrote:
> From 99c4a968889c4ee6d0f3015b160152da8c733960 Mon Sep 17 00:00:00 2001
> From: =?UTF-8?q?Pavel=20B=C5=99ezina?= <pbrezina at redhat.com>
> Date: Fri, 26 Oct 2012 12:46:48 +0200
> Subject: [PATCH 3/3] create pid file immediately after fork again
>
> Related to https://fedorahosted.org/sssd/ticket/1357
>
> We realized that sysv and systemd does not use pid file existence
> as a notification of finished initialization. Therefore, we create
> the pid file immediately after we fork to become daemon.
The comment would be clearer if it said the pidfile is created in
server_setup()
Also it doesn't say why you remove check_file on the pidfile ?
Can you explain ?
Simo.
--
Simo Sorce * Red Hat, Inc * New York
More information about the sssd-devel
mailing list