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.