NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: bin/56471: ntpd dies at startup on macppc/current, sshd randomly dies
The following reply was made to PR bin/56471; it has been noted by GNATS.
From: Jason Thorpe <thorpej%me.com@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: gnats-admin%netbsd.org@localhost,
netbsd-bugs%netbsd.org@localhost,
"martin%netbsd.org@localhost" <martin%NetBSD.org@localhost>
Subject: Re: bin/56471: ntpd dies at startup on macppc/current, sshd randomly
dies
Date: Fri, 29 Oct 2021 07:48:35 -0700
This was probably caused by Christos=E2=80=99s change that unified =
__libc_sigaction14() with the added #define __LIBC12_SOURCE__. Because =
=E2=80=9Csigcontext=E2=80=9D signal handlers have been broken for so =
long (since 2006), re-enabling them has turned up bugs (no one has been =
using the old __sigreturn14 system call for a long time).
> On Oct 29, 2021, at 2:10 AM, Martin Husemann <martin%duskware.de@localhost> =
wrote:
>=20
> The following reply was made to PR bin/56471; it has been noted by =
GNATS.
>=20
> From: Martin Husemann <martin%duskware.de@localhost>
> To: gnats-bugs%netbsd.org@localhost
> Cc: gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost
> Subject: Re: bin/56471: ntpd dies at startup on macppc/current, sshd =
randomly
> dies
> Date: Fri, 29 Oct 2021 11:05:24 +0200
>=20
> Running ntpd with -D 255 shows:
>=20
> [..]
> setting SO_REUSEADDR on gem0@fe80::203:93ff:fe71:ffcc%2 to off
> setting SO_REUSEADDR on gem0@192.168.111.68 to off
> setting SO_REUSEADDR on lo0@127.0.0.1 to off
> setting SO_REUSEADDR on lo0@::1 to off
> setting SO_REUSEADDR on lo0@fe80::1%3 to off
> create_sockets: Total interfaces =3D 7
> 29 Oct 10:57:56 ntpd[1447]: Listening on routing socket on fd #27 for =
interface updates
> io_open_sockets: maxactivefd 27
> forked worker child (pid 1214)
> parent closed request pipe, child 1214 terminating
>=20
>=20
> Running ktrace -i on it again (without the debug settings) shows this
> as last sequence of calls from the child:
>=20
> 1213 1213 ntpd CALL compat_16___sigreturn14(0xffffe000)
> 1213 1213 ntpd RET compat_16___sigreturn14 -1 errno 22 =
Invalid argument
> 1213 1213 ntpd CALL exit(0x16)
>=20
> ... and this kernel does not have COMPAT_16 enabled.
>=20
> Just to make sure: this is from a clean build of today's -current. No =
old code
> involved.
>=20
> Martin
>=20
-- thorpej
Home |
Main Index |
Thread Index |
Old Index