This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH 4/4] Mark nscd service as forking in systemd service file (#16639)
- From: Russ Allbery <eagle at eyrie dot org>
- To: libc-alpha at sourceware dot org
- Date: Wed, 26 Feb 2014 22:03:19 -0800
- Subject: Re: [PATCH 4/4] Mark nscd service as forking in systemd service file (#16639)
- Authentication-results: sourceware.org; auth=none
- References: <20140226172242 dot GE6419 at spoyarek dot pnq dot redhat dot com> <20140226183950 dot GK184 at brightrain dot aerifal dot cx> <20140226185509 dot GG6419 at spoyarek dot pnq dot redhat dot com> <87a9ddwkyg dot fsf at windlord dot stanford dot edu> <20140227032950 dot GJ6419 at spoyarek dot pnq dot redhat dot com> <87zjldrzp4 dot fsf at windlord dot stanford dot edu> <20140227053149 dot GK6419 at spoyarek dot pnq dot redhat dot com> <20140227055232 dot GL6419 at spoyarek dot pnq dot redhat dot com>
Siddhesh Poyarekar <siddhesh@redhat.com> writes:
> On Thu, Feb 27, 2014 at 11:01:49AM +0530, Siddhesh Poyarekar wrote:
>> Yeah, AFAICT this is never going to be completely fixed without either
>> making the nscd daemon 'notify' or 'simple'; the former solution I
>> personally dislike and the latter probably not possible for nscd.
> Of course, the other obvious thing would be to have a pipe between the
> parent and child nscd processes and have the parent exit only once the
> child has indicated either failure or success. That would be a
> complete solution with nscd as a forking service.
Yup, that would work and has the advantage of being independent of init
system, so it would also solve the problem for traditional init.
--
Russ Allbery (eagle@eyrie.org) <http://www.eyrie.org/~eagle/>