[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [sandboxed-tor-browser/master] Bug 22712: Suppress ATK Bridge initialization which will never work.
commit bbd4094157fa8858ca847954fddc63ae15fff815
Author: Yawning Angel <yawning@xxxxxxxxxxxxxxx>
Date: Sun Jul 2 11:50:57 2017 +0000
Bug 22712: Suppress ATK Bridge initialization which will never work.
The Accessibility subsystem uses a subsystem via D-Bus to function,
and will warn if said subsystem is inaccessible. As the host D-Bus
is not, and likely will never be accesible from within the container,
attempt to suppress the warnings.
---
ChangeLog | 1 +
src/cmd/sandboxed-tor-browser/internal/sandbox/application.go | 8 ++++++++
2 files changed, 9 insertions(+)
diff --git a/ChangeLog b/ChangeLog
index 69b4a5f..b42022a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,5 @@
Changes in version 0.0.9 - UNRELEASED:
+ * Bug 22712: Suppress ATK Bridge initialization which will never work.
* Fix the build being broken on Debian Jessie due to #22648.
* Remove the undocumented command line options that enable unsafe behavior.
diff --git a/src/cmd/sandboxed-tor-browser/internal/sandbox/application.go b/src/cmd/sandboxed-tor-browser/internal/sandbox/application.go
index f66c1ba..d3162dd 100644
--- a/src/cmd/sandboxed-tor-browser/internal/sandbox/application.go
+++ b/src/cmd/sandboxed-tor-browser/internal/sandbox/application.go
@@ -770,6 +770,14 @@ func (h *hugbox) appendRestrictedGtk2(hasAdwaita bool) ([]string, string, error)
h.setenv("GDK_PIXBUF_MODULE_FILE", "/dev/null")
}
+ // Bug #22712 - Spurious AT-SPI warnings.
+ //
+ // The Accessibility subsystem uses a subsystem via D-Bus to function,
+ // and will warn if said subsystem is inaccessible. As the host D-Bus
+ // is not, and likely will never be accesible from within the container,
+ // attempt to suppress the warnings.
+ h.setenv("NO_AT_BRIDGE", "yes");
+
return gtkLibs, gtkLibPath, nil
}
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits