From debbugs-submit-bounces@debbugs.gnu.org Sun May 22 17:19:30 2022 Received: (at submit) by debbugs.gnu.org; 22 May 2022 21:19:31 +0000 Received: from localhost ([127.0.0.1]:46583 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nssz4-0004cQ-Jb for submit@debbugs.gnu.org; Sun, 22 May 2022 17:19:30 -0400 Received: from lists.gnu.org ([209.51.188.17]:33614) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nssz0-0004cG-U1 for submit@debbugs.gnu.org; Sun, 22 May 2022 17:19:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41674) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nssz0-0001p0-Mn for bug-guix@gnu.org; Sun, 22 May 2022 17:19:26 -0400 Received: from mail-4318.protonmail.ch ([185.70.43.18]:17355) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nssyy-0004l1-I6 for bug-guix@gnu.org; Sun, 22 May 2022 17:19:26 -0400 Date: Sun, 22 May 2022 21:19:07 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1653254354; x=1653513554; bh=He5oj0ko/eeuKGrIWcPMRWSma/wXlelBp3JRfdx4aUg=; h=Date:To:From:Reply-To:Subject:Message-ID:Feedback-ID:From:To:Cc: Date:Subject:Reply-To:Feedback-ID:Message-ID; b=xR0PtjUcHfU/ltC34FxVUGVgOgrrSIT5RxGTXwK/XUEM+KQaBgG47Zqrdz5dLp0KH +1Bb91oHtLeF5I0nGsaJLxdD8avDC/dRPFSWGZsnnmpXD398QQ/piRNGSfy2qRLxYP 1YzAIBSmKda4cT5CJl2dYhB/f28xMMBOLwsMXZe8J5feBbsWDhfwkogvraFbA5Pxv3 OWKQtAa3uGuM+LuvH/Zp3feBwRqxoq3V5THiucyk1dQRG39A7DsM4WnpdxX64qlAmq 1FMf/N8NC+KoYzPSkpMeYwws/3Kby57cip5OhcsWOYflFB3mrGR57Gyvek2+qPI6d4 19TwkfAipEvTw== To: "bug-guix@gnu.org" From: Kaelyn Subject: inetd-based bitlbee service terminating on new connections Message-ID: Feedback-ID: 34709329:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.43.18; envelope-from=kaelyn.alexi@protonmail.com; helo=mail-4318.protonmail.ch 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_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.2 (/) 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: , Reply-To: Kaelyn Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Hi, Recently I upgraded my server running bitlbee for the first time in a few w= eeks (from guix commit 3363f2c878 to 14384d9586), and after rebooting I was= unable to connect to bitlbee because the child service spawned on connect = terminates within a few seconds. I'm not certain, but I believe commit 211f= e3f66e "services: bitlbee: Use 'make-inetd-constructor'." is the culprit. F= rom /var/log/messages (with the IP address edited out) when I try to connec= t: May 21 21:24:31 localhost shepherd[1]: Accepted connection on 0.0.0.0:22 fr= om W.X.Y.Z:38014. May 21 21:25:21 localhost shepherd[1]: 0 connections still in use after bit= lbee-3 termination. May 21 21:25:21 localhost shepherd[1]: Service bitlbee-3 has been disabled. May 21 21:25:21 localhost shepherd[1]: Transient service bitlbee-3 terminat= ed, now unregistered. May 21 21:25:26 localhost shepherd[1]: Accepted connection on 0.0.0.0:6969 = from W.X.Y.Z:46492. May 21 21:25:26 localhost shepherd[1]: Service bitlbee-4 has been started. May 21 21:25:26 localhost shepherd[1]: 0 connections still in use after bit= lbee-4 termination. May 21 21:25:26 localhost shepherd[1]: Service bitlbee-4 has been disabled. May 21 21:25:26 localhost shepherd[1]: Transient service bitlbee-4 terminat= ed, now unregistered. May 21 21:25:56 localhost shepherd[1]: Accepted connection on 0.0.0.0:6969 = from W.X.Y.Z:46494. May 21 21:25:56 localhost shepherd[1]: Service bitlbee-5 has been started. May 21 21:27:57 localhost shepherd[1]: Service bitlbee-5 has been stopped. May 21 21:27:57 localhost shepherd[1]: Transient service bitlbee-5 unregist= ered. May 21 21:27:57 localhost shepherd[1]: Accepted connection on 0.0.0.0:6969 = from W.X.Y.Z:46496. May 21 21:27:57 localhost shepherd[1]: Service bitlbee-6 has been started. May 21 21:27:57 localhost shepherd[1]: 1 connection still in use after bitl= bee-6 termination. May 21 21:27:57 localhost shepherd[1]: Service bitlbee-6 has been disabled. May 21 21:27:57 localhost shepherd[1]: Transient service bitlbee-6 terminat= ed, now unregistered. May 21 21:28:02 localhost shepherd[1]: Service bitlbee has been stopped. May 21 21:28:28 localhost shepherd[1]: Service bitlbee has been started. May 21 21:28:56 localhost shepherd[1]: Accepted connection on 0.0.0.0:6969 = from W.X.Y.Z:46500. May 21 21:28:56 localhost shepherd[1]: Service bitlbee-7 has been started. May 21 21:28:56 localhost shepherd[1]: 1 connection still in use after bitl= bee-7 termination. May 21 21:28:56 localhost shepherd[1]: Service bitlbee-7 has been disabled. May 21 21:28:56 localhost shepherd[1]: Transient service bitlbee-7 terminat= ed, now unregistered. May 21 21:29:26 localhost shepherd[1]: Accepted connection on 0.0.0.0:6969 = from W.X.Y.Z:46502. May 21 21:29:26 localhost shepherd[1]: Service bitlbee-8 has been started. May 21 21:29:45 localhost shepherd[1]: Service bitlbee has been stopped. May 21 21:29:51 localhost shepherd[1]: 1 connection still in use after bitl= bee-8 termination. May 21 21:29:51 localhost shepherd[1]: Service bitlbee-8 has been disabled. May 21 21:29:51 localhost shepherd[1]: Transient service bitlbee-8 terminat= ed, now unregistered. Cheers, Kaelyn Sent with ProtonMail secure email. From debbugs-submit-bounces@debbugs.gnu.org Wed May 25 06:04:21 2022 Received: (at 55585) by debbugs.gnu.org; 25 May 2022 10:04:21 +0000 Received: from localhost ([127.0.0.1]:54361 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ntnsL-0000kP-3E for submit@debbugs.gnu.org; Wed, 25 May 2022 06:04:21 -0400 Received: from eggs.gnu.org ([209.51.188.92]:47950) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ntnsG-0000k9-7w for 55585@debbugs.gnu.org; Wed, 25 May 2022 06:04:19 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:58052) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ntnsA-0004JG-O4; Wed, 25 May 2022 06:04:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=q7kshSezyN+p25TAz7Cwcw3eQw29qraBgHj7mVi5nIA=; b=Nfmld5Nr4xop1vf2JxAw cnNbyn8bC+yO8RtuppLzz2oZ27nuV6kC/YthmR/13hRhbL++PQmnet34zMNxkUCOucfZ9J7p58bOx DUMld4bokWsXDkfi/L8KLTl8JeZ43Ot7Zd+cj0BH7POcyFhuUx3vnW23iP+FaG2gjTPZ+vIBCg5EW tplw77W63JOvLngRdN5O0bX77oZfRwBlZJMllC3K79aibrHqDceEZY6IwivqNyM4ipdJSjjhrcsvO sHYblGpJsUmSg1wHWxof7ryDvGdPPZ/62W+t1e7FK3UOtBZpDUsgD3R+o6uuHhv007fmaFFuNOoHD qG72mDvg4HnsQQ==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:52691 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ntns7-0002yQ-04; Wed, 25 May 2022 06:04:08 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Kaelyn Subject: Re: bug#55585: inetd-based bitlbee service terminating on new connections References: Date: Wed, 25 May 2022 12:04:04 +0200 In-Reply-To: (Kaelyn's message of "Sun, 22 May 2022 21:19:07 +0000") Message-ID: <87fskyhqsr.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 55585 Cc: 55585@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: -3.3 (---) Hi Kaelyn, Kaelyn skribis: > Recently I upgraded my server running bitlbee for the first time in a few= weeks (from guix commit 3363f2c878 to 14384d9586), and after rebooting I w= as unable to connect to bitlbee because the child service spawned on connec= t terminates within a few seconds. I'm not certain, but I believe commit 21= 1fe3f66e "services: bitlbee: Use 'make-inetd-constructor'." is the culprit.= From /var/log/messages (with the IP address edited out) when I try to conn= ect: > > May 21 21:24:31 localhost shepherd[1]: Accepted connection on 0.0.0.0:22 = from W.X.Y.Z:38014. > May 21 21:25:21 localhost shepherd[1]: 0 connections still in use after b= itlbee-3 termination. > May 21 21:25:21 localhost shepherd[1]: Service bitlbee-3 has been disable= d. > May 21 21:25:21 localhost shepherd[1]: Transient service bitlbee-3 termin= ated, now unregistered. > May 21 21:25:26 localhost shepherd[1]: Accepted connection on 0.0.0.0:696= 9 from W.X.Y.Z:46492. > May 21 21:25:26 localhost shepherd[1]: Service bitlbee-4 has been started. > May 21 21:25:26 localhost shepherd[1]: 0 connections still in use after b= itlbee-4 termination. > May 21 21:25:26 localhost shepherd[1]: Service bitlbee-4 has been disable= d. > May 21 21:25:26 localhost shepherd[1]: Transient service bitlbee-4 termin= ated, now unregistered. What configuration of Bitlbee are you using? I have this: (service bitlbee-service-type (bitlbee-configuration (bitlbee bitlbee-purple) (plugins (list purple-mattermost)))) and it works well, modulo warnings from libpurple about locale conversion errors it seems (I haven=E2=80=99t investigated, but it=E2=80=99= s harmless). What do you see in your IRC client when connecting? Can you reproduce the problem in a VM with =E2=80=98guix system vm=E2=80=99? Thanks in advance, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Wed May 25 11:31:43 2022 Received: (at 55585) by debbugs.gnu.org; 25 May 2022 15:31:43 +0000 Received: from localhost ([127.0.0.1]:56272 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ntsz9-0002Qq-3f for submit@debbugs.gnu.org; Wed, 25 May 2022 11:31:43 -0400 Received: from mail-40141.protonmail.ch ([185.70.40.141]:27261) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ntsz3-0002QT-Ih for 55585@debbugs.gnu.org; Wed, 25 May 2022 11:31:41 -0400 Date: Wed, 25 May 2022 15:31:25 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1653492691; x=1653751891; bh=k1kAmAQfSwcOT76R5Hq6cskK38zH8NUUjs8ZZmVUkIE=; h=Date:To:From:Cc:Reply-To:Subject:Message-ID:In-Reply-To: References:Feedback-ID:From:To:Cc:Date:Subject:Reply-To: Feedback-ID:Message-ID; b=xtLlnSEwb72hIbQ7qJEITcP2NhLzN4FyysLWbCFk5xq8QLL4QvOxZ0NesyUYBMtRR gv2cqxjXJTMXVdmVnl70YFd5usgUJLMbxkqT1ooYuHBs083NWJVcxURm4bTseBPi3h 9846ozti6nYdGEU7ccfkofOimnOCsoU7ohSvBkU5O1C3Vr6vUIqMsz9p1MQeJwMP1k uAoIeA21W89nTSpd5gtVdtmkplyc4CgNgty4vl2RVk9HeHNp8N+0R3GQqgnw4vebec 1J/4u6Ri5MtBXS40w30BSI2qcpl4VuzPXRfyP0t45hdeteL5A4axIjNbpvFPFTQnZR 2mNTovESknt4w== To: =?utf-8?Q?Ludovic_Court=C3=A8s?= From: Kaelyn Subject: Re: bug#55585: inetd-based bitlbee service terminating on new connections Message-ID: In-Reply-To: <87fskyhqsr.fsf@gnu.org> References: <87fskyhqsr.fsf@gnu.org> Feedback-ID: 34709329:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 55585 Cc: 55585@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: , Reply-To: Kaelyn Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Wednesday, May 25th, 2022 at 3:04 AM, Ludovic Court=C3=A8s wrote: > Hi Kaelyn, > > Kaelyn kaelyn.alexi@protonmail.com skribis: > > > Recently I upgraded my server running bitlbee for the first time in a f= ew weeks (from guix commit 3363f2c878 to 14384d9586), and after rebooting I= was unable to connect to bitlbee because the child service spawned on conn= ect terminates within a few seconds. I'm not certain, but I believe commit = 211fe3f66e "services: bitlbee: Use 'make-inetd-constructor'." is the culpri= t. From /var/log/messages (with the IP address edited out) when I try to co= nnect: > > > > May 21 21:24:31 localhost shepherd[1]: Accepted connection on 0.0.0.0:2= 2 from W.X.Y.Z:38014. > > May 21 21:25:21 localhost shepherd[1]: 0 connections still in use after= bitlbee-3 termination. > > May 21 21:25:21 localhost shepherd[1]: Service bitlbee-3 has been disab= led. > > May 21 21:25:21 localhost shepherd[1]: Transient service bitlbee-3 term= inated, now unregistered. > > May 21 21:25:26 localhost shepherd[1]: Accepted connection on 0.0.0.0:6= 969 from W.X.Y.Z:46492. > > May 21 21:25:26 localhost shepherd[1]: Service bitlbee-4 has been start= ed. > > May 21 21:25:26 localhost shepherd[1]: 0 connections still in use after= bitlbee-4 termination. > > May 21 21:25:26 localhost shepherd[1]: Service bitlbee-4 has been disab= led. > > May 21 21:25:26 localhost shepherd[1]: Transient service bitlbee-4 term= inated, now unregistered. > > > What configuration of Bitlbee are you using? > > I have this: > > (service bitlbee-service-type > (bitlbee-configuration > (bitlbee bitlbee-purple) > (plugins (list purple-mattermost)))) > > and it works well, modulo warnings from libpurple about locale > conversion errors it seems (I haven=E2=80=99t investigated, but it= =E2=80=99s harmless). My bitlbee config (which I first added about 7 months ago) is simply: (service bitlbee-service-type (bitlbee-configuration (interface "0.0.0.0") (port 6969))) and I use it as a bridge between znc and a local/private prosody server. > > What do you see in your IRC client when connecting? I've since rolled back the system config of the server to the previously ru= nning version, but basically znc kept connecting and getting disconnected. = >From the znc status log (~/.znc/moddata/log///status/= 2022-05-21.log) around the same time as the syslog messages: [21:25:26] Disconnected from IRC (jibber +6969) [21:25:56] Connected to IRC (jibber 6969) [21:27:57] Disconnected from IRC (jibber 6969) [21:27:57] Disconnected from IRC (jibber +6969) [21:28:56] Disconnected from IRC (jibber +6969) [21:29:26] Connected to IRC (jibber 6969) [21:53:52] Disconnected from IRC (jibber +6969) > > Can you reproduce the problem in a VM with =E2=80=98guix system vm= =E2=80=99? I'm uncertain if I can; I haven't really used 'guix system vm' before, so I= 'll have to play around with it a bit. I think the most notable difference = between your config and mine is that I use the default `bitlbee` package in= stead of overriding it to use `bitlbee-purple` (since I didn't need any pro= tocol support other than XMPP, which is one of the two non-purple protocol = plugins). Thank you for your assistance! Cheers, Kaelyn > > Thanks in advance, > Ludo=E2=80=99.