From nobody Mon Sep 2 05:16:54 2024 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Wxxng1jwPz5MTSq for ; Mon, 02 Sep 2024 05:16:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Wxxnf4MrTz4wmb for ; Mon, 2 Sep 2024 05:16:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1725254214; a=rsa-sha256; cv=none; b=foeCL0TW2Y7nHwmGHXtI9kyK3EeBPT6Yj3kPywhDiLdqDlGV3Z2rLih+jyNERBcZZmPAAB uxRsCuxrTHcTq6NTIUE30cuDtM4M3OoJUOFJm2tyXE3kw8wrXlP7FXYUp2u7UZTuZTm/O3 ajyWDvlWmnCLTlCWDhXwI5rRg2lJS03EJU66t0hY+FFnp79L1Q+8XWw030wdYljulDObmw OQ7NZZMGI9G80WXhW9vyav8F31HncLq025MlHBjhAriqYCOVoPnuYrgXuzA5Cg0n+en13J 9tMrylQfCNjCfYhQq8QyOkRN4Y+oaq8AtXB6UMlRM1MNHPOm0A4xu9TLfLCZiw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1725254214; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=LDbA88lfquZStnAm1Qx97aPfD/8lI5g8xd/aT1mI2pE=; b=irFTImnj9TtV8YysiijFf8/Uyi5S1S4XeCpcG1TZCqnaA4mF2KnRCuwyK9C/iFwYhJQToF NiwlMXTdw4qrq+W6sLUqbK5OJqpsD90/QI3j8eWJRRZ+Gp+shVH6/sFspbtYfstuOepcOt POEsAavP3r8E0HVzXI/Useo9Ao7lwkrL3mdHT/FkT+mP+TOmc+e42+IF9O7MjGE/5Ijva4 BhfkRPgoVikSXKdmkosHC6HQmzxwOpk+VBpZYcbYF9O+UCedBF3FFa3EUKSd188R5FiTht V2BgcPckFeXmLdGX4n9rw0LE8UHLzRmFeyHl5UtxYepgqZuDVA/aYe7cLplmUQ== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Wxxnf3zgqz10L4 for ; Mon, 2 Sep 2024 05:16:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 4825GsZ3076533 for ; Mon, 2 Sep 2024 05:16:54 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4825GsF6076532 for bugs@FreeBSD.org; Mon, 2 Sep 2024 05:16:54 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 281202] [regression] /usr/sbin/ntpd is broken in 13.4-RC Date: Mon, 02 Sep 2024 05:16:54 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 13.4-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: emz@norma.perm.ru X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D281202 Bug ID: 281202 Summary: [regression] /usr/sbin/ntpd is broken in 13.4-RC Product: Base System Version: 13.4-STABLE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: emz@norma.perm.ru Seems like ntpd is trying to bind to point-to-point interfaces and dies: Sep 2 10:08:10 gw0 ntpd[85705]: ntpd 4.2.8p18-a (1): Starting Sep 2 10:08:10 gw0 ntpd[85705]: Command line: /usr/sbin/ntpd -p /var/db/ntp/ntpd.pid -c /etc/ntp.conf Sep 2 10:08:10 gw0 ntpd[85705]: ---------------------------------------------------- Sep 2 10:08:10 gw0 ntpd[85705]: ntp-4 is maintained by Network Time Foundation, Sep 2 10:08:10 gw0 ntpd[85705]: Inc. (NTF), a non-profit 501(c)(3) public-benefit Sep 2 10:08:10 gw0 ntpd[85705]: corporation. Support and training for ntp= -4 are Sep 2 10:08:10 gw0 ntpd[85705]: available at https://www.nwtime.org/support Sep 2 10:08:10 gw0 ntpd[85705]: ---------------------------------------------------- Sep 2 10:08:10 gw0 ntpd[85706]: bind(57) AF_INET 192.168.1.1:123 flags 0x13 failed: Address already in use Sep 2 10:08:10 gw0 ntpd[85706]: unable to create socket on ng4 (37) for 192.168.1.1:123 Sep 2 10:08:10 gw0 ntpd[85705]: daemon child died with signal 11 Sep 2 10:08:10 gw0 kernel: pid 85706 (ntpd), jid 0, uid 0: exited on signa= l 11 (core dumped) # service ntpd start Starting ntpd. daemon control: got EOF ]# lldb /usr/sbin/ntpd -c /var/core/ntpd-85706.core (lldb) target create "/usr/sbin/ntpd" --core "/var/core/ntpd-85706.core" Core file '/var/core/ntpd-85706.core' (x86_64) was loaded. (lldb) bt * thread #1, name =3D 'ntpd', stop reason =3D signal SIGSEGV * frame #0: 0x00001a7c26b07ca3 ntpd`socktoa(sock=3D0x0000000000000024) at socktoa.c:46:10 frame #1: 0x00001a7c26aacc10 ntpd`update_interfaces(port=3D123, receiver=3D0x0000000000000000, data=3D0x0000000000000000) at ntp_io.c:1928:5 frame #2: 0x00001a7c26aabb86 ntpd`io_open_sockets [inlined] create_sockets(port=3D123) at ntp_io.c:2038:2 frame #3: 0x00001a7c26aab77b ntpd`io_open_sockets at ntp_io.c:513:2 frame #4: 0x00001a7c26a98bb3 ntpd`config_ntpd(ptree=3D0x00001a844e74500= 0, input_from_files=3D) at ntp_config.c:5036:2 frame #5: 0x00001a7c26a968bd ntpd`save_and_apply_config_tree(input_from_file=3D) at ntp_config.c:5276:2 [artificial] frame #6: 0x00001a7c26a96a4c ntpd`getconfig(argc=3D0, argv=3D0x00001a8447478a78) at ntp_config.c:5212:2 frame #7: 0x00001a7c26aca6c0 ntpd`ntpdmain(argc=3D0, argv=3D0x00001a844= 7478a78) at ntpd.c:1141:2 frame #8: 0x00001a7c26ac9f2b ntpd`main(argc=3D5, argv=3D0x00001a8447478= a50) at ntpd.c:445:9 frame #9: 0x00001a7c26a93c5d ntpd`_start(ap=3D, cleanup=3D) at crt1_c.c:71:7 (lldb) # uname -a FreeBSD gw0.qwerty.perm.ru 13.4-RC1 FreeBSD 13.4-RC1 releng/13.4-n258236-27777283da79 GENERIC amd64 # dmesg | tail -n 5 pid 83026 (ntpd), jid 0, uid 0: exited on signal 11 (core dumped) pid 83100 (ntpd), jid 0, uid 0: exited on signal 11 (core dumped) pid 83134 (ntpd), jid 0, uid 0: exited on signal 11 (core dumped) pid 85706 (ntpd), jid 0, uid 0: exited on signal 11 (core dumped) Was running with this config for years (at least from 6.0): # cat /etc/ntp.conf disable monitor server fartein.ifi.uio.no prefer server ntp.lth.se server ntp2b.mcc.ac.uk driftfile /var/db/ntp.drift restrict 192.168.0.0 mask 255.255.0.0 nomodify restrict 172.16.0.0 mask 255.255.0.0 nomodify restrict 91.206.242.0 mask 255.255.255.248 nomodify statistics loopstats statsdir /var/log/ntp/ filegen peerstats file peers type day link enable filegen loopstats file loops type day link enable --=20 You are receiving this mail because: You are the assignee for the bug.=