From e44b87dd3114875c537b8b94e3a5cda893bac8df Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 5 Apr 2012 12:27:21 +0000 Subject: [PATCH] * Pass --no-sessions to Upstart to make sure users cannot start Upstart jobs (even when Upstart has attached to D-Bus). svn path=/nixos/trunk/; revision=33617 --- modules/system/boot/stage-2-init.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/system/boot/stage-2-init.sh b/modules/system/boot/stage-2-init.sh index 798c4afdc38..bd48f463dcd 100644 --- a/modules/system/boot/stage-2-init.sh +++ b/modules/system/boot/stage-2-init.sh @@ -186,4 +186,4 @@ fi # Start Upstart's init. echo "starting Upstart..." -PATH=/var/run/current-system/upstart/sbin exec init ${debug2:+--verbose} +PATH=/var/run/current-system/upstart/sbin exec init --no-sessions ${debug2:+--verbose}