GNU logs - #75390, boring messages


Message sent to ludo@HIDDEN, bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#75390: least-authority-wrapper for bitlbee-service-type breaks Bonjour support
Resent-From: Ricardo Wurmus <rekado@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: ludo@HIDDEN, bug-guix@HIDDEN
Resent-Date: Sun, 05 Jan 2025 20:45:01 +0000
Resent-Message-ID: <handler.75390.B.17361098561933 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 75390
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: 75390 <at> debbugs.gnu.org
Cc: ludo@HIDDEN
X-Debbugs-Original-To: bug-guix@HIDDEN
X-Debbugs-Original-Xcc: ludo@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.17361098561933
          (code B ref -1); Sun, 05 Jan 2025 20:45:01 +0000
Received: (at submit) by debbugs.gnu.org; 5 Jan 2025 20:44:16 +0000
Received: from localhost ([127.0.0.1]:35439 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tUXTr-0000V5-Mx
	for submit <at> debbugs.gnu.org; Sun, 05 Jan 2025 15:44:16 -0500
Received: from lists.gnu.org ([2001:470:142::17]:48014)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <rekado@HIDDEN>)
 id 1tUXTp-0000Um-Fy
 for submit <at> debbugs.gnu.org; Sun, 05 Jan 2025 15:44:14 -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 <rekado@HIDDEN>)
 id 1tUXTk-0005bU-00
 for bug-guix@HIDDEN; Sun, 05 Jan 2025 15:44:08 -0500
Received: from sender4-of-o51.zoho.com ([136.143.188.51])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <rekado@HIDDEN>)
 id 1tUXTh-0006gI-JG
 for bug-guix@HIDDEN; Sun, 05 Jan 2025 15:44:07 -0500
ARC-Seal: i=1; a=rsa-sha256; t=1736109840; cv=none; 
 d=zohomail.com; s=zohoarc; 
 b=Q+lPKQ0USQxrV1Ul+3EdCCgJy4tqtp56aYnZvi0OmZ9hzJ9Ng807/6iR3/loALXJCpy3aqlgF3CrIKHLOsY0kasUWCuNUsUaCost1kq6A1accM8Q6HsGOoB8mDKTOJb+uGvF5Rstz3mbgbE94rrK+fjcDXPBepRvT8Xgwaad9aY=
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com;
 s=zohoarc; t=1736109840;
 h=Content-Type:Date:Date:From:From:MIME-Version:Message-ID:Subject:Subject:To:To:Message-Id:Reply-To:Cc;
 bh=uuWcoOi+e9Zjv41fN7KmWSPrpGvqoQA7Of0UFfdeDr4=; 
 b=kHdnb0SyotKpNnLlPGYjhVgmEZH+2TrGIjqOdssw8Yfq0V1KOt3HjdLtkXNfmXZvy9R0KtA2WodfF04bUfJedzGSjIgBrHH+r0Gj49o9v7uQ4qgeQoXDpQtPBM5KipYA35GTlrKucvHthFKquoYop+w/TDZjNrFTKUjdVYRmXVY=
ARC-Authentication-Results: i=1; mx.zohomail.com;
 dkim=pass  header.i=elephly.net;
 spf=pass  smtp.mailfrom=rekado@HIDDEN;
 dmarc=pass header.from=<rekado@HIDDEN>
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1736109840; 
 s=zoho; d=elephly.net; i=rekado@HIDDEN;
 h=From:From:To:To:Subject:Subject:Date:Date:Message-ID:MIME-Version:Content-Type:Message-Id:Reply-To:Cc;
 bh=uuWcoOi+e9Zjv41fN7KmWSPrpGvqoQA7Of0UFfdeDr4=;
 b=Gv0sp2FkH7cf/bSMXj0UvoJ6FULgegrxV7+26eQmKLBQdP/9MltukjHwXrP2l1jX
 O75xulkwMA89KYLnwAWksY9ehKY1oEv+e+rpWhYdDQDImrs9JLel/HjTjWmX4mzArm8
 48nBQg77nCKicnW3PpDgsGCQC9v9FMqqa1RMUszs=
Received: by mx.zohomail.com with SMTPS id 1736109838696454.84395440008063;
 Sun, 5 Jan 2025 12:43:58 -0800 (PST)
From: Ricardo Wurmus <rekado@HIDDEN>
User-Agent: mu4e 1.12.7; emacs 29.4
Date: Sun, 05 Jan 2025 21:43:50 +0100
Message-ID: <878qrpgfeh.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-ZohoMailClient: External
Received-SPF: pass client-ip=136.143.188.51; envelope-from=rekado@HIDDEN;
 helo=sender4-of-o51.zoho.com
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,
 RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01,
 RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001,
 SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 1.0 (+)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)

The bitlbee-service-type uses the least-authority-wrapper to run bitlbee
in a container.  A side effect when using bitlbee-purple is that the
Bonjour protocol no longer works as bitlbee cannot connect to the local
mDNS server:

--8<---------------cut here---------------start------------->8---
<@rekado> account add bonjour rekado
<root> Account successfully added with tag bonjour
<@rekado> account on
<root> Trying to get all accounts connected...
<root> bonjour - Login error: Unable to establish connection with the local
       mDNS server.  Is it running?
<root> bonjour - Logging in: Signing off..
<root> bonjour - Logging in: Reconnecting in 5 seconds..
--8<---------------cut here---------------end--------------->8---

It works fine when running bitlbee manually.

The Bonjour protocol allows for serverless messaging, which is also used
by the Sugar desktop's Chat activity.

-- 
Ricardo




Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Ricardo Wurmus <rekado@HIDDEN>
Subject: bug#75390: Acknowledgement (least-authority-wrapper for
 bitlbee-service-type breaks Bonjour support)
Message-ID: <handler.75390.B.17361098561933.ack <at> debbugs.gnu.org>
References: <878qrpgfeh.fsf@HIDDEN>
X-Gnu-PR-Message: ack 75390
X-Gnu-PR-Package: guix
Reply-To: 75390 <at> debbugs.gnu.org
Date: Sun, 05 Jan 2025 20:45:02 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

As you requested using X-Debbugs-CC, your message was also forwarded to
  ludo@HIDDEN
(after having been given a bug report number, if it did not have one).

Your message has been sent to the package maintainer(s):
 bug-guix@HIDDEN

If you wish to submit further information on this problem, please
send it to 75390 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
75390: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D75390
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#75390: least-authority-wrapper for bitlbee-service-type breaks Bonjour support
Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Wed, 08 Jan 2025 09:08:02 +0000
Resent-Message-ID: <handler.75390.B75390.173632724928954 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 75390
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: Ricardo Wurmus <rekado@HIDDEN>
Cc: 75390 <at> debbugs.gnu.org
Received: via spool by 75390-submit <at> debbugs.gnu.org id=B75390.173632724928954
          (code B ref 75390); Wed, 08 Jan 2025 09:08:02 +0000
Received: (at 75390) by debbugs.gnu.org; 8 Jan 2025 09:07:29 +0000
Received: from localhost ([127.0.0.1]:45971 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tVS2C-0007Wv-ON
	for submit <at> debbugs.gnu.org; Wed, 08 Jan 2025 04:07:29 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:57822)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <ludo@HIDDEN>) id 1tVS2B-0007Wg-1f
 for 75390 <at> debbugs.gnu.org; Wed, 08 Jan 2025 04:07:27 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@HIDDEN>)
 id 1tVS24-0000LW-NS; Wed, 08 Jan 2025 04:07:20 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To:
 From; bh=j9S8VZ550CcuQn0FkqaQfO6DcYsiYd0+p0s1Csdz8qI=; b=qsPWhlO70Ixaa9sZ0bHF
 9nGoLgdFiOTML9KWo94Ks5bdfHCNlMC9ZxQdD89vNMJ9iUtlQ3pgLxN79bKqubYF2DQ3WAPH+wWTo
 4mL/TYp2s/IUUGyZ7l5VaifNsi2SZZ83yjmmzg6extykYrLdrO34Gj6gsUqk61+KzrfPwxfD2ASXR
 UVk5xKO0BNr5oo6q5Gi4YENoazgGD8uJik1w8vVHnNzzzl7h86IJy6aHMtnHvhTMlwQOkd0wYS0Hn
 CBoQJHvfuJKIhpm2zh0qxh7Jvw30A6zSQAuhXhE+mPBmuKEEc1DIYuMhhEp+eAT8NEaxvsYvcsMWV
 6nepry2PNFQ34w==;
From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
In-Reply-To: <878qrpgfeh.fsf@HIDDEN> (Ricardo Wurmus's message of "Sun,
 05 Jan 2025 21:43:50 +0100")
References: <878qrpgfeh.fsf@HIDDEN>
X-URL: http://www.fdn.fr/~lcourtes/
X-Revolutionary-Date: Nonidi 19 =?UTF-8?Q?Niv=C3=B4se?= an 233 de la
 =?UTF-8?Q?R=C3=A9volution,?= jour du Marbre
X-PGP-Key-ID: 0x090B11993D9AEBB5
X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc
X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4  0CFB 090B 1199 3D9A EBB5
X-OS: x86_64-pc-linux-gnu
Date: Wed, 08 Jan 2025 10:07:18 +0100
Message-ID: <87ikqpwu61.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

--=-=-=
Content-Type: text/plain

Hello!

Ricardo Wurmus <rekado@HIDDEN> skribis:

> The bitlbee-service-type uses the least-authority-wrapper to run bitlbee
> in a container.  A side effect when using bitlbee-purple is that the
> Bonjour protocol no longer works as bitlbee cannot connect to the local
> mDNS server:
>
> <@rekado> account add bonjour rekado
> <root> Account successfully added with tag bonjour
> <@rekado> account on
> <root> Trying to get all accounts connected...
> <root> bonjour - Login error: Unable to establish connection with the local
>        mDNS server.  Is it running?
> <root> bonjour - Logging in: Signing off..
> <root> bonjour - Logging in: Reconnecting in 5 seconds..

I never used this feature, but I suspect the patch below should fix it:


--=-=-=
Content-Type: text/x-patch
Content-Disposition: inline

diff --git a/gnu/services/messaging.scm b/gnu/services/messaging.scm
index a914d0f89e..f796afbc82 100644
--- a/gnu/services/messaging.scm
+++ b/gnu/services/messaging.scm
@@ -850,6 +850,12 @@ (define bitlbee-shepherd-service
                                         (file-system-mapping
                                          (source "/run/current-system/locale")
                                          (target source))
+                                        (file-system-mapping ;for Avahi
+                                         (source "/var/run/dbus")
+                                         (target source))
+                                        (file-system-mapping
+                                         (source "/run/avahi-daemon")
+                                         (target source))
                                         (file-system-mapping
                                          (source conf)
                                          (target conf)))

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable


Only problem is that things may go wrong if these directories don=E2=80=99t
exist.

So I think we should add a =E2=80=98bonjour?=E2=80=99 field in the config r=
ecord, add
these mapping conditionally, and also add a Shepherd requirement on
=E2=80=98avahi-daemon=E2=80=99.

> The Bonjour protocol allows for serverless messaging, which is also used
> by the Sugar desktop's Chat activity.

Interesting!

Ludo=E2=80=99.

--=-=-=--





Last modified: Sun, 12 Jan 2025 05:45:02 UTC

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