summary refs log tree commit diff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2015-01-22 23:47:13 +0100
committerLudovic Courtès <ludo@gnu.org>2015-01-22 23:47:13 +0100
commit8c9267a4482fb364a39f9a7eaed78cd6d3acd51a (patch)
treed96ba69d16a31f943b388a088621e3f8b93ae578
parent0a0517690dd0f65aed5f21cc7976119608ff2577 (diff)
downloadguix-8c9267a4482fb364a39f9a7eaed78cd6d3acd51a.tar.gz
system: Make D-Bus warnings non fatal.
* gnu/system.scm (etc-directory): Add 'DBUS_FATAL_WARNINGS' in PROFILE.
-rw-r--r--gnu/system.scm4
1 files changed, 4 insertions, 0 deletions
diff --git a/gnu/system.scm b/gnu/system.scm
index bb11189e8f..52698c9e22 100644
--- a/gnu/system.scm
+++ b/gnu/system.scm
@@ -444,6 +444,10 @@ export INFOPATH=$HOME/.guix-profile/share/info:/run/current-system/profile/share
 
 # Append the directory of 'site-start.el' to the search path.
 export EMACSLOADPATH=:/etc/emacs
+
+# By default, applications that use D-Bus, such as Emacs, abort at startup
+# when /etc/machine-id is missing.  Make sure these warnings are non-fatal.
+export DBUS_FATAL_WARNINGS=0
 "))
        (skel      (skeleton-directory skeletons)))
     (file-union "etc"