[PATCH 4/4] Mark nscd service as forking in systemd service file (#16639)
Russ Allbery
eagle@eyrie.org
Thu Feb 27 06:03:00 GMT 2014
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/>
More information about the Libc-alpha
mailing list