dbus all increase maximum system bus timeout
authorMichael Lauer <mickey@vanille-media.de>
Sat, 27 Sep 2008 18:47:59 +0000 (18:47 +0000)
committerMichael Lauer <mickey@vanille-media.de>
Sat, 27 Sep 2008 18:47:59 +0000 (18:47 +0000)
packages/dbus/dbus-1.2.1/sanitize-reply-timeout.patch [new file with mode: 0644]
packages/dbus/dbus.inc
packages/dbus/dbus_1.0.3.bb
packages/dbus/dbus_1.2.1.bb

diff --git a/packages/dbus/dbus-1.2.1/sanitize-reply-timeout.patch b/packages/dbus/dbus-1.2.1/sanitize-reply-timeout.patch
new file mode 100644 (file)
index 0000000..75ee6bd
--- /dev/null
@@ -0,0 +1,16 @@
+# DBus is from the desktop world, systems are _FAST_ there
+# On Embedded, some things might take a bit longer
+# Default session bus timeout is 300 seconds(!), whereas default
+# system bus timeout is only 25 seconds. This increases it to 60.
+# Signed off: Michael 'Mickey' Lauer <mlauer@vanille-media.de>
+Index: dbus-1.2.1/bus/system.conf
+===================================================================
+--- dbus-1.2.1.orig/bus/system.conf.in
++++ dbus-1.2.1/bus/system.conf.in
+@@ -65,4 +65,6 @@
+   <include if_selinux_enabled="yes" selinux_root_relative="yes">contexts/dbus_contexts</include>
++  <limit name="reply_timeout">60000</limit>
++
+ </busconfig>
index b0f0299..d99fa26 100644 (file)
@@ -9,6 +9,7 @@ SRC_URI = "\
   file://cross.patch;patch=1 \
   file://tmpdir.patch;patch=1 \
   file://fix-install-daemon.patch;patch=1 \
+  file://sanitize-reply-timeout.patch;patch=1 \
   file://dbus-1.init \
 "
 
index 61379ee..b3eca63 100644 (file)
@@ -1,4 +1,4 @@
 require dbus.inc
-PR = "r12"
+PR = "r13"
 
 DEFAULT_PREFERENCE = "-1"
index d067dfc..4e4caaa 100644 (file)
@@ -1,3 +1,3 @@
 include dbus.inc
 
-PR = "r5"
+PR = "r6"