From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 8Mr0HYRAfmd0VQEAqHPOHw:P1 (envelope-from ) for ; Wed, 08 Jan 2025 09:08:20 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id 8Mr0HYRAfmd0VQEAqHPOHw (envelope-from ) for ; Wed, 08 Jan 2025 10:08:20 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=A7cZPJWy; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=qsPWhlO7; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1736327300; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=j9S8VZ550CcuQn0FkqaQfO6DcYsiYd0+p0s1Csdz8qI=; b=Sm3Udc4DOGPoVn/fo0oEG//HAw0hb7fXUTlLv75DKXodxNGQd2mWaNBLyL8V/0Qd3RTW3i 0ORKtAMECQCWmFNVw6OpvUquHCOUCk+ExmvZ7TbQG/4AA81/ZXYSHJBIM/8V0P0so455IE CZGpBskUMpYtEaMYzdw24sNPyDtocRddubJkslveClHL+0HNYDB+j6lBrbMhEHGbGQkmo4 ig8o4Z4SzeOLMfCLC/Zwh3AYVl19A0C2nzJfF5envcHAtAXuK4ibup5YiPyYM39WkKtL6s 1CwjyJ+VdiL5q+ggP/vhEe7g18zfErcwS4pazwGBH9Znknq3a84CyiZybAmkQw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=A7cZPJWy; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=qsPWhlO7; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1736327300; a=rsa-sha256; cv=none; b=acOfDGk92/h6ONVtGVvMBu2AXQ2XA38zAoiS9zvsJCk5fgz3SRoATx1JJe5ytR7evDHrgk eKGWTBrxTIjAE8mpogXTYYp/PZsyhqakitFTY3yVUPh9LaLVwKtPxT55sq1T5f39MOtJeI ZrKg0VJfl/SJgiUZuwLXivrGzP3jo4APEw1rCygE1GvGnrebb4i1wTdk1tiuEJk0VnqjhG VYrIp+13z9IUMSrH0MQ4nQ7ghCEKr0QUGCiC1La4bqR70S6mXvqFxbJoRJVenRjQX8jC2o 9P9r6c0tMOwgKq5xVt/MMnNYFVSuKqKzhAoGySfbiipdJBWjwxkp+1CssH6PkQ== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id EE5471C194 for ; Wed, 08 Jan 2025 10:08:19 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tVS2n-0000U1-E9; Wed, 08 Jan 2025 04:08:05 -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 ) id 1tVS2l-0000Tr-Iq for bug-guix@gnu.org; Wed, 08 Jan 2025 04:08:03 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tVS2k-0000Oj-Hg for bug-guix@gnu.org; Wed, 08 Jan 2025 04:08:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=j9S8VZ550CcuQn0FkqaQfO6DcYsiYd0+p0s1Csdz8qI=; b=A7cZPJWypr5nogbIs3qCEm9edzyvWiQ8Pa4Cm2WlmvWEvh6t4WEerRR0UkmA+1QmQ/fjQEhvgeQV/csPXfFtLXcf0eYr0LWuDaWSprJdFqsNlwptrBJNIrQop/MObuJ/j6wlMC72NTDcskjd9QWqFwd46CS/tN2pVEFnzr1fQ8bgFx+ltAtJ2wQVOtkP9x6tZSGIeo5aiwQ2yfGZblSNpsEaNkG+Jc3X6WTZyPOOb/pdHBP6JdxQS3y9Bl6Pgt6ITk9/ljA04Oj+SalytyhDl4/EZkKLOraZimJ0Ja/6+i2bXoLsx907PS1qBk0zjJIEquTs2XwAwLB5SHNfD6vivQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tVS2k-0007Xr-5a for bug-guix@gnu.org; Wed, 08 Jan 2025 04:08:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#75390: least-authority-wrapper for bitlbee-service-type breaks Bonjour support Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 08 Jan 2025 09:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75390 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ricardo Wurmus Cc: 75390@debbugs.gnu.org Received: via spool by 75390-submit@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 ) id 1tVS2C-0007Wv-ON for submit@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 ) id 1tVS2B-0007Wg-1f for 75390@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 ) 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?= In-Reply-To: <878qrpgfeh.fsf@elephly.net> (Ricardo Wurmus's message of "Sun, 05 Jan 2025 21:43:50 +0100") References: <878qrpgfeh.fsf@elephly.net> 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@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -1.68 X-Spam-Score: -1.68 X-Migadu-Queue-Id: EE5471C194 X-TUID: qBlhs+n0ESxw --=-=-= Content-Type: text/plain Hello! Ricardo Wurmus 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 > Account successfully added with tag bonjour > <@rekado> account on > Trying to get all accounts connected... > bonjour - Login error: Unable to establish connection with the local > mDNS server. Is it running? > bonjour - Logging in: Signing off.. > 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. --=-=-=--