From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 10 17:20:00 2020 Received: (at submit) by debbugs.gnu.org; 10 Sep 2020 21:20:00 +0000 Received: from localhost ([127.0.0.1]:41447 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kGTz5-0006ph-Lf for submit@debbugs.gnu.org; Thu, 10 Sep 2020 17:20:00 -0400 Received: from lists.gnu.org ([209.51.188.17]:59820) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kGTmh-0004Ns-Dd for submit@debbugs.gnu.org; Thu, 10 Sep 2020 17:07:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44248) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kGTmh-0000L3-9p for bug-guix@gnu.org; Thu, 10 Sep 2020 17:07:11 -0400 Received: from mail-lj1-x233.google.com ([2a00:1450:4864:20::233]:33503) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kGTmf-0002J1-5P for bug-guix@gnu.org; Thu, 10 Sep 2020 17:07:10 -0400 Received: by mail-lj1-x233.google.com with SMTP id k25so10050417ljk.0 for ; Thu, 10 Sep 2020 14:07:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=rj9PxiBuDPjbMCLrz5CFAh4TdMKYIUCM69aoaqJWRsQ=; b=gVyTGAXtOdbKs3zCBPYY0bmhORWyTuaiLlJrmzbdcRYZPGpAm+O+sCJUCl0AkBapRN Uar2U77qbWDV1SJhG+fbOI4yESXNQdNdThV2RUpuEXvb0NrlxjNriGmnjOMNe6U6cf9V LcatVBT2R7+Ajb8nhAorUgs7iRp1gGGPwOK1pM4eVe7sTHief4gRIUI0LEovvjCdmams TFDsCvzK7L1e2fcLsW2QZVEyHK3MWgH1FGYRxjIgkENN0utu5qblGd8CtIdR4ZMcKp4T nJzFPoK9WLjcbi4SHKWx4G+HW+2D+IQXSMUdqT5x08V/M3pvw9yhzj9/5Er96lCeeBaQ wIWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=rj9PxiBuDPjbMCLrz5CFAh4TdMKYIUCM69aoaqJWRsQ=; b=tjL49ZG54pkJFh4NHErTxbWHtrjWSTbDg69c+jjAG658gD1NNVxYLXAEdMx6EuZCNB VPgEhFMTDDj8xuDPrH8yfv/aJskGii1llU5gg8vFoznJffCvXv191I/rw2d3zOp6/sF7 MAwEkGryY3kWK4rQbr2urTYyP2mUBcqS0l+V9YOvrIGbjTVCPtHwXolpgWH1uOnSfxB1 paG4hiWwjHNF2x2Q5J9EuNfQO9m2VehdMjWU6ljHneGWQ5LUMixPnsF8hNdyBgix6Pd/ sa7uGLIC1022bNRiEIf/nHEzqRSn/SLlwIiIUt3+pod7KBRcKbXDFEGXpK4oHvAP76ew nOCQ== X-Gm-Message-State: AOAM530q1fWnlVvKddDMtHwmBo0sX1NnUrp7/zmKogV+UsFtnc0qcbwZ Ab6M1hlF8WCw65WRwVmIhNx9kNADqphRC14ovph9NvNvhv0= X-Google-Smtp-Source: ABdhPJzL1qRxXACvgy/arGHpVHT9m+pilhw3A754iKcywWTRqcGsu5bRfhPVAGXs/MzV3esiGqJz6i/MKgLzjMeg4qU= X-Received: by 2002:a2e:6819:: with SMTP id c25mr5708894lja.187.1599772026772; Thu, 10 Sep 2020 14:07:06 -0700 (PDT) MIME-Version: 1.0 From: Jesse Dowell Date: Thu, 10 Sep 2020 17:06:55 -0400 Message-ID: Subject: programs depending on libcap 2.31 are crashing (including ntpd, chrony, and potentially others) To: bug-guix@gnu.org Content-Type: multipart/alternative; boundary="000000000000609f2a05aefbf3ba" Received-SPF: pass client-ip=2a00:1450:4864:20::233; envelope-from=jesse.dowell@gmail.com; helo=mail-lj1-x233.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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, HTML_MESSAGE=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: 0.7 (/) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Thu, 10 Sep 2020 17:19:57 -0400 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 (--) --000000000000609f2a05aefbf3ba Content-Type: text/plain; charset="UTF-8" Hello, I am experiencing issues with ntpd crashing after a recent `guix pull` and `guix system reconfigure`. Messages like the following can be found in /var/log/messages.... --8<---------------cut here---------------start------------->8--- Sep 9 10:04:06 localhost ntpd[10104]: Listen normally on 10 wlp2s0 [fda3:bae9:8e85:0:1421:58a2:ada:1923]:123 Sep 9 10:04:06 localhost vmunix: [13620.607643] traps: ntpd[10104] general protection fault ip:7fc1baa34207 sp:7ffd6b331f80 error:0 in libcap.so.2.31[7fc1baa33000+3000] Sep 9 10:04:06 localhost ntpd[10104]: Listen normally on 11 wlp2s0 [2601:582:300:88a:58f1:d50e:9b9a:37d7]:123 Sep 9 10:04:06 localhost ntpd[10104]: Listen normally on 12 wlp2s0 [fe80::487a:7283:64fd:9e25%6]:123 Sep 9 10:04:06 localhost ntpd[10104]: Listen normally on 13 tun0 [fe80::7672:ef25:4507:33e7%7]:123 Sep 9 10:04:06 localhost ntpd[10104]: Listening on routing socket on fd #30 for interface updates Sep 9 10:04:06 localhost ntpd[10104]: kernel reports TIME_ERROR: 0x41: Clock Unsynchronized Sep 9 10:04:06 localhost ntpd[10104]: kernel reports TIME_ERROR: 0x41: Clock Unsynchronized Sep 9 10:04:06 localhost shepherd[1]: Service ntpd has been disabled. Sep 9 10:04:06 localhost shepherd[1]: (Respawning too fast.) --8<---------------cut here---------------end--------------->8--- At first I thought this was ntpd specific so I tried switching to chronyd and experienced the same problem. --8<---------------cut here---------------start------------->8--- Sep 9 14:41:56 localhost shepherd[1]: Service chronyd has been started. Sep 9 14:41:56 localhost chronyd[26478]: chronyd version 3.5.1 starting (+CMDMON +NTP +REFCLOCK +RTC +PRIVDROP +SCFILTER -SIGND +ASYNCDNS +SECHASH +IPV6 -DEBUG) Sep 9 14:41:56 localhost vmunix: [30290.527369] traps: chronyd[26478] general protection fault ip:7f1653729207 sp:7fffc9161900 error:0 in libcap.so.2.31[7f1653728000+3000] Sep 9 14:41:56 localhost shepherd[1]: Respawning chronyd. --8<---------------cut here---------------end--------------->8--- I was able to fix the issue by rebuilding chronyd with the libcap/next package. To give more context - I'm using guix master and am using the latest 5.8 kernel. I'm wondering if it might be something related to recent kernel upgrades but I haven't tried reverting to a previous kernel. Is there a plan to go ahead and perform the switch described in the source code for gnu/packages/linux.scm? --8<---------------cut here---------------start------------->8--- ;; libcap 2.31 causes problems for 'fakeroot', so provide this newer variant. ;; To be merged with libcap on the next rebuild cycle. (define-public libcap/next (package (inherit libcap) (version "2.34") (source (origin (method url-fetch) (uri (string-append "mirror://kernel.org/linux/libs/security/linux-privs/" "libcap2/libcap-" version ".tar.xz")) (sha256 (base32 "048n1gy2p48vl9hkrr9wymfxxcpwj2aslz2bv79nhl4m2lhd9kdf")))))) --8<---------------cut here---------------end--------------->8--- Best, Jesse --000000000000609f2a05aefbf3ba Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello,

I am experiencing issues with nt= pd crashing after a recent `guix pull` and `guix system reconfigure`. Messa= ges like the following can be found in /var/log/messages....

=
--8<---------------cut here---------------start-------------&= gt;8---
Sep =C2=A09 10:04:06 localhost ntpd[10104]: Listen normally on 1= 0 wlp2s0 [fda3:bae9:8e85:0:1421:58a2:ada:1923]:123
Sep =C2=A09 10:04:06 = localhost vmunix: [13620.607643] traps: ntpd[10104] general protection faul= t ip:7fc1baa34207 sp:7ffd6b331f80 error:0 in libcap.so.2.31[7fc1baa33000+30= 00]
Sep =C2=A09 10:04:06 localhost ntpd[10104]: Listen normally on 11 wl= p2s0 [2601:582:300:88a:58f1:d50e:9b9a:37d7]:123
Sep =C2=A09 10:04:06 loc= alhost ntpd[10104]: Listen normally on 12 wlp2s0 [fe80::487a:7283:64fd:9e25= %6]:123
Sep =C2=A09 10:04:06 localhost ntpd[10104]: Listen normally on 1= 3 tun0 [fe80::7672:ef25:4507:33e7%7]:123
Sep =C2=A09 10:04:06 localhost = ntpd[10104]: Listening on routing socket on fd #30 for interface updatesSep =C2=A09 10:04:06 localhost ntpd[10104]: kernel reports TIME_ERROR: 0x4= 1: Clock Unsynchronized
Sep =C2=A09 10:04:06 localhost ntpd[10104]: kern= el reports TIME_ERROR: 0x41: Clock Unsynchronized
Sep =C2=A09 10:04:06 l= ocalhost shepherd[1]: Service ntpd has been disabled.
Sep =C2=A09 10:04= :06 localhost shepherd[1]: =C2=A0 (Respawning too fast.)
--8<-------= --------cut here---------------end--------------->8---
At first I thought this was ntpd specific so I tried switching = to chronyd and experienced the same problem.

--8&l= t;---------------cut here---------------start------------->8---
Sep = =C2=A09 14:41:56 localhost shepherd[1]: Service chronyd has been started. <= br>Sep =C2=A09 14:41:56 localhost chronyd[26478]: chronyd version 3.5.1 sta= rting (+CMDMON +NTP +REFCLOCK +RTC +PRIVDROP +SCFILTER -SIGND +ASYNCDNS +SE= CHASH +IPV6 -DEBUG)
Sep =C2=A09 14:41:56 localhost vmunix: [30290.527369= ] traps: chronyd[26478] general protection fault ip:7f1653729207 sp:7fffc91= 61900 error:0 in libcap.so.2.31[7f1653728000+3000]
Sep =C2=A09 14:41:56 = localhost shepherd[1]: Respawning chronyd.
--8<---------------cut he= re---------------end--------------->8---

I = was able to fix the issue by rebuilding chronyd with the libcap/next packag= e.

To give more context - I'm using guix maste= r and am using the latest 5.8 kernel. I'm wondering if it might be some= thing related to recent kernel upgrades but I haven't tried reverting t= o a previous kernel.

Is there a plan to go ahead a= nd perform the switch described in the source code for gnu/packages/linux.s= cm?=C2=A0

--8<---------------cut here----------= -----start------------->8---
;; libcap 2.31 causes problems for '= fakeroot', so provide this newer variant.
;; To be merged with libca= p on the next rebuild cycle.
(define-public libcap/next
=C2=A0 (packa= ge
=C2=A0 =C2=A0 (inherit libcap)
=C2=A0 =C2=A0 (version "2.34&q= uot;)
=C2=A0 =C2=A0 (source (origin
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 (method url-fetch)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 (uri (string-append
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 "mirror://kernel.org/linux/libs/security/linux-pri= vs/"
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 "libcap2/libcap-" version ".tar.xz"))
= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (sha256
=C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(base32
=C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 "048n1gy2p48vl9hkrr9wymfxxcpwj2aslz= 2bv79nhl4m2lhd9kdf"))))))
--8<---------------cut here-----------= ----end--------------->8---

Best,
Jesse
--000000000000609f2a05aefbf3ba-- From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 10 22:20:06 2020 Received: (at 43321) by debbugs.gnu.org; 11 Sep 2020 02:20:06 +0000 Received: from localhost ([127.0.0.1]:41876 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kGYfW-0001SM-Js for submit@debbugs.gnu.org; Thu, 10 Sep 2020 22:20:06 -0400 Received: from wout5-smtp.messagingengine.com ([64.147.123.21]:42673) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kGYfU-0001Rj-Tk for 43321@debbugs.gnu.org; Thu, 10 Sep 2020 22:20:06 -0400 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.west.internal (Postfix) with ESMTP id D4C557B2; Thu, 10 Sep 2020 22:19:57 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Thu, 10 Sep 2020 22:19:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=mesmtp; bh=URS5nbX1vOdl5wEFNZC3SJo/ qxk7cbApvE++3BBX6wM=; b=jiCtR2AOeLUdcyWz//CgQgc/iLS5dxXsFF3/n624 j8x2zousUQ4I8qPz7aNDPAG4v6p+7WzNG3tCf7l+q+bMWkS6MYH/+k0kX5SqVkki Vyl3Fwo+/wYZ7N9o+KM7yCIUPQFdf/KwR3IphImv0YJMT2Tysr48auArJmPbsWEj ZC4= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=URS5nb X1vOdl5wEFNZC3SJo/qxk7cbApvE++3BBX6wM=; b=n6zPPCfHh6DnG/RP6DLcRp AFxtW53Egk8oR5UBV0x4C2fAe0AXQWZKa486pZv8X3tpcWEI472PLdVDElInyyYh F7mu2HYu/YVc7w5icgrg/ng+i+UAfNSlqHMeHiewu/PSci4ttuZfyHJv+VOajAh8 CVuNQborarVF91D9iPZIX6oLInvkrdEM4jmM4tQfeeMGO+PXCbGvkRpaPd/+6JP3 V2PlPI94ycqX03DKxwvW/Obb43mSJjs+Fi0Bdps7ahoi3yTYsfeBVXOB6N7CJWvI jVWpMWYzNjcGaqvB5KNiraGeGTJkGl2g57PBMDeJHfBDnNiTyPqQvcxT7bqh+eLg == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedrudehkedgheekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfhfgggtuggjsehttdertddttddvnecuhfhrohhmpefnvghoucfh rghmuhhlrghrihcuoehlvghosehfrghmuhhlrghrihdrnhgrmhgvqeenucggtffrrghtth gvrhhnpeeukeektdffvddtudegjeegtdevhfeufeeivdejiedtieegtdevjedvjeehffev gfenucfkphepjeefrddugedurdduvdejrddugeeinecuvehluhhsthgvrhfuihiivgeptd enucfrrghrrghmpehmrghilhhfrhhomheplhgvohesfhgrmhhulhgrrhhirdhnrghmvg X-ME-Proxy: Received: from localhost (c-73-141-127-146.hsd1.pa.comcast.net [73.141.127.146]) by mail.messagingengine.com (Postfix) with ESMTPA id 0EE9F328005D; Thu, 10 Sep 2020 22:19:57 -0400 (EDT) Date: Thu, 10 Sep 2020 22:19:54 -0400 From: Leo Famulari To: Jesse Dowell Subject: Re: bug#43321: programs depending on libcap 2.31 are crashing (including ntpd, chrony, and potentially others) Message-ID: <20200911021954.GA14919@jasmine.lan> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 43321 Cc: 43321@debbugs.gnu.org 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.7 (-) On Thu, Sep 10, 2020 at 05:06:55PM -0400, Jesse Dowell wrote: > I am experiencing issues with ntpd crashing after a recent `guix pull` and > `guix system reconfigure`. Messages like the following can be found in > /var/log/messages.... Oof... thank you for the report. > I was able to fix the issue by rebuilding chronyd with the libcap/next > package. Great. I'm also testing the same solution for ntpd now. I'll make sure that works and figure out what the situation is on the 5.4 kernel. From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 11 09:33:21 2020 Received: (at 43321) by debbugs.gnu.org; 11 Sep 2020 13:33:21 +0000 Received: from localhost ([127.0.0.1]:43053 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kGjB3-0001k9-5N for submit@debbugs.gnu.org; Fri, 11 Sep 2020 09:33:21 -0400 Received: from wout1-smtp.messagingengine.com ([64.147.123.24]:41627) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kGjB0-0001jt-Fg for 43321@debbugs.gnu.org; Fri, 11 Sep 2020 09:33:19 -0400 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.west.internal (Postfix) with ESMTP id 6FA0FA68; Fri, 11 Sep 2020 09:33:12 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Fri, 11 Sep 2020 09:33:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=mesmtp; bh=zQ8QDkcoxiFtVYSxqkV0C+Np qS4rCYOcUx1dNU9aiw4=; b=1DKtlUURBMo9iBtydIiagBdvhI909TA0t61t1zZF Bgd/OXInXVhGPHa4lP3ASdAz/sCV6HDhPoHk8gGBQJhNkienc9eKn0515z9YVNDG e+1DfCySOYBbY8pyKc/KGCxHHgiOH6Po0PX3jpcwDhOi2VGyhCEIdaRKAsJ4NmI/ Leo= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=zQ8QDk coxiFtVYSxqkV0C+NpqS4rCYOcUx1dNU9aiw4=; b=YyE3sy8qBYPu14Bbz+5wse lDWUaaKHjvSa+v7qajGj/qfHQJ1SxwLKD4zNItmlmgETu8ByMe+CDQKNsfckMlUm ZrNw640eMz/CZLTkTF9RyLqHokq0scliusy8uAfXdQx1kZn1uGBe0bxaRCY6ja5i TtuidmYExLVF4ZUCILJc2u3jHikLJjZuPEwdhDuRsUMtCaS6NFTCWujUo2s6SjB2 8g48chq0i6wNGxfjpHfXwPjcKM6XyDL54akKbqT4ZQY/dYLXrcuTJDahl/dTUh2K hqvPGHWqNRm3d7hcpclev1ZC51jI4uJpTym9gGyk5/xTa2kajmYn2UUM/3aXt/mA == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedrudehledgieekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfhfgggtuggjsehttdertddttddvnecuhfhrohhmpefnvghoucfh rghmuhhlrghrihcuoehlvghosehfrghmuhhlrghrihdrnhgrmhgvqeenucggtffrrghtth gvrhhnpeeukeektdffvddtudegjeegtdevhfeufeeivdejiedtieegtdevjedvjeehffev gfenucfkphepjeefrddugedurdduvdejrddugeeinecuvehluhhsthgvrhfuihiivgeptd enucfrrghrrghmpehmrghilhhfrhhomheplhgvohesfhgrmhhulhgrrhhirdhnrghmvg X-ME-Proxy: Received: from localhost (c-73-141-127-146.hsd1.pa.comcast.net [73.141.127.146]) by mail.messagingengine.com (Postfix) with ESMTPA id 8B9223280066; Fri, 11 Sep 2020 09:33:10 -0400 (EDT) Date: Fri, 11 Sep 2020 09:33:07 -0400 From: Leo Famulari To: Jesse Dowell Subject: Re: bug#43321: programs depending on libcap 2.31 are crashing (including ntpd, chrony, and potentially others) Message-ID: <20200911133307.GA32741@jasmine.lan> References: <20200911021954.GA14919@jasmine.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200911021954.GA14919@jasmine.lan> X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 43321 Cc: 43321@debbugs.gnu.org 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.7 (-) On Thu, Sep 10, 2020 at 10:19:54PM -0400, Leo Famulari wrote: > Great. I'm also testing the same solution for ntpd now. I'll make sure > that works and figure out what the situation is on the 5.4 kernel. It works for ntpd on Linux 5.8. Now to test the older kernels... From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 11 23:47:42 2020 Received: (at 43321) by debbugs.gnu.org; 12 Sep 2020 03:47:42 +0000 Received: from localhost ([127.0.0.1]:45907 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kGwVq-000489-6f for submit@debbugs.gnu.org; Fri, 11 Sep 2020 23:47:42 -0400 Received: from wout1-smtp.messagingengine.com ([64.147.123.24]:39433) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kGwVm-00047h-Sh for 43321@debbugs.gnu.org; Fri, 11 Sep 2020 23:47:39 -0400 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.west.internal (Postfix) with ESMTP id CF3AA8D4; Fri, 11 Sep 2020 23:47:32 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Fri, 11 Sep 2020 23:47:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; s=mesmtp; bh=9qxb5G5luJvhux5OQJ/Nccb DH/+8M1skCvI55P5Y3FQ=; b=tsiYfZ3O1O1tZFR4kdDvneYozBfxidsJ0oSf+v7 JmkXGxDtLBOQRkKOgLsx22YQbNxgneiscBLAjLLddNbPXcs3LF5Nnhbpr9WhCGbe mBotERB0lpgKx4vKSjYnfWBOuUhuVNnH7F+SJ5Sfa46+ARtBqcLtLyzAoO9aGLFa r8iQ= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :message-id:mime-version:subject:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=9qxb5G5luJvhux5OQ J/NccbDH/+8M1skCvI55P5Y3FQ=; b=eNwEfxEwgupJBdllke5GcDiYP4Fba+1uP Et/h3jpqCgxvdJ0n1H87C+d2WQtShrq+A5+6xlqUZvnIitAoMDKG/TzAjMz2w/QL fFi/I3MQVAsrycSfd1LwsHDSdtPEhaEfzB6SE6e9/e8n6ra7C96NrQpBiRUYSXmn 2hRtOgvUdmD4+LP4lx6bg81YjxyQfDY8w66YvGXAI31QMn7R6acMrma0cykqpXg1 qG0x2M5/L4LG4SyRh9YMjCULq/3gAvkF8pwaQvgNoTjtYlj7TeTUDVkK74CCMNVi 0cMFMNZNbNnJRcBTdHyzp7ceBI8KGIZyyQbsGrTHS4IGYJ0fNOaFQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedrudeitddgjedvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufffkofgggfestdekredtre dttdenucfhrhhomhepnfgvohcuhfgrmhhulhgrrhhiuceolhgvohesfhgrmhhulhgrrhhi rdhnrghmvgeqnecuggftrfgrthhtvghrnhepudetgfeuveettdfhiedtgeevieffueelud effefhuddvleevfeevfeefkefhiedunecuffhomhgrihhnpehgnhhurdhorhhgpdhtuhig fhgrmhhilhihrdhorhhgnecukfhppeejfedrudeguddruddvjedrudegieenucevlhhush htvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehlvghosehfrghmuhhl rghrihdrnhgrmhgv X-ME-Proxy: Received: from jasmine.lan (c-73-141-127-146.hsd1.pa.comcast.net [73.141.127.146]) by mail.messagingengine.com (Postfix) with ESMTPA id 1D7743064674; Fri, 11 Sep 2020 23:47:32 -0400 (EDT) From: Leo Famulari To: guix-patches@gnu.org Subject: [PATCH] gnu: Fix a crash in NTP and Chrony. Date: Fri, 11 Sep 2020 23:47:22 -0400 Message-Id: <6971c2fbbd8459ff52dbb7737c2cf444a9175a73.1599882442.git.leo@famulari.name> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 43321 Cc: 43321@debbugs.gnu.org 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.7 (-) Fixes . * gnu/packages/ntp.scm (ntp, chrony)[inputs]: Replace libcap with libcap/next. --- gnu/packages/ntp.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/ntp.scm b/gnu/packages/ntp.scm index 6b725c2b0f..5fa7d55845 100644 --- a/gnu/packages/ntp.scm +++ b/gnu/packages/ntp.scm @@ -80,7 +80,7 @@ (native-inputs `(("pkg-config" ,pkg-config))) (inputs - `(("libcap" ,libcap) + `(("libcap" ,libcap/next) ("libseccomp" ,libseccomp) ("nettle" ,nettle))) (home-page "https://chrony.tuxfamily.org/") @@ -143,7 +143,7 @@ time-stamping or reference clock, sub-microsecond accuracy is possible.") ;; to run as non-root (when invoked with '-u'.) ,@(if (string-suffix? "-linux" (or (%current-target-system) (%current-system))) - `(("libcap" ,libcap)) + `(("libcap" ,libcap/next)) '()))) (arguments `(#:phases -- 2.28.0 From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 13 15:49:14 2020 Received: (at 43321-done) by debbugs.gnu.org; 13 Sep 2020 19:49:14 +0000 Received: from localhost ([127.0.0.1]:51787 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kHXze-0001a2-Tu for submit@debbugs.gnu.org; Sun, 13 Sep 2020 15:49:13 -0400 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:45699) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kHXzZ-0001Zj-W3; Sun, 13 Sep 2020 15:48:57 -0400 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id 9D8665C0107; Sun, 13 Sep 2020 15:48:48 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Sun, 13 Sep 2020 15:48:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=date:from:to:cc:subject:message-id:mime-version:content-type; s=mesmtp; bh=CGIWQ13rbR/+3qt91aNrNBqSiTQ8wplPUXkyHoYmo54=; b=Ag 1DnS5n4MaBmQqqKVo4WQ0HNCebW+NGE+gST9guZwHb9/DNLvyP7ZiGFnBFdwv+/k ETlTI/oQ5JwimrB6KorjBEa3pduriVv6uW78Rz3mwmk+nKcqdLn+rjsrxXgHMoif 2i4PF7V0KxSIk71t7V7blALvH/spRiDObeYVXYWdo= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; bh=CGIWQ13rbR/+3qt91aNrNBqSiTQ8w plPUXkyHoYmo54=; b=UyJDk8xlzbYrRutBowven9gYuMU2Ca14RfhL0dhlGqWIU SQCc/z79aMVZgn7HNWjYcEelQCd11G662ijEUGxgL7XIgcxDVEiooOhQMvoTXeMt qc/bBfjRPLurP24l6YWA15wbZZtlgxiBmSgUstiJ71MF+UBwroNQ7b+UikCpL028 dQsXdXqUR5ahbryZSGA4jmB+FLb5OvtwclTOaRw22lWcy0LiUXAMlrOE/rzLmJSc r+bHzvFEJylCpjHK7wc4Q+EKNxzyyW0b9NlaNC0LyQf0LpcxTn3Cm3DxwxHT2NOd E7TsA9ZKyItgADuW/VGg+JD4I3zvlac7dU+nRVRBg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedrudeigedggeelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvuffkgggtugesghdtreertd dtvdenucfhrhhomhepnfgvohcuhfgrmhhulhgrrhhiuceolhgvohesfhgrmhhulhgrrhhi rdhnrghmvgeqnecuggftrfgrthhtvghrnhepvdehueevvefggeffhfeigffhhfdvgffghe fgtdejgffftedufeeivdejkeelgedtnecuffhomhgrihhnpehgnhhurdhorhhgnecukfhp peejfedrudeguddruddvjedrudegieenucevlhhushhtvghrufhiiigvpedtnecurfgrrh grmhepmhgrihhlfhhrohhmpehlvghosehfrghmuhhlrghrihdrnhgrmhgv X-ME-Proxy: Received: from localhost (c-73-141-127-146.hsd1.pa.comcast.net [73.141.127.146]) by mail.messagingengine.com (Postfix) with ESMTPA id 561493064682; Sun, 13 Sep 2020 15:48:48 -0400 (EDT) Date: Sun, 13 Sep 2020 15:48:35 -0400 From: Leo Famulari To: 43349-done@debbugs.gnu.org Subject: Re: [PATCH] gnu: Fix a crash in NTP and Chrony. Message-ID: <20200913194835.GA6460@jasmine.lan> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="HcAYCG3uE/tztfnV" Content-Disposition: inline X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 43321-done Cc: 43321-done@debbugs.gnu.org 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 (-) --HcAYCG3uE/tztfnV Content-Type: text/plain; charset=us-ascii Content-Disposition: inline I tested on bare metal and virtualized x86-64 with NTP. The bug reporter [0] tested that the fix worked for Chrony. Pushed as 898fbb60b2354e82e5b7f259b44dbfed112a83aa [0] https://debbugs.gnu.org/cgi/bugreport.cgi?bug=43321#5 --HcAYCG3uE/tztfnV Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAl9ed5MACgkQJkb6MLrK fwh0WRAAkEH/V8J3JqRLJjRaSlLsmw7JCMEwWGshuWgy+FkWSGiCQA9FNDQv52bK 1Jewo896iQCDbhK4izeLY+JmK29XkXAAViRQh+34Q76BY/8kMwtEt/FeJ3dFEB3G 9XQkrMyoHgqs7T9qNO7Z1bdpoifWY+Aa9MtMOfOtlacXKY+vm8+XGoMcNLi+x01q aBbEgBQz8rkdLxYdRJFYaUccz4iyEc8tseMgNNpajW5+QIsx5vFN74rRFiW6dGhC Nib0HpQZGlAZQBF5yA4C88JMdKNf+7ODiv0iRNx4ojEHT/DDwFy7pz8vXRuSB0sA 4/32Gv6NNewdX7eSTn7oAmOyuBmHoIDmZvt+dAVy2LKJuRPPviiSDxUtaNo36FJi FjAwMoXiuvAjyxJpRjUuuAm3CgxlSb+C4oDXSZsfCbSGTLph1k7l+7u7JwfNhhlK OV5lnjlXQHwNfk9f3LtOVRrbvRaZux6fK4Qd//ITzXRfX0UuMkboZ1Ywj79DtX4E 2nXGPn31F1GAGmfnb4pbDha0WV9Qg2WYq8+bWJNawM+vrqDcaPj4dCfRUF9qCLHY Tvkex90tDKEkG38f326JzAWFwPplc+8ualZYIH2ZKCYBZ+vNURP2yMYl/XqKAvIk Wxu6oJohkU9qaSMHSpa9+j+X1871g9bp9kAdhYFd+Lopl8lLiR4= =rUKv -----END PGP SIGNATURE----- --HcAYCG3uE/tztfnV-- From unknown Wed Aug 20 06:04:23 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 12 Oct 2020 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator