Running mandos in a container without dbus: small code change request
Mike Klein
mike at kleinnet.com
Sat Sep 21 21:49:34 CEST 2024
Sorry I got the diff backwards in case of confusion. Corrected diff should:
--- mandos.orig 2024-09-21 12:11:56.483110574 -0700
+++ mandos 2024-09-21 12:12:37.993323770 -0700
@@ -3243,7 +3243,8 @@
# From the Avahi example code
DBusGMainLoop(set_as_default=True)
main_loop = GLib.MainLoop()
- bus = dbus.SystemBus()
+ if use_dbus or zeroconf:
+ bus = dbus.SystemBus()
# End of Avahi example code
if use_dbus:
try:
-Mike
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.recompile.se/pipermail/mandos-dev/attachments/20240921/39a47e92/attachment.htm>
More information about the Mandos-Dev
mailing list