tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: netbsd-5 + wip/pdnsd + pthread = hang up

On Sun, Mar 15, 2009 at 06:02:33PM +0200, Aleksey Cheusov wrote:

> Afer upgrading from netbsd-4 to netbsd-5 I've seen one significant
> regression. This is wip/pdnsd, pthread-based dns cache daemon, it
> doesn't work anymore.
> That is it hangs up when it receives SIGTERM. '/etc/rc.d/pdnsd restart'
> doesn't work anymore.  pdnsd daemon hangs up somewhere in close(2).
> Can anybody familiar with pthread programming check whether it is a
> problem in pdnsd or in netbsd-5's implementation of pthreads?
> I'm running a few days old netbsd-5 branch system.

I have committed a kernel fix for this issue. It is not yet integrated into
the netbsd-5 branch but will be part of the final release.

pdnsd could fail in a different way because its socket calls will now error
out with EPIPE when the descriptor is closed, although that is not a bug in
NetBSD. I haven't looked at the pdnsd source so I can't say.

Home | Main Index | Thread Index | Old Index