From 8c9267a4482fb364a39f9a7eaed78cd6d3acd51a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= <ludo@gnu.org>
Date: Thu, 22 Jan 2015 23:47:13 +0100
Subject: [PATCH] system: Make D-Bus warnings non fatal.

* gnu/system.scm (etc-directory): Add 'DBUS_FATAL_WARNINGS' in PROFILE.
---
 gnu/system.scm | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/gnu/system.scm b/gnu/system.scm
index bb11189e8f2..52698c9e222 100644
--- a/gnu/system.scm
+++ b/gnu/system.scm
@@ -444,6 +444,10 @@ (define* (etc-directory #:key
 
 # 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"
-- 
GitLab