This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 4/4] Mark nscd service as forking in systemd service file (#16639)


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/>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]