GNU bug report logs -
#75390
least-authority-wrapper for bitlbee-service-type breaks Bonjour support
Previous Next
To reply to this bug, email your comments to 75390 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
ludo <at> gnu.org, bug-guix <at> gnu.org
:
bug#75390
; Package
guix
.
(Sun, 05 Jan 2025 20:45:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Ricardo Wurmus <rekado <at> elephly.net>
:
New bug report received and forwarded. Copy sent to
ludo <at> gnu.org, bug-guix <at> gnu.org
.
(Sun, 05 Jan 2025 20:45:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
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
Information forwarded
to
bug-guix <at> gnu.org
:
bug#75390
; Package
guix
.
(Wed, 08 Jan 2025 09:08:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 75390 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hello!
Ricardo Wurmus <rekado <at> elephly.net> 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:
[Message part 2 (text/x-patch, 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)))
[Message part 3 (text/plain, inline)]
Only problem is that things may go wrong if these directories don’t
exist.
So I think we should add a ‘bonjour?’ field in the config record, add
these mapping conditionally, and also add a Shepherd requirement on
‘avahi-daemon’.
> The Bonjour protocol allows for serverless messaging, which is also used
> by the Sugar desktop's Chat activity.
Interesting!
Ludo’.
This bug report was last modified 158 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.