From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id uKHZK1x0QmceHQEAe85BDQ:P1 (envelope-from ) for ; Sun, 24 Nov 2024 00:33:32 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id uKHZK1x0QmceHQEAe85BDQ (envelope-from ) for ; Sun, 24 Nov 2024 01:33:32 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=kgzMPLiI; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=ZNtD4Aob; dmarc=fail reason="SPF not aligned (strict), DKIM not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1732408412; a=rsa-sha256; cv=none; b=fW/k0ugElXdsi15N7iSZZXBXp/poDtiPKVhJRmVd+rZJ3wkHlFSYii/5l0vNgi8bDHIzf2 lSPyQi0ndd6CwTvnqbSRZwjnIpwKsQQ/OKyMrWb8p8R2RdW9b/NtiemMUL6JE1CE3iTogO 1zM9R0TAFvdSX3LBlWgwtS3pB+tYWoK9whwGBTnq3k6B1BezZHhRxdh1TIb02cWTigjdWq XbvoHeGAj3CqUlsqOz5TMgl9HRI8dHzYH4pabgNuQkOkWthHUGIq0nHHuoNB6l6NDKdJoY pkNnzlbNqZoyx+WrEPsV+/sl52PNLq5oPNrrbbRE4Ra0kLuyTKX1sxHwJxFFUw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=kgzMPLiI; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=ZNtD4Aob; dmarc=fail reason="SPF not aligned (strict), DKIM not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1732408412; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=9NzNtgiqbVU1RlpE4AZdrnht9reHRSDO5Pf0dQVFttA=; b=tlhRIujMimGZlNb7aY9/OOvy4+Yo1ekOTg5cepLzqe8I049crPEUY9Pp0URVCC44oWcEYI WCKDccMp1wSvqfLIdQtW8dEbxzeQ89ia2Xi5SeX539jUEsHoXNddNZZUUZfPQzIJeuJ/61 sgk4mlRtoPYEs/q4IImr0VCZphnMwQG3SSjh+e4Q5FegXd71CJyivjzfSLQ+i1DbLIOSnb 8MJowGmARfEX0bLPkYTImkLIrZn6BWfQLeSsthBCcnc3rMo0nPSMv80BYe6CVTXtQhHsoE +C2YII5hogNkolkM/ASzE2mGMJr6l2SFARufXR0vqZTf+QRYAmMQCwrm4dMpgg== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id EC38F8155A for ; Sun, 24 Nov 2024 01:33:31 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tF0Yi-0003nC-IN; Sat, 23 Nov 2024 19:33:04 -0500 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 1tF0Yg-0003n4-UG for bug-guix@gnu.org; Sat, 23 Nov 2024 19:33:03 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tF0Yg-0006dD-MH for bug-guix@gnu.org; Sat, 23 Nov 2024 19:33:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:Subject; bh=9NzNtgiqbVU1RlpE4AZdrnht9reHRSDO5Pf0dQVFttA=; b=kgzMPLiIBYVBrwuHTcWjo26k7gcqagOu1yvDMH2EN40WkdojYSNBSH2dlTCEo2yrIYKW+RHwcIMyUQ3ofiZsSzkfi9jdBDKe2MJ3aZjQIV1qgeR54qSclJLei3r/lqxoKLCYxiBtBUpKJOTuymEfPFriE7+QsaI71NF9O42RhJ1Ge2rOtKJyjueEO/AgyVPPwOmaOKMa8j2gWYwcm6QN0lZokzP6L+T8WY+qj+MjJEdgEogLIFpVbKPQI5dYg1Jl8TWNQdLSsnZ63Qar9YO9C6vS9ueyxfHu7ykurjEa730sI0Dh7ib/pc3Aw8wVkOGZCOrwcSfMTsRm055chLSr/Q==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tF0Yg-00082s-9N for bug-guix@gnu.org; Sat, 23 Nov 2024 19:33:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#74501: ntpd segfaults at boot (take 2) Resent-From: Fredrik Salomonsson Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 24 Nov 2024 00:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 74501 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 74501@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.173240837230905 (code B ref -1); Sun, 24 Nov 2024 00:33:01 +0000 Received: (at submit) by debbugs.gnu.org; 24 Nov 2024 00:32:52 +0000 Received: from localhost ([127.0.0.1]:59952 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tF0YW-00082P-0k for submit@debbugs.gnu.org; Sat, 23 Nov 2024 19:32:52 -0500 Received: from lists.gnu.org ([209.51.188.17]:59264) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tF0YT-00082G-7w for submit@debbugs.gnu.org; Sat, 23 Nov 2024 19:32:49 -0500 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 1tF0YR-0003jB-F2 for bug-guix@gnu.org; Sat, 23 Nov 2024 19:32:48 -0500 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tF0YO-0006cM-Od for bug-guix@gnu.org; Sat, 23 Nov 2024 19:32:47 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 49916240101 for ; Sun, 24 Nov 2024 01:32:38 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1732408359; bh=TuUm4e19Hd47l81sLiuWjPSt2One5zrO9Z7CQKoUMMQ=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type:From; b=ZNtD4AobXpuC7p65+Mvt9M2yHnqwGuKTtysskOOwb8pDBihAOJaA/kCH1SM30kBs+ xb910J9g8nLwvwa1Hbeuu8ANO76EBvffFLFHLCPs/989WTSOy796l6TGh7dxTKbPlg /fLh7AnyhdcRxo3LRkMjlMytzZiM6S/tgcELEHxre64GdRKLASBzlW3ELhEFqVC1Yv DRoZq7TI1BBAqKjZCEsm4JbfofqDC7ktjhe9ndwqd5sGBY/o0UWrn0WvnpUKf6H32Z UKaJMijuc9FVbkkH53yMu8N+zAo5RkTPyDpFM6t4y68hyeiRJfhV5Z6Fe5/BWqHoMp hjTQPXxsQ8rFw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4XwqYL1Lp6z9rxG for ; Sun, 24 Nov 2024 01:32:37 +0100 (CET) From: Fredrik Salomonsson Date: Sun, 24 Nov 2024 00:32:34 +0000 Message-ID: <87iksdii8t.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=plattfot@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -33 X-Spam_score: -3.4 X-Spam_bar: --- X-Spam_report: (-3.4 / 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, HEXHASH_WORD=1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -3.44 X-Spam-Score: -3.44 X-Migadu-Queue-Id: EC38F8155A X-Migadu-Scanner: mx12.migadu.com X-TUID: PTVe/lH2y4x7 Hi, Similar to issue 73873 [0], I'm also seeing ntpd segfaults at boot and it looks to be due to ipv6: In /var/log/messages --8<---------------cut here---------------start------------->8--- Nov 23 16:13:41 localhost ntpd[1019]: ntpd 4.2.8p18@1.4062-o Thu Jan 1 00:00:01 UTC 1970 (1): Starting Nov 23 16:13:41 localhost ntpd[1019]: Command line: /gnu/store/s4ra0g0ym1q1wh5jrqs60092x1nrb8h9-ntp-4.2.8p18/bin/ntpd -n -c /gnu/store/ghh3m9wzraszf7p4ynac006x96svddbq-ntpd.conf -u ntpd -g Nov 23 16:13:41 localhost ntpd[1019]: ---------------------------------------------------- Nov 23 16:13:41 localhost ntpd[1019]: ntp-4 is maintained by Network Time Foundation, Nov 23 16:13:41 localhost ntpd[1019]: Inc. (NTF), a non-profit 501(c)(3) public-benefit Nov 23 16:13:41 localhost ntpd[1019]: corporation. Support and training for ntp-4 are Nov 23 16:13:41 localhost ntpd[1019]: available at https://www.nwtime.org/support Nov 23 16:13:41 localhost ntpd[1019]: ---------------------------------------------------- Nov 23 16:13:41 localhost ntpd[1019]: DEBUG behavior is enabled - a violation of any diagnostic assertion will cause ntpd to abort Nov 23 16:13:41 localhost ntpd[1019]: proto: precision = 0.040 usec (-24) Nov 23 16:13:41 localhost ntpd[1019]: baseday_set_day: invalid day (25556), UNIX epoch substituted Nov 23 16:13:41 localhost ntpd[1019]: basedate set to 1970-01-01 Nov 23 16:13:41 localhost ntpd[1019]: gps base set to 1980-01-06 (week 0) Nov 23 16:13:41 localhost ntpd[1019]: Listen and drop on 0 v6wildcard [::]:123 Nov 23 16:13:41 localhost ntpd[1019]: Listen and drop on 1 v4wildcard 0.0.0.0:123 Nov 23 16:13:41 localhost ntpd[1019]: Listen normally on 2 lo 127.0.0.1:123 Nov 23 16:13:41 localhost ntpd[1019]: Listen normally on 3 enp37s0 192.168.1.8:123 Nov 23 16:13:41 localhost vmunix: [ 22.648239] ntpd[1019]: segfault at 24 ip 000055fe102ab29b sp 00007ffc26382ca0 error 4 in ntpd[7f29b,55fe1023e000+86000] likely on CPU 0 (core 0, socket 0) Nov 23 16:13:41 localhost ntpd[1019]: Listen normally on 4 lo [::1]:123 Nov 23 16:13:41 localhost vmunix: [ 22.649529] Code: 8b 04 25 28 00 00 00 48 89 44 24 08 31 c0 e8 dc 2d 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 f9 0a 74 57 Nov 23 16:13:41 localhost ntpd[1019]: bind(21) AF_INET6 [2001:REDACTED:cedf]:123 flags 0x11 failed: Cannot assign requested address Nov 23 16:13:41 localhost ntpd[1019]: unable to create socket on enp37s0 (5) for [2001:REDACTED:cedf]:123 Nov 23 16:13:41 localhost shepherd[1]: Service ntpd (PID 1019) terminated with signal 11. Nov 23 16:13:41 localhost shepherd[1]: Service ntpd has been disabled. Nov 23 16:13:41 localhost shepherd[1]: (Respawning too fast.) --8<---------------cut here---------------end--------------->8--- And `sudo dmesg`: --8<---------------cut here---------------start------------->8--- [ 21.871447] ntpd[954]: segfault at 24 ip 000055abbdf0029b sp 00007ffebf673770 error 4 in ntpd[7f29b,55abbde93000+86000] likely on CPU 7 (core 9, socket 0) [ 21.871453] Code: 8b 04 25 28 00 00 00 48 89 44 24 08 31 c0 e8 dc 2d 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 f9 0a 74 57 [ 22.002809] ntpd[1005]: segfault at 24 ip 000055ac349d229b sp 00007fff8be14a00 error 4 in ntpd[7f29b,55ac34965000+86000] likely on CPU 12 (core 0, socket 0) [ 22.002863] Code: 8b 04 25 28 00 00 00 48 89 44 24 08 31 c0 e8 dc 2d 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 f9 0a 74 57 [ 22.131272] ntpd[1008]: segfault at 24 ip 0000556dc1ad529b sp 00007ffef46b9d50 error 4 in ntpd[7f29b,556dc1a68000+86000] likely on CPU 3 (core 3, socket 0) [ 22.132111] Code: 8b 04 25 28 00 00 00 48 89 44 24 08 31 c0 e8 dc 2d 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 f9 0a 74 57 [ 22.264012] ntpd[1011]: segfault at 24 ip 000055e02824f29b sp 00007fffa1e29970 error 4 in ntpd[7f29b,55e0281e2000+86000] likely on CPU 4 (core 4, socket 0) [ 22.264019] Code: 8b 04 25 28 00 00 00 48 89 44 24 08 31 c0 e8 dc 2d 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 f9 0a 74 57 [ 22.390893] ntpd[1014]: segfault at 24 ip 0000555b2757129b sp 00007ffe2d0ea050 error 4 in ntpd[7f29b,555b27504000+86000] likely on CPU 4 (core 4, socket 0) [ 22.390898] Code: 8b 04 25 28 00 00 00 48 89 44 24 08 31 c0 e8 dc 2d 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 f9 0a 74 57 [ 22.517794] ntpd[1016]: segfault at 24 ip 000056387455529b sp 00007ffde75cabf0 error 4 in ntpd[7f29b,5638744e8000+86000] likely on CPU 4 (core 4, socket 0) [ 22.518953] Code: 8b 04 25 28 00 00 00 48 89 44 24 08 31 c0 e8 dc 2d 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 f9 0a 74 57 [ 22.648239] ntpd[1019]: segfault at 24 ip 000055fe102ab29b sp 00007ffc26382ca0 error 4 in ntpd[7f29b,55fe1023e000+86000] likely on CPU 0 (core 0, socket 0) [ 22.649529] Code: 8b 04 25 28 00 00 00 48 89 44 24 08 31 c0 e8 dc 2d 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 f9 0a 74 57 --8<---------------cut here---------------end--------------->8--- It's been doing that since around the time of issue 73873 [0]. I double checked and it does use the 2.guix.pool.ntp.org pool. I also reverted back to 0.guix.pool.ntp.org in case for some reason that would work. Both segfaults ntpd. Did 2.guix.pool.ntp.org stop supporting ipv6? Thanks [0] https://issues.guix.gnu.org/73873 -- s/Fred[re]+i[ck]+/Fredrik/g