From 29b6b8769faedd19e5a23c7c4e9312958be58d05 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Sun, 4 Mar 2012 17:49:00 +0000 Subject: [PATCH] * On second thought, let's not enable user support in Upstart. The first user job I put in ~/.init caused Upstart to crash with an assertion failure, taking down the system. Given that Upstart has a non-trivial attack surface with this feature, it seems best to disable it. svn path=/nixos/trunk/; revision=32779 --- modules/services/system/dbus.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/services/system/dbus.nix b/modules/services/system/dbus.nix index 7232d12ecb9..a9d7a3d8420 100644 --- a/modules/services/system/dbus.nix +++ b/modules/services/system/dbus.nix @@ -135,12 +135,14 @@ in exec = "dbus-daemon --system"; + /* postStart = '' # Signal Upstart to connect to the system bus. This # allows ‘initctl’ to work for non-root users. kill -USR1 1 ''; + */ postStop = ''