From unknown Fri Aug 15 02:04:56 2025 X-Loop: help-debbugs@gnu.org Subject: bug#73873: ntpd segfaults at boot (caused by use of IPv6?) Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 19 Oct 2024 04:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 73873 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 73873@debbugs.gnu.org X-Debbugs-Original-To: bug-guix Received: via spool by submit@debbugs.gnu.org id=B.172931049126249 (code B ref -1); Sat, 19 Oct 2024 04:02:02 +0000 Received: (at submit) by debbugs.gnu.org; 19 Oct 2024 04:01:31 +0000 Received: from localhost ([127.0.0.1]:40818 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t20eg-0006pJ-Iz for submit@debbugs.gnu.org; Sat, 19 Oct 2024 00:01:30 -0400 Received: from lists.gnu.org ([209.51.188.17]:37674) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t20ee-0006p1-C3 for submit@debbugs.gnu.org; Sat, 19 Oct 2024 00:01:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t20eC-0006Wh-65 for bug-guix@gnu.org; Sat, 19 Oct 2024 00:01:02 -0400 Received: from mail-pl1-x62f.google.com ([2607:f8b0:4864:20::62f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t20eA-0005uR-IE for bug-guix@gnu.org; Sat, 19 Oct 2024 00:00:59 -0400 Received: by mail-pl1-x62f.google.com with SMTP id d9443c01a7336-20cdb889222so28958205ad.3 for ; Fri, 18 Oct 2024 21:00:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729310456; x=1729915256; darn=gnu.org; h=mime-version:message-id:date:subject:to:from:from:to:cc:subject :date:message-id:reply-to; bh=VlOqDE4DnAnKQg+TlHPFaApujsN1Vqd2k9hHIspGgrQ=; b=Z+gIu1gbv6fx4Dqy9q6qub51MZK+Jl3eeLip5KsvbE6TSTI0lOnP9vz44PW26i7pR+ uEvojGaS77CHvxf/2x0EMl9CZVh2rsanvLGsX7S5ESvJZcwnN7bdt1TRnUpscXAs2GP8 Fs7CUTfVpdmgHoP7Ueqyx4Hk2bv6luupe49dvSW9Ae+6ib/Ss0ACpKgNnxK6CrDqyKw9 pInrpw1RADohPtds3sk9weTHkSBvifFgWJvlZJL76iBpUeaRfeAbcoZDmXCktZP5lPmh lNJeOYI0V+s2OavNKkr11/+jPdZMCYkNfHfRkjCO3dfAhI3oSQNtoDVTMKgriazvPT3s +syg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729310456; x=1729915256; h=mime-version:message-id:date:subject:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=VlOqDE4DnAnKQg+TlHPFaApujsN1Vqd2k9hHIspGgrQ=; b=RWDkJC9EYyqb5VqUEx9rKROCCaIHgfGbv6JWD9uHLtVQydxoHtIDyKSZUw1gDhecAU nOA6VTlvmYTOcHBBStJgboz8bW70YhEyrNQH3bFoNb7tI0NsAu8PuNdtl4q0gzo7FmB+ vIUmuqi4zaikUnMAVIDgEvcpdQncsCdZr/U3r/+iM22b9oOwEXJMwJxLUQJa+c9AUkHV YPsZx5sYXUueckFjNjAj7jPPa91tJg8qmhLuLhY0oWM59ILTaOtWdtDYQU6nf4Z+0bBR XP4Rk1pRnamQ4k6OoGDnuAonvNPVpMhjHMrQSezpxvAqADtfhh/1/E6EjBqrwN1p7wYM UVyg== X-Gm-Message-State: AOJu0YxB2nB1zvFxj8ieuHjvtK1gu0ice3pICFBXgjVsE2qdZqczevmE isKklf/tEO+22GPr7kjdElNR8g7UAPeqb6A0Ox7vI0zFqceZDG26aodhLg== X-Google-Smtp-Source: AGHT+IFtv9RnYcqmqP3k/ja4kddAgwu/QROWIRCSgx+GwqSccHKebsBNM83sPWkNQEtVkoYD1WPbuA== X-Received: by 2002:a17:902:e80c:b0:20b:b5d5:8072 with SMTP id d9443c01a7336-20e5a70d652mr68821655ad.2.1729310455991; Fri, 18 Oct 2024 21:00:55 -0700 (PDT) Received: from terra ([2405:6586:be0:0:c8ff:1707:9b9:af89]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-20e5a74c989sm20015925ad.91.2024.10.18.21.00.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 18 Oct 2024 21:00:55 -0700 (PDT) From: Maxim Cournoyer Date: Sat, 19 Oct 2024 13:00:53 +0900 Message-ID: <871q0coi6i.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::62f; envelope-from=maxim.cournoyer@gmail.com; helo=mail-pl1-x62f.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Hi, After adjusting my system time in UEFI, I've had the ntpd daemon terminate with exit status 11, with the following message in /var/log/messages: --8<---------------cut here---------------start------------->8--- Oct 19 08:44:17 localhost ntpd[1658]: Soliciting pool server 160.16.113.133 Oct 19 08:44:17 localhost ntpd[1658]: 160.16.113.133 local addr -> 192.168.10.119 Oct 19 08:44:18 localhost ntpd[1658]: Soliciting pool server 133.243.238.163 Oct 19 08:44:18 localhost ntpd[1658]: bind(25) AF_INET6 [2405:MASKED:af2b]:123 flags 0x11 failed: Cannot assign requested address Oct 19 08:44:18 localhost vmunix: [ 44.506604] ntpd[1658]: segfault at 24 ip 000055d88235029b sp 00007fffdeb60e50 error 4 in ntpd[7f29b,55d8822e3000+86000] likely on CPU 0 (core 0, socket 0) Oct 19 08:44:18 localhost vmunix: [ 44.506614] Code: 8b 04 25 28 00 00 00 48 89 44 24 08 31 c0 e8 3c 2e f9 ff 44 8b 28 48 89 c5 e8 61 9e ff ff 49 89 c4 48 85 db 0f 84 e5 00 00 00 <44> 0f b7 0b 66 41 83 f9 02 0f 84 f6 00 00 00 66 41 83 f 9 0a 74 57 Oct 19 08:44:18 localhost ntpd[1658]: unable to create socket on eno1 (6) for [2405:MASKED:af2b]:123 Oct 19 08:44:18 localhost shepherd[1]: Service ntpd (PID 1658) terminated with signal 11. Oct 19 08:44:18 localhost shepherd[1]: Service ntpd has been disabled. Oct 19 08:44:18 localhost shepherd[1]: (Respawning too fast.) --8<---------------cut here---------------end--------------->8--- I've had to do: # herd enable ntpd # herd start ntpd To have it run again after the boot was completed. -- Thanks, Maxim From unknown Fri Aug 15 02:04:56 2025 X-Loop: help-debbugs@gnu.org Subject: bug#73873: ntpd segfaults at boot (caused by use of IPv6?) Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 19 Oct 2024 08:09:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73873 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 73873@debbugs.gnu.org Received: via spool by 73873-submit@debbugs.gnu.org id=B73873.17293253356399 (code B ref 73873); Sat, 19 Oct 2024 08:09:01 +0000 Received: (at 73873) by debbugs.gnu.org; 19 Oct 2024 08:08:55 +0000 Received: from localhost ([127.0.0.1]:41261 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t24W6-0001f8-QV for submit@debbugs.gnu.org; Sat, 19 Oct 2024 04:08:55 -0400 Received: from mail-pl1-f178.google.com ([209.85.214.178]:44503) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t24W5-0001ev-H3 for 73873@debbugs.gnu.org; Sat, 19 Oct 2024 04:08:54 -0400 Received: by mail-pl1-f178.google.com with SMTP id d9443c01a7336-20cdbe608b3so25325025ad.1 for <73873@debbugs.gnu.org>; Sat, 19 Oct 2024 01:08:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729325243; x=1729930043; darn=debbugs.gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:to:from:from:to:cc:subject:date:message-id:reply-to; bh=hB7uBK6Ooaf0bOwBHQGC5HWZTuco0ZfoF1tXrghdo84=; b=QIniagKso3zCM/lB5WKnKSQgA/R/ZGLEckFJcOgcXxROjifSeB5tifxd1A15MBHi7X YCdwYoGqfPNspZsr5YPE5dG7v9pfH3iLLw6tNCaM6hLDdwPA7WHgjn3NHOOoIxOHwPzo J2isZQjcWZHd/EwkhLMeX6TgzBBdTKU3WStxdcOy/P0fXqO5jeKkDbHxMydCH2eCOlRC h86PEA58U3dGZHJX+KhrBHTfK2gnvTK67mNDdfjHG5lG1R2U/70YAYub7yUHUm+csnJv uRM5KRrNXTL+DI4wUE95pOkQJXBpYOFpWkbovmw97HkTc0We9/8p9p7mG6ShUf5ovvW8 tkqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729325243; x=1729930043; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=hB7uBK6Ooaf0bOwBHQGC5HWZTuco0ZfoF1tXrghdo84=; b=QzDy8ZTLWI2EJXCa/UxQO0erzAxBrHyUF9Xi6/82w/7yLE8b7RXxVMWjmUQV9bhtxc LTm49B6NrJIGTAFGadFPXISjGk76TY5GCOnZhezl0dvMK3oWV9tlm9B+XlVCqsD26RMx cZRdBSFkFzMkziiqRpxheJwVWC3JjCDTP55aLh/hDBI2K0nSqevSnrUdoWzTIggxnGxV gCmxFJzfZLkVcOz+LS8rZaIRXcPuIKDYMPlXEIC+b7A8vDQErjlIXtnNo/FnX84WDe5Z 7/uWGgA+IA7atsB0qAeSbU0MPobpVNaCmZjr9slDFC5fvk7bSUYs3TSD4ZkUvWl3t5lq EmJg== X-Gm-Message-State: AOJu0YxyVJOf06yMrmcm+7zydAYAIveP+4baU3ADaG6bGwODMgz2pOaO UcOaId0bguSwCWJyryTp0BrZsQ+PdZSErmOWPjub9OjgUzN8Renjyq7QuQ== X-Google-Smtp-Source: AGHT+IHK7l2jobF85qE57jWNwEbGKRqKkpx6dWtDz8G40iwrWbk6O6N6lYiPYcuyOzCVdC9bfeHdxg== X-Received: by 2002:a17:903:40ca:b0:20c:b0c7:92c9 with SMTP id d9443c01a7336-20e5a8d6725mr48821855ad.34.1729325243415; Sat, 19 Oct 2024 01:07:23 -0700 (PDT) Received: from terra ([2405:6586:be0:0:c8ff:1707:9b9:af89]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-7eacc28befbsm2525344a12.74.2024.10.19.01.07.22 for <73873@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 19 Oct 2024 01:07:22 -0700 (PDT) From: Maxim Cournoyer In-Reply-To: <871q0coi6i.fsf@gmail.com> (Maxim Cournoyer's message of "Sat, 19 Oct 2024 13:00:53 +0900") References: <871q0coi6i.fsf@gmail.com> Date: Sat, 19 Oct 2024 17:07:19 +0900 Message-ID: <87sessms7c.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello, Maxim Cournoyer writes: > Hi, > > After adjusting my system time in UEFI, I've had the ntpd daemon > terminate with exit status 11, with the following message in > /var/log/messages: > > Oct 19 08:44:17 localhost ntpd[1658]: Soliciting pool server 160.16.113.133 > Oct 19 08:44:17 localhost ntpd[1658]: 160.16.113.133 local addr -> 192.168.10.119 > Oct 19 08:44:18 localhost ntpd[1658]: Soliciting pool server 133.243.238.163 > Oct 19 08:44:18 localhost ntpd[1658]: bind(25) AF_INET6 [2405:MASKED:af2b]:123 flags 0x11 failed: Cannot assign requested address > Oct 19 08:44:18 localhost vmunix: [ 44.506604] ntpd[1658]: segfault at 24 ip 000055d88235029b sp 00007fffdeb60e50 error 4 in ntpd[7f29b,55d8822e3000+86000] likely on CPU 0 (core 0, socket 0) > Oct 19 08:44:18 localhost vmunix: [ 44.506614] Code: 8b 04 25 28 00 00 00 48 89 44 24 08 31 c0 e8 3c 2e f9 ff 44 8b 28 48 89 c5 e8 61 9e ff ff 49 89 c4 48 85 db 0f 84 e5 00 00 00 <44> 0f b7 0b 66 41 83 f9 02 0f 84 f6 00 00 00 66 41 83 f > 9 0a 74 57 > Oct 19 08:44:18 localhost ntpd[1658]: unable to create socket on eno1 (6) for [2405:MASKED:af2b]:123 > Oct 19 08:44:18 localhost shepherd[1]: Service ntpd (PID 1658) terminated with signal 11. > Oct 19 08:44:18 localhost shepherd[1]: Service ntpd has been disabled. > Oct 19 08:44:18 localhost shepherd[1]: (Respawning too fast.) > > I've had to do: > > # herd enable ntpd > # herd start ntpd > > To have it run again after the boot was completed. It wasn't too longed before it crashed the same again, this time causing Shepherd to use 100% CPU (1 core) doing almost only epoll_wait calls, e.g.: --8<---------------cut here---------------start------------->8--- [...] 1 epoll_wait(8, [], 8, 0) = 0 1 epoll_wait(8, [], 8, 0) = 0 1 epoll_wait(8, [], 8, 0) = 0 1 epoll_wait(8, [], 8, 0) = 0 1 epoll_wait(8, [], 8, 0) = 0 1 epoll_wait(8, [], 8, 0) = 0 1 epoll_wait(8, [], 8, 0) = 0 1 epoll_wait(8, [], 8, 0) = 0 1 epoll_wait(8, [], 8, 0) = 0 1 epoll_wait(8, [], 8, 0) = 0 1 epoll_wait(8, [], 8, 0) = 0 1 epoll_wait(8, [], 8, 0) = 0 1 epoll_wait(8, [], 8, 0) = 0 1 epoll_wait(8, [], 8, 0) = 0 1 epoll_wait(8, [], 8, 0) = 0 1 epoll_wait(8, [], 8, 0) = 0 [...] --8<---------------cut here---------------end--------------->8--- -- Thanks, Maxim From unknown Fri Aug 15 02:04:56 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Maxim Cournoyer Subject: bug#73873: closed (Re: bug#73873: ntpd segfaults at boot (caused by use of IPv6?)) Message-ID: References: <87r08cckvt.fsf@gmail.com> <871q0coi6i.fsf@gmail.com> X-Gnu-PR-Message: they-closed 73873 X-Gnu-PR-Package: guix Reply-To: 73873@debbugs.gnu.org Date: Sat, 19 Oct 2024 12:58:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1729342682-25989-1" This is a multi-part message in MIME format... ------------=_1729342682-25989-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #73873: ntpd segfaults at boot (caused by use of IPv6?) which was filed against the guix package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 73873@debbugs.gnu.org. --=20 73873: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D73873 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1729342682-25989-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 73873-done) by debbugs.gnu.org; 19 Oct 2024 12:57:05 +0000 Received: from localhost ([127.0.0.1]:41827 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t290z-0006jY-87 for submit@debbugs.gnu.org; Sat, 19 Oct 2024 08:57:05 -0400 Received: from mail-pl1-f171.google.com ([209.85.214.171]:44428) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t290w-0006jO-MD for 73873-done@debbugs.gnu.org; Sat, 19 Oct 2024 08:57:03 -0400 Received: by mail-pl1-f171.google.com with SMTP id d9443c01a7336-20cdbe608b3so26219685ad.1 for <73873-done@debbugs.gnu.org>; Sat, 19 Oct 2024 05:56:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729342538; x=1729947338; darn=debbugs.gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:to:from:from:to:cc:subject:date:message-id:reply-to; bh=aOzm1966MuSvhlUaAlQ7n5OAg5t/39xuAi3yUk2A+hE=; b=J5Ts/ixRdQFaPmgFdE8ZT640TbUXo+Skw+McW+0EcqT/45pvkOk4fGwnnlv0ZYX+yA 2IaL9S2MoplvwvqXRNE/IqfRbqp15CnbcMLqSJda71o42g5D2lIbw9HB0W02Vozrw3oZ PziEzpnbF2P7k48AeJRctg7xys4n2BcUVzLMU3b1JA7RiaWTuAMKXanFJ2U1BVpu022L KWgLFnTIS2rIFk1JiFTBA57xFLgq4q1MSn5bf1rl9V7N4b0x+2ebcsPurN4OsEBUdC4U nu5nc8H8Uu8RfTVQsYtUsjWa36EV/CwFbfw18wFHYvHbn2n3jVZ3mxLQbq7rhtdypLIq e8Uw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729342538; x=1729947338; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=aOzm1966MuSvhlUaAlQ7n5OAg5t/39xuAi3yUk2A+hE=; b=t5dbv/7oc/qliF9wxDRyhbfZjtVzWrkcQMnMRfNjAcJfSaImp+JAN/hpK5Y8PNNJam lM/2RZLke9f2DnG6ahH6d2DZOFGtDrqRNTLrdFglLRe13L++XPa3meZ4lKItjV85xiCR +pH275WskOUtha93jIkBYsHBi2Jlu/8cU1Bytxat1Sf2Mn5zQEE7T7TOL0J0BQTdAfKT BvUYFvUDGhjPp5sEBUwRHOgzFuJ0SZldhdAlX7XH9qcQzSKo+KNYRcuDr66FjUPO2fqE GUDttqZd7XnsFTLt80UZIbx8oA/PUbg1kPe3yTHvOM6zvTFR8YfsqdqQG22gizMUxXuw aKhg== X-Gm-Message-State: AOJu0YzOdNcYvpz9HnNhzI+mZvCyQvzh3N0KBy54n0BUoHnG8UwDVYAd Lt4CkHi4QZznF4cK46h8kSYTp3HikyCmZtes1qkNwJjyzxagXkbZ0NObpg== X-Google-Smtp-Source: AGHT+IG+aVIp2JmWlI2KDXuhJ1pNapnzPzU+M1J2Yh2aY1BukXcSm10Dy61vuhLMPaJvzySbbpUtbQ== X-Received: by 2002:a17:902:d487:b0:20c:79f1:fed9 with SMTP id d9443c01a7336-20e5a89dd34mr82381425ad.25.1729342537640; Sat, 19 Oct 2024 05:55:37 -0700 (PDT) Received: from terra ([2405:6586:be0:0:c8ff:1707:9b9:af89]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-20e5a751f9bsm27317935ad.101.2024.10.19.05.55.36 for <73873-done@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 19 Oct 2024 05:55:37 -0700 (PDT) From: Maxim Cournoyer To: 73873-done@debbugs.gnu.org Subject: Re: bug#73873: ntpd segfaults at boot (caused by use of IPv6?) In-Reply-To: <871q0coi6i.fsf@gmail.com> (Maxim Cournoyer's message of "Sat, 19 Oct 2024 13:00:53 +0900") References: <871q0coi6i.fsf@gmail.com> Date: Sat, 19 Oct 2024 21:55:34 +0900 Message-ID: <87r08cckvt.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 73873-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi, Maxim Cournoyer writes: > Hi, > > After adjusting my system time in UEFI, I've had the ntpd daemon > terminate with exit status 11, with the following message in > /var/log/messages: > > Oct 19 08:44:17 localhost ntpd[1658]: Soliciting pool server 160.16.113.133 > Oct 19 08:44:17 localhost ntpd[1658]: 160.16.113.133 local addr -> 192.168.10.119 > Oct 19 08:44:18 localhost ntpd[1658]: Soliciting pool server 133.243.238.163 > Oct 19 08:44:18 localhost ntpd[1658]: bind(25) AF_INET6 [2405:MASKED:af2b]:123 flags 0x11 failed: Cannot assign requested address > Oct 19 08:44:18 localhost vmunix: [ 44.506604] ntpd[1658]: segfault at 24 ip 000055d88235029b sp 00007fffdeb60e50 error 4 in ntpd[7f29b,55d8822e3000+86000] likely on CPU 0 (core 0, socket 0) > Oct 19 08:44:18 localhost vmunix: [ 44.506614] Code: 8b 04 25 28 00 00 00 48 89 44 24 08 31 c0 e8 3c 2e f9 ff 44 8b 28 48 89 c5 e8 61 9e ff ff 49 89 c4 48 85 db 0f 84 e5 00 00 00 <44> 0f b7 0b 66 41 83 f9 02 0f 84 f6 00 00 00 66 41 83 f > 9 0a 74 57 > Oct 19 08:44:18 localhost ntpd[1658]: unable to create socket on eno1 (6) for [2405:MASKED:af2b]:123 > Oct 19 08:44:18 localhost shepherd[1]: Service ntpd (PID 1658) terminated with signal 11. > Oct 19 08:44:18 localhost shepherd[1]: Service ntpd has been disabled. > Oct 19 08:44:18 localhost shepherd[1]: (Respawning too fast.) While it'd be nice to understand why ntpd segfaults when the server doesn't support IPv6, this is now mitigated by using an IPv6-enabled pool address by default (see: commit 503919fcf0 ("services: ntp: Default to an address that supports IPv6.")). Closing for now. -- Thanks, Maxim ------------=_1729342682-25989-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 19 Oct 2024 04:01:31 +0000 Received: from localhost ([127.0.0.1]:40818 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t20eg-0006pJ-Iz for submit@debbugs.gnu.org; Sat, 19 Oct 2024 00:01:30 -0400 Received: from lists.gnu.org ([209.51.188.17]:37674) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t20ee-0006p1-C3 for submit@debbugs.gnu.org; Sat, 19 Oct 2024 00:01:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t20eC-0006Wh-65 for bug-guix@gnu.org; Sat, 19 Oct 2024 00:01:02 -0400 Received: from mail-pl1-x62f.google.com ([2607:f8b0:4864:20::62f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t20eA-0005uR-IE for bug-guix@gnu.org; Sat, 19 Oct 2024 00:00:59 -0400 Received: by mail-pl1-x62f.google.com with SMTP id d9443c01a7336-20cdb889222so28958205ad.3 for ; Fri, 18 Oct 2024 21:00:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729310456; x=1729915256; darn=gnu.org; h=mime-version:message-id:date:subject:to:from:from:to:cc:subject :date:message-id:reply-to; bh=VlOqDE4DnAnKQg+TlHPFaApujsN1Vqd2k9hHIspGgrQ=; b=Z+gIu1gbv6fx4Dqy9q6qub51MZK+Jl3eeLip5KsvbE6TSTI0lOnP9vz44PW26i7pR+ uEvojGaS77CHvxf/2x0EMl9CZVh2rsanvLGsX7S5ESvJZcwnN7bdt1TRnUpscXAs2GP8 Fs7CUTfVpdmgHoP7Ueqyx4Hk2bv6luupe49dvSW9Ae+6ib/Ss0ACpKgNnxK6CrDqyKw9 pInrpw1RADohPtds3sk9weTHkSBvifFgWJvlZJL76iBpUeaRfeAbcoZDmXCktZP5lPmh lNJeOYI0V+s2OavNKkr11/+jPdZMCYkNfHfRkjCO3dfAhI3oSQNtoDVTMKgriazvPT3s +syg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729310456; x=1729915256; h=mime-version:message-id:date:subject:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=VlOqDE4DnAnKQg+TlHPFaApujsN1Vqd2k9hHIspGgrQ=; b=RWDkJC9EYyqb5VqUEx9rKROCCaIHgfGbv6JWD9uHLtVQydxoHtIDyKSZUw1gDhecAU nOA6VTlvmYTOcHBBStJgboz8bW70YhEyrNQH3bFoNb7tI0NsAu8PuNdtl4q0gzo7FmB+ vIUmuqi4zaikUnMAVIDgEvcpdQncsCdZr/U3r/+iM22b9oOwEXJMwJxLUQJa+c9AUkHV YPsZx5sYXUueckFjNjAj7jPPa91tJg8qmhLuLhY0oWM59ILTaOtWdtDYQU6nf4Z+0bBR XP4Rk1pRnamQ4k6OoGDnuAonvNPVpMhjHMrQSezpxvAqADtfhh/1/E6EjBqrwN1p7wYM UVyg== X-Gm-Message-State: AOJu0YxB2nB1zvFxj8ieuHjvtK1gu0ice3pICFBXgjVsE2qdZqczevmE isKklf/tEO+22GPr7kjdElNR8g7UAPeqb6A0Ox7vI0zFqceZDG26aodhLg== X-Google-Smtp-Source: AGHT+IFtv9RnYcqmqP3k/ja4kddAgwu/QROWIRCSgx+GwqSccHKebsBNM83sPWkNQEtVkoYD1WPbuA== X-Received: by 2002:a17:902:e80c:b0:20b:b5d5:8072 with SMTP id d9443c01a7336-20e5a70d652mr68821655ad.2.1729310455991; Fri, 18 Oct 2024 21:00:55 -0700 (PDT) Received: from terra ([2405:6586:be0:0:c8ff:1707:9b9:af89]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-20e5a74c989sm20015925ad.91.2024.10.18.21.00.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 18 Oct 2024 21:00:55 -0700 (PDT) From: Maxim Cournoyer To: bug-guix Subject: ntpd segfaults at boot (caused by use of IPv6?) Date: Sat, 19 Oct 2024 13:00:53 +0900 Message-ID: <871q0coi6i.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::62f; envelope-from=maxim.cournoyer@gmail.com; helo=mail-pl1-x62f.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Hi, After adjusting my system time in UEFI, I've had the ntpd daemon terminate with exit status 11, with the following message in /var/log/messages: --8<---------------cut here---------------start------------->8--- Oct 19 08:44:17 localhost ntpd[1658]: Soliciting pool server 160.16.113.133 Oct 19 08:44:17 localhost ntpd[1658]: 160.16.113.133 local addr -> 192.168.10.119 Oct 19 08:44:18 localhost ntpd[1658]: Soliciting pool server 133.243.238.163 Oct 19 08:44:18 localhost ntpd[1658]: bind(25) AF_INET6 [2405:MASKED:af2b]:123 flags 0x11 failed: Cannot assign requested address Oct 19 08:44:18 localhost vmunix: [ 44.506604] ntpd[1658]: segfault at 24 ip 000055d88235029b sp 00007fffdeb60e50 error 4 in ntpd[7f29b,55d8822e3000+86000] likely on CPU 0 (core 0, socket 0) Oct 19 08:44:18 localhost vmunix: [ 44.506614] Code: 8b 04 25 28 00 00 00 48 89 44 24 08 31 c0 e8 3c 2e f9 ff 44 8b 28 48 89 c5 e8 61 9e ff ff 49 89 c4 48 85 db 0f 84 e5 00 00 00 <44> 0f b7 0b 66 41 83 f9 02 0f 84 f6 00 00 00 66 41 83 f 9 0a 74 57 Oct 19 08:44:18 localhost ntpd[1658]: unable to create socket on eno1 (6) for [2405:MASKED:af2b]:123 Oct 19 08:44:18 localhost shepherd[1]: Service ntpd (PID 1658) terminated with signal 11. Oct 19 08:44:18 localhost shepherd[1]: Service ntpd has been disabled. Oct 19 08:44:18 localhost shepherd[1]: (Respawning too fast.) --8<---------------cut here---------------end--------------->8--- I've had to do: # herd enable ntpd # herd start ntpd To have it run again after the boot was completed. -- Thanks, Maxim ------------=_1729342682-25989-1--