* 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
This commit is contained in:
parent
835170fe19
commit
29b6b8769f
@ -135,12 +135,14 @@ in
|
|||||||
|
|
||||||
exec = "dbus-daemon --system";
|
exec = "dbus-daemon --system";
|
||||||
|
|
||||||
|
/*
|
||||||
postStart =
|
postStart =
|
||||||
''
|
''
|
||||||
# Signal Upstart to connect to the system bus. This
|
# Signal Upstart to connect to the system bus. This
|
||||||
# allows ‘initctl’ to work for non-root users.
|
# allows ‘initctl’ to work for non-root users.
|
||||||
kill -USR1 1
|
kill -USR1 1
|
||||||
'';
|
'';
|
||||||
|
*/
|
||||||
|
|
||||||
postStop =
|
postStop =
|
||||||
''
|
''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user