GNU bug report logs - #76401
ntpd segfaults when started too early

Previous Next

Package: guix;

Reported by: Ludovic Courtès <ludovic.courtes <at> inria.fr>

Date: Tue, 18 Feb 2025 18:25:02 UTC

Severity: normal

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#76401: closed (ntpd segfaults when started too early)
Date: Wed, 19 Mar 2025 10:25:03 +0000
[Message part 1 (text/plain, inline)]
Your message dated Wed, 19 Mar 2025 11:24:33 +0100
with message-id <874izpgvxa.fsf_-_ <at> gnu.org>
and subject line Re: bug#76892: [PATCH v1] gnu: ntp: Fix crash.
has caused the debbugs.gnu.org bug report #76401,
regarding ntpd segfaults when started too early
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
76401: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=76401
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Ludovic Courtès <ludovic.courtes <at> inria.fr>
To: bug-guix <at> gnu.org
Subject: ntpd segfaults when started too early
Date: Tue, 18 Feb 2025 19:23:38 +0100
Hi,

I noticed that ntpd segfaults when started “too early”, presumably
before networking is up:

--8<---------------cut here---------------start------------->8---
ludo <at> bayfront ~$ sudo herd status ntpd
● Status of ntpd:
  It is stopped since 07:19:58 PM (110 seconds ago).
  Process terminated with signal 11.
  It is disabled.
  Provides: ntpd
  Requires: user-processes networking
  Custom action: configuration
  Will be respawned.
  Last respawned on 07:19:58 PM (110 seconds ago).
  Latest exits:
    - 2025-02-18 19:19:58  Process terminated with signal 11.
    - 2025-02-18 19:19:58  Process terminated with signal 11.
    - 2025-02-18 19:19:58  Process terminated with signal 11.
    - 2025-02-18 19:19:57  Process terminated with signal 11.
    - 2025-02-18 19:19:57  Process terminated with signal 11.
ludo <at> bayfront ~$ guix system describe
Generation 1210 Feb 18 2025 15:26:24    (current)
  file name: /var/guix/profiles/system-1210-link
  canonical file name: /gnu/store/yqw5xzxl4d3da10dim33p5nxn1gy17i9-system
  label: GNU with Linux-Libre 5.10.234
  bootloader: grub
  root device: /dev/md0
  kernel: /gnu/store/04g6ij7nqmk4mqxrqd9zq31bm8fysslf-linux-libre-5.10.234/bzImage
  channels:
    guix:
      repository URL: https://git.savannah.gnu.org/git/guix.git
      branch: master
      commit: 96fe9adf54772e0824e098a6a089306a75101218
  configuration file: /gnu/store/12d2fsn80fwwsmapp3m3pxbfd3q4pra8-configuration.scm
--8<---------------cut here---------------end--------------->8---

(Seen on several different machines.)

Ludo’.


[Message part 3 (message/rfc822, inline)]
From: Ludovic Courtès <ludo <at> gnu.org>
To: Ian Eure <ian <at> retrospec.tv>
Cc: Jakob Kirsch <jakob.kirsch <at> web.de>, 76401-done <at> debbugs.gnu.org,
 76892-done <at> debbugs.gnu.org, Leo Famulari <leo <at> famulari.name>
Subject: Re: bug#76892: [PATCH v1] gnu: ntp: Fix crash.
Date: Wed, 19 Mar 2025 11:24:33 +0100
Ian Eure <ian <at> retrospec.tv> skribis:

> Here’s the upstream bug(s): https://bugs.ntp.org/show_bug.cgi?id=3928
> https://bugs.ntp.org/show_bug.cgi?id=3968
>
> I think this patch is fine, we might also consider rolling back to
> 4.2.8p17.

Applied, with a reference to <https://issues.guix.gnu.org/76401> too.

Thanks,
Ludo'.


This bug report was last modified 120 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.