Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

bin/50048: ntpd startup errors

1 view
Skip to first unread message

mar...@netbsd.org

unread,
Jul 14, 2015, 7:50:13 AM7/14/15
to
>Number: 50048
>Category: bin
>Synopsis: ntpd startup errors
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Jul 14 11:50:00 +0000 2015
>Originator: Martin Husemann
>Release: NetBSD 7.99.20
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD unpluged.duskware.de 7.99.20 NetBSD 7.99.20 (UNPLUGED) #76: Tue Jul 14 12:03:37 CEST 2015 mar...@seven-days-to-the-wolves.aprisoft.de:/ssd/src/sys/arch/evbarm/compile/UNPLUGED evbarm
Architecture: earm
Machine: evbarm
>Description:

Since the new ntpd has been imported, it complains at startup:

Jul 14 13:42:35 unpluged ntpd[1558]: error waiting on child 1500: No child processes

I see this on all machines running -current.

>How-To-Repeat:
Boot a current machine with ntpd enabled.

>Fix:
n/a


--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-...@muc.de

Christos Zoulas

unread,
Jul 17, 2015, 11:20:11 AM7/17/15
to
The following reply was made to PR bin/50048; it has been noted by GNATS.

From: "Christos Zoulas" <chri...@netbsd.org>
To: gnats...@gnats.NetBSD.org
Cc:
Subject: PR/50048 CVS commit: src/external/bsd/ntp/dist/libntp
Date: Fri, 17 Jul 2015 11:17:07 -0400

Module Name: src
Committed By: christos
Date: Fri Jul 17 15:17:07 UTC 2015

Modified Files:
src/external/bsd/ntp/dist/libntp: work_fork.c

Log Message:
PR/50048: Martin Husemann: Avoid reaping the child twice by setting c->pid = 0
after the wait.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/external/bsd/ntp/dist/libntp/work_fork.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Martin Husemann

unread,
Jul 20, 2015, 3:50:13 AM7/20/15
to
The following reply was made to PR bin/50048; it has been noted by GNATS.

From: Martin Husemann <mar...@netbsd.org>
To: Christos Zoulas <chri...@netbsd.org>
Cc: gnats...@NetBSD.org
Subject: Re: bin/50048: ntpd startup errors
Date: Mon, 20 Jul 2015 07:47:56 +0000

On Fri, Jul 17, 2015 at 11:17:07AM -0400, Christos Zoulas wrote:
> Module Name: src
> Committed By: christos
> Date: Fri Jul 17 15:17:07 UTC 2015
>
> Modified Files:
> src/external/bsd/ntp/dist/libntp: work_fork.c
>
> Log Message:
> PR/50048: Martin Husemann: Avoid reaping the child twice by setting c->pid = 0
> after the wait.

I still see the message (with non zero pid).

Martin

Christos Zoulas

unread,
Jul 20, 2015, 8:20:11 AM7/20/15
to
The following reply was made to PR bin/50048; it has been noted by GNATS.

From: chri...@zoulas.com (Christos Zoulas)
To: Martin Husemann <mar...@netbsd.org>
Cc: gnats...@NetBSD.org
Subject: Re: bin/50048: ntpd startup errors
Date: Mon, 20 Jul 2015 08:17:31 -0400

On Jul 20, 7:47am, mar...@netbsd.org (Martin Husemann) wrote:
-- Subject: Re: bin/50048: ntpd startup errors

| On Fri, Jul 17, 2015 at 11:17:07AM -0400, Christos Zoulas wrote:
| > Module Name: src
| > Committed By: christos
| > Date: Fri Jul 17 15:17:07 UTC 2015
| >
| > Modified Files:
| > src/external/bsd/ntp/dist/libntp: work_fork.c
| >
| > Log Message:
| > PR/50048: Martin Husemann: Avoid reaping the child twice by setting c->pid = 0
| > after the wait.
|
| I still see the message (with non zero pid).

Are you sure, because I don't and I also don't see how it can happen now.

christos

Martin Husemann

unread,
Jul 20, 2015, 8:50:12 AM7/20/15
to
The following reply was made to PR bin/50048; it has been noted by GNATS.

From: Martin Husemann <mar...@duskware.de>
To: Christos Zoulas <chri...@zoulas.com>
Cc: gnats...@NetBSD.org
Subject: Re: bin/50048: ntpd startup errors
Date: Mon, 20 Jul 2015 14:48:08 +0200

On Mon, Jul 20, 2015 at 08:17:31AM -0400, Christos Zoulas wrote:
> Are you sure, because I don't and I also don't see how it can happen now.

I checked - I have work_fork.c up to date, work_fork.o, libntp.a and ntpd
have been rebuild/linked, "make install" in external/bsd/ntp does not
install anything new.

But actually I get the message reproducably on "/etc/rc.d/ntpd stop",
but also once at boot time.


Martin
0 new messages