From 9af153574cdc4718f5c9901d23dae003478558dd Mon Sep 17 00:00:00 2001 From: Colin Guthrie Date: Thu, 20 Oct 2011 14:11:53 +0100 Subject: [PATCH] conf: Use .nofail when loading module-jackdbus-detect When starting via a console login, PA will likely not have a session DBus to play with. As there is no X11 environment, libdbus will be unable to launch a session DBus for us and thus the module will fail to load which in turn prevents PA from loading. If the user subsequently logs into X11 this it will still not be possible to load the module as the server will be ignorant of the X11 and DBus environment variables so a longer term solution for handling this should be found. --- src/daemon/default.pa.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/daemon/default.pa.in b/src/daemon/default.pa.in index 57f259c5d..c6ec29cd6 100755 --- a/src/daemon/default.pa.in +++ b/src/daemon/default.pa.in @@ -81,7 +81,9 @@ load-module module-detect ### Automatically connect sink and source if JACK server is present .ifexists module-jackdbus-detect@PA_SOEXT@ +.nofail load-module module-jackdbus-detect +.fail .endif ifelse(@HAVE_BLUEZ@, 1, [dnl