]> code.delx.au - pulseaudio/commitdiff
conf: Use .nofail when loading module-jackdbus-detect
authorColin Guthrie <colin@mageia.org>
Thu, 20 Oct 2011 13:11:53 +0000 (14:11 +0100)
committerColin Guthrie <colin@mageia.org>
Thu, 20 Oct 2011 13:29:06 +0000 (14:29 +0100)
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

index 57f259c5d95c6ae334318e392026773a77444da0..c6ec29cd6e8a800f98ed9932efa12aeb4d5d96e2 100755 (executable)
@@ -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