Merge lp:~jamesodhunt/upstart/cgroups-and-process_data-reexec-test into lp:upstart

Proposed by James Hunt on 2014-07-02
Status: Merged
Merged at revision: 1641
Proposed branch: lp:~jamesodhunt/upstart/cgroups-and-process_data-reexec-test
Merge into: lp:upstart
Diff against target: 40729 lines (+19611/-18300)
4 files modified
ChangeLog (+22/-0)
init/job_process.c (+9/-3)
init/tests/data/upstart-1.13.json (+19507/-18278)
init/tests/test_state.c (+73/-19)
To merge this branch: bzr merge lp:~jamesodhunt/upstart/cgroups-and-process_data-reexec-test
Reviewer Review Type Date Requested Status
Dimitri John Ledkov 2014-07-02 Approve on 2014-07-03
Review via email: mp+225360@code.launchpad.net
To post a comment you must log in.
James Hunt (jamesodhunt) wrote :

Tested with and without '--disable-cgroups'.

Steve Langasek (vorlon) wrote :

looks good to me. Why the "WIP"?

James Hunt (jamesodhunt) wrote :

What was there was fine, but the test changes were missing explicit checks on JobProcessData "post re-exec".

Adding those tests identified a problem which would otherwise have laid dormant: we weren't serialising JobProcessData->status.

Dimitri John Ledkov (xnox) wrote :

looks good to me.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'ChangeLog'
2--- ChangeLog 2014-06-05 10:13:51 +0000
3+++ ChangeLog 2014-07-03 09:08:21 +0000
4@@ -1,3 +1,25 @@
5+2014-07-03 James Hunt <james.hunt@ubuntu.com>
6+
7+ * init/job_process.c:
8+ - job_process_data_serialise(): Serialise status.
9+ - job_process_data_deserialise(): Deserialise status.
10+ * init/tests/data/upstart-1.13.json: Add missing JobProcessData->status.
11+ * init/tests/test_state.c: test_cgroup_and_process_data_state():
12+ - Ensure JobProcessData recreated in expected form.
13+
14+2014-07-02 James Hunt <james.hunt@ubuntu.com>
15+
16+ * init/tests/data/upstart-1.13.json: Updated with new content containing
17+ both more cgroup stanza jobs and a job with a job process whose
18+ child setup is "in-flight", representing the JobProcessData in the
19+ JSON as 'process_data'.
20+ * init/tests/test_state.c: test_cgroup_and_process_data_state():
21+ - Renamed from test_cgroup_state().
22+ - Made cgroup guards more fine-grainded to ensure this test always
23+ runs, but only tests cgroup content if built with cgroup support.
24+ - Pre-process the JSON to pass a valid fd to allow the deserialisation
25+ of the JobProcessData to succeed.
26+
27 2014-06-04 James Hunt <james.hunt@ubuntu.com>
28
29 * dbus/com.ubuntu.Upstart.xml: Renamed SetEnvMulti to SetEnvList and
30
31=== modified file 'init/job_process.c'
32--- init/job_process.c 2014-06-27 14:06:38 +0000
33+++ init/job_process.c 2014-07-03 09:08:21 +0000
34@@ -2735,12 +2735,15 @@
35 if (! state_set_json_int_var_from_obj (json, process_data, shell_fd))
36 goto error;
37
38+ if (! state_set_json_int_var_from_obj (json, process_data, job_process_fd))
39+ goto error;
40+
41+ if (! state_set_json_int_var_from_obj (json, process_data, status))
42+ goto error;
43+
44 if (! state_set_json_int_var_from_obj (json, process_data, valid))
45 goto error;
46
47- if (! state_set_json_int_var_from_obj (json, process_data, job_process_fd))
48- goto error;
49-
50 return json;
51
52 error:
53@@ -2788,6 +2791,9 @@
54 if (! state_get_json_int_var_to_obj (json, process_data, shell_fd))
55 goto error;
56
57+ if (! state_get_json_int_var_to_obj (json, process_data, status))
58+ goto error;
59+
60 if (! state_get_json_int_var_to_obj (json, process_data, valid))
61 goto error;
62
63
64=== modified file 'init/tests/data/upstart-1.13.json'
65--- init/tests/data/upstart-1.13.json 2014-04-04 14:08:25 +0000
66+++ init/tests/data/upstart-1.13.json 2014-07-03 09:08:21 +0000
67@@ -1,748 +1,1537 @@
68 {
69+ "cgroup_manager_address" : "unix:path=/sys/fs/cgroup/cgmanager/sock",
70+ "conf_sources" : [
71+ {
72+ "session" : 0,
73+ "path" : "//etc/init.conf",
74+ "type" : "CONF_FILE",
75+ "flag" : 1,
76+ "conf_files" : []
77+ },
78+ {
79+ "conf_files" : [
80+ {
81+ "conf_source" : 1,
82+ "path" : "//etc/init/mounted-debugfs.conf",
83+ "job_class" : {
84+ "name" : "mounted-debugfs",
85+ "session" : 0
86+ },
87+ "flag" : 1
88+ },
89+ {
90+ "flag" : 1,
91+ "path" : "//etc/init/mountnfs.sh.conf",
92+ "job_class" : {
93+ "name" : "mountnfs.sh",
94+ "session" : 0
95+ },
96+ "conf_source" : 1
97+ },
98+ {
99+ "path" : "//etc/init/procps-instance.conf",
100+ "job_class" : {
101+ "name" : "procps-instance",
102+ "session" : 0
103+ },
104+ "conf_source" : 1,
105+ "flag" : 1
106+ },
107+ {
108+ "flag" : 1,
109+ "conf_source" : 1,
110+ "path" : "//etc/init/pulseaudio.conf",
111+ "job_class" : {
112+ "session" : 0,
113+ "name" : "pulseaudio"
114+ }
115+ },
116+ {
117+ "conf_source" : 1,
118+ "job_class" : {
119+ "session" : 0,
120+ "name" : "rc-sysinit"
121+ },
122+ "path" : "//etc/init/rc-sysinit.conf",
123+ "flag" : 1
124+ },
125+ {
126+ "flag" : 1,
127+ "path" : "//etc/init/setvtrgb.conf",
128+ "job_class" : {
129+ "session" : 0,
130+ "name" : "setvtrgb"
131+ },
132+ "conf_source" : 1
133+ },
134+ {
135+ "conf_source" : 1,
136+ "job_class" : {
137+ "name" : "alsa-utils",
138+ "session" : 0
139+ },
140+ "path" : "//etc/init/alsa-utils.conf",
141+ "flag" : 1
142+ },
143+ {
144+ "job_class" : {
145+ "name" : "cgroup-procenv",
146+ "session" : 0
147+ },
148+ "path" : "//etc/init/cgroup-procenv.conf",
149+ "conf_source" : 1,
150+ "flag" : 1
151+ },
152+ {
153+ "conf_source" : 1,
154+ "job_class" : {
155+ "name" : "lightdm",
156+ "session" : 0
157+ },
158+ "path" : "//etc/init/lightdm.conf",
159+ "flag" : 1
160+ },
161+ {
162+ "job_class" : {
163+ "session" : 0,
164+ "name" : "mountdevsubfs.sh"
165+ },
166+ "path" : "//etc/init/mountdevsubfs.sh.conf",
167+ "conf_source" : 1,
168+ "flag" : 1
169+ },
170+ {
171+ "flag" : 1,
172+ "conf_source" : 1,
173+ "job_class" : {
174+ "session" : 0,
175+ "name" : "mounted-proc"
176+ },
177+ "path" : "//etc/init/mounted-proc.conf"
178+ },
179+ {
180+ "job_class" : {
181+ "session" : 0,
182+ "name" : "network-interface"
183+ },
184+ "path" : "//etc/init/network-interface.conf",
185+ "conf_source" : 1,
186+ "flag" : 1
187+ },
188+ {
189+ "flag" : 1,
190+ "conf_source" : 1,
191+ "job_class" : {
192+ "session" : 0,
193+ "name" : "plymouth-log"
194+ },
195+ "path" : "//etc/init/plymouth-log.conf"
196+ },
197+ {
198+ "flag" : 1,
199+ "job_class" : {
200+ "name" : "alsa-state",
201+ "session" : 0
202+ },
203+ "path" : "//etc/init/alsa-state.conf",
204+ "conf_source" : 1
205+ },
206+ {
207+ "flag" : 1,
208+ "conf_source" : 1,
209+ "job_class" : {
210+ "name" : "atd",
211+ "session" : 0
212+ },
213+ "path" : "//etc/init/atd.conf"
214+ },
215+ {
216+ "conf_source" : 1,
217+ "path" : "//etc/init/control-alt-delete.conf",
218+ "job_class" : {
219+ "name" : "control-alt-delete",
220+ "session" : 0
221+ },
222+ "flag" : 1
223+ },
224+ {
225+ "job_class" : {
226+ "session" : 0,
227+ "name" : "failsafe"
228+ },
229+ "path" : "//etc/init/failsafe.conf",
230+ "conf_source" : 1,
231+ "flag" : 1
232+ },
233+ {
234+ "path" : "//etc/init/hwclock-save.conf",
235+ "job_class" : {
236+ "session" : 0,
237+ "name" : "hwclock-save"
238+ },
239+ "conf_source" : 1,
240+ "flag" : 1
241+ },
242+ {
243+ "flag" : 1,
244+ "conf_source" : 1,
245+ "path" : "//etc/init/irqbalance.conf",
246+ "job_class" : {
247+ "name" : "irqbalance",
248+ "session" : 0
249+ }
250+ },
251+ {
252+ "path" : "//etc/init/networking.conf",
253+ "job_class" : {
254+ "name" : "networking",
255+ "session" : 0
256+ },
257+ "conf_source" : 1,
258+ "flag" : 1
259+ },
260+ {
261+ "path" : "//etc/init/ufw.conf",
262+ "job_class" : {
263+ "name" : "ufw",
264+ "session" : 0
265+ },
266+ "conf_source" : 1,
267+ "flag" : 1
268+ },
269+ {
270+ "flag" : 1,
271+ "conf_source" : 1,
272+ "job_class" : {
273+ "session" : 0,
274+ "name" : "avahi-cups-reload"
275+ },
276+ "path" : "//etc/init/avahi-cups-reload.conf"
277+ },
278+ {
279+ "conf_source" : 1,
280+ "job_class" : {
281+ "session" : 0,
282+ "name" : "console-font"
283+ },
284+ "path" : "//etc/init/console-font.conf",
285+ "flag" : 1
286+ },
287+ {
288+ "flag" : 1,
289+ "conf_source" : 1,
290+ "job_class" : {
291+ "session" : 0,
292+ "name" : "hostname.sh"
293+ },
294+ "path" : "//etc/init/hostname.sh.conf"
295+ },
296+ {
297+ "flag" : 1,
298+ "conf_source" : 1,
299+ "path" : "//etc/init/modemmanager.conf",
300+ "job_class" : {
301+ "session" : 0,
302+ "name" : "modemmanager"
303+ }
304+ },
305+ {
306+ "flag" : 1,
307+ "conf_source" : 1,
308+ "job_class" : {
309+ "session" : 0,
310+ "name" : "mounted-run"
311+ },
312+ "path" : "//etc/init/mounted-run.conf"
313+ },
314+ {
315+ "path" : "//etc/init/mounted-tmp.conf",
316+ "job_class" : {
317+ "name" : "mounted-tmp",
318+ "session" : 0
319+ },
320+ "conf_source" : 1,
321+ "flag" : 1
322+ },
323+ {
324+ "conf_source" : 1,
325+ "job_class" : {
326+ "session" : 0,
327+ "name" : "rc"
328+ },
329+ "path" : "//etc/init/rc.conf",
330+ "flag" : 1
331+ },
332+ {
333+ "conf_source" : 1,
334+ "path" : "//etc/init/rsyslog.conf",
335+ "job_class" : {
336+ "session" : 0,
337+ "name" : "rsyslog"
338+ },
339+ "flag" : 1
340+ },
341+ {
342+ "job_class" : {
343+ "name" : "shutdown",
344+ "session" : 0
345+ },
346+ "path" : "//etc/init/shutdown.conf",
347+ "conf_source" : 1,
348+ "flag" : 1
349+ },
350+ {
351+ "flag" : 1,
352+ "conf_source" : 1,
353+ "job_class" : {
354+ "session" : 0,
355+ "name" : "plymouth"
356+ },
357+ "path" : "//etc/init/plymouth.conf"
358+ },
359+ {
360+ "flag" : 1,
361+ "path" : "//etc/init/usb-modeswitch-upstart.conf",
362+ "job_class" : {
363+ "session" : 0,
364+ "name" : "usb-modeswitch-upstart"
365+ },
366+ "conf_source" : 1
367+ },
368+ {
369+ "flag" : 1,
370+ "conf_source" : 1,
371+ "path" : "//etc/init/anacron.conf",
372+ "job_class" : {
373+ "session" : 0,
374+ "name" : "anacron"
375+ }
376+ },
377+ {
378+ "flag" : 1,
379+ "conf_source" : 1,
380+ "path" : "//etc/init/cgroup-job2.conf",
381+ "job_class" : {
382+ "name" : "cgroup-job2",
383+ "session" : 0
384+ }
385+ },
386+ {
387+ "job_class" : {
388+ "session" : 0,
389+ "name" : "mountall-shell"
390+ },
391+ "path" : "//etc/init/mountall-shell.conf",
392+ "conf_source" : 1,
393+ "flag" : 1
394+ },
395+ {
396+ "path" : "//etc/init/mounted-var.conf",
397+ "job_class" : {
398+ "name" : "mounted-var",
399+ "session" : 0
400+ },
401+ "conf_source" : 1,
402+ "flag" : 1
403+ },
404+ {
405+ "flag" : 1,
406+ "conf_source" : 1,
407+ "path" : "//etc/init/plymouth-upstart-bridge.conf",
408+ "job_class" : {
409+ "name" : "plymouth-upstart-bridge",
410+ "session" : 0
411+ }
412+ },
413+ {
414+ "job_class" : {
415+ "session" : 0,
416+ "name" : "tty1"
417+ },
418+ "path" : "//etc/init/tty1.conf",
419+ "conf_source" : 1,
420+ "flag" : 1
421+ },
422+ {
423+ "conf_source" : 1,
424+ "job_class" : {
425+ "session" : 0,
426+ "name" : "udev-fallback-graphics"
427+ },
428+ "path" : "//etc/init/udev-fallback-graphics.conf",
429+ "flag" : 1
430+ },
431+ {
432+ "flag" : 1,
433+ "conf_source" : 1,
434+ "job_class" : {
435+ "session" : 0,
436+ "name" : "udev-finish"
437+ },
438+ "path" : "//etc/init/udev-finish.conf"
439+ },
440+ {
441+ "path" : "//etc/init/wait-for-state.conf",
442+ "job_class" : {
443+ "name" : "wait-for-state",
444+ "session" : 0
445+ },
446+ "conf_source" : 1,
447+ "flag" : 1
448+ },
449+ {
450+ "conf_source" : 1,
451+ "path" : "//etc/init/acpid.conf",
452+ "job_class" : {
453+ "session" : 0,
454+ "name" : "acpid"
455+ },
456+ "flag" : 1
457+ },
458+ {
459+ "path" : "//etc/init/alsa-restore.conf",
460+ "job_class" : {
461+ "session" : 0,
462+ "name" : "alsa-restore"
463+ },
464+ "conf_source" : 1,
465+ "flag" : 1
466+ },
467+ {
468+ "flag" : 1,
469+ "path" : "//etc/init/alsa-store.conf",
470+ "job_class" : {
471+ "session" : 0,
472+ "name" : "alsa-store"
473+ },
474+ "conf_source" : 1
475+ },
476+ {
477+ "flag" : 1,
478+ "conf_source" : 1,
479+ "job_class" : {
480+ "name" : "apparmor",
481+ "session" : 0
482+ },
483+ "path" : "//etc/init/apparmor.conf"
484+ },
485+ {
486+ "flag" : 1,
487+ "conf_source" : 1,
488+ "path" : "//etc/init/apport.conf",
489+ "job_class" : {
490+ "name" : "apport",
491+ "session" : 0
492+ }
493+ },
494+ {
495+ "flag" : 1,
496+ "conf_source" : 1,
497+ "job_class" : {
498+ "session" : 0,
499+ "name" : "cgproxy"
500+ },
501+ "path" : "//etc/init/cgproxy.conf"
502+ },
503+ {
504+ "flag" : 1,
505+ "conf_source" : 1,
506+ "path" : "//etc/init/cron.conf",
507+ "job_class" : {
508+ "session" : 0,
509+ "name" : "cron"
510+ }
511+ },
512+ {
513+ "job_class" : {
514+ "name" : "mountall-bootclean.sh",
515+ "session" : 0
516+ },
517+ "path" : "//etc/init/mountall-bootclean.sh.conf",
518+ "conf_source" : 1,
519+ "flag" : 1
520+ },
521+ {
522+ "flag" : 1,
523+ "conf_source" : 1,
524+ "path" : "//etc/init/plymouth-stop.conf",
525+ "job_class" : {
526+ "session" : 0,
527+ "name" : "plymouth-stop"
528+ }
529+ },
530+ {
531+ "conf_source" : 1,
532+ "path" : "//etc/init/procps.conf",
533+ "job_class" : {
534+ "session" : 0,
535+ "name" : "procps"
536+ },
537+ "flag" : 1
538+ },
539+ {
540+ "path" : "//etc/init/hwclock.conf",
541+ "job_class" : {
542+ "name" : "hwclock",
543+ "session" : 0
544+ },
545+ "conf_source" : 1,
546+ "flag" : 1
547+ },
548+ {
549+ "path" : "//etc/init/plymouth-shutdown.conf",
550+ "job_class" : {
551+ "session" : 0,
552+ "name" : "plymouth-shutdown"
553+ },
554+ "conf_source" : 1,
555+ "flag" : 1
556+ },
557+ {
558+ "conf_source" : 1,
559+ "path" : "//etc/init/container-detect.conf",
560+ "job_class" : {
561+ "name" : "container-detect",
562+ "session" : 0
563+ },
564+ "flag" : 1
565+ },
566+ {
567+ "flag" : 1,
568+ "conf_source" : 1,
569+ "path" : "//etc/init/cups-browsed.conf",
570+ "job_class" : {
571+ "name" : "cups-browsed",
572+ "session" : 0
573+ }
574+ },
575+ {
576+ "path" : "//etc/init/gpu-manager.conf",
577+ "job_class" : {
578+ "name" : "gpu-manager",
579+ "session" : 0
580+ },
581+ "conf_source" : 1,
582+ "flag" : 1
583+ },
584+ {
585+ "flag" : 1,
586+ "job_class" : {
587+ "name" : "mountall",
588+ "session" : 0
589+ },
590+ "path" : "//etc/init/mountall.conf",
591+ "conf_source" : 1
592+ },
593+ {
594+ "conf_source" : 1,
595+ "path" : "//etc/init/mtab.sh.conf",
596+ "job_class" : {
597+ "name" : "mtab.sh",
598+ "session" : 0
599+ },
600+ "flag" : 1
601+ },
602+ {
603+ "job_class" : {
604+ "name" : "rcS",
605+ "session" : 0
606+ },
607+ "path" : "//etc/init/rcS.conf",
608+ "conf_source" : 1,
609+ "flag" : 1
610+ },
611+ {
612+ "flag" : 1,
613+ "conf_source" : 1,
614+ "job_class" : {
615+ "name" : "whoopsie",
616+ "session" : 0
617+ },
618+ "path" : "//etc/init/whoopsie.conf"
619+ },
620+ {
621+ "flag" : 1,
622+ "conf_source" : 1,
623+ "job_class" : {
624+ "name" : "mountall.sh",
625+ "session" : 0
626+ },
627+ "path" : "//etc/init/mountall.sh.conf"
628+ },
629+ {
630+ "conf_source" : 1,
631+ "path" : "//etc/init/network-interface-security.conf",
632+ "job_class" : {
633+ "session" : 0,
634+ "name" : "network-interface-security"
635+ },
636+ "flag" : 1
637+ },
638+ {
639+ "job_class" : {
640+ "name" : "tty5",
641+ "session" : 0
642+ },
643+ "path" : "//etc/init/tty5.conf",
644+ "conf_source" : 1,
645+ "flag" : 1
646+ },
647+ {
648+ "conf_source" : 1,
649+ "path" : "//etc/init/upstart-force-slow-child.conf",
650+ "job_class" : {
651+ "name" : "upstart-force-slow-child",
652+ "session" : 0
653+ },
654+ "flag" : 1
655+ },
656+ {
657+ "path" : "//etc/init/friendly-recovery.conf",
658+ "job_class" : {
659+ "session" : 0,
660+ "name" : "friendly-recovery"
661+ },
662+ "conf_source" : 1,
663+ "flag" : 1
664+ },
665+ {
666+ "conf_source" : 1,
667+ "path" : "//etc/init/jh-failsafe.conf",
668+ "job_class" : {
669+ "session" : 0,
670+ "name" : "jh-failsafe"
671+ },
672+ "flag" : 1
673+ },
674+ {
675+ "path" : "//etc/init/mountall-reboot.conf",
676+ "job_class" : {
677+ "name" : "mountall-reboot",
678+ "session" : 0
679+ },
680+ "conf_source" : 1,
681+ "flag" : 1
682+ },
683+ {
684+ "flag" : 1,
685+ "path" : "//etc/init/mounted-dev.conf",
686+ "job_class" : {
687+ "session" : 0,
688+ "name" : "mounted-dev"
689+ },
690+ "conf_source" : 1
691+ },
692+ {
693+ "flag" : 1,
694+ "conf_source" : 1,
695+ "job_class" : {
696+ "name" : "tty4",
697+ "session" : 0
698+ },
699+ "path" : "//etc/init/tty4.conf"
700+ },
701+ {
702+ "flag" : 1,
703+ "conf_source" : 1,
704+ "path" : "//etc/init/ureadahead-other.conf",
705+ "job_class" : {
706+ "session" : 0,
707+ "name" : "ureadahead-other"
708+ }
709+ },
710+ {
711+ "conf_source" : 1,
712+ "job_class" : {
713+ "name" : "avahi-daemon",
714+ "session" : 0
715+ },
716+ "path" : "//etc/init/avahi-daemon.conf",
717+ "flag" : 1
718+ },
719+ {
720+ "flag" : 1,
721+ "conf_source" : 1,
722+ "job_class" : {
723+ "session" : 0,
724+ "name" : "cgmanager"
725+ },
726+ "path" : "//etc/init/cgmanager.conf"
727+ },
728+ {
729+ "flag" : 1,
730+ "conf_source" : 1,
731+ "job_class" : {
732+ "session" : 0,
733+ "name" : "cgroup-job1"
734+ },
735+ "path" : "//etc/init/cgroup-job1.conf"
736+ },
737+ {
738+ "flag" : 1,
739+ "conf_source" : 1,
740+ "job_class" : {
741+ "name" : "cgroup-job3",
742+ "session" : 0
743+ },
744+ "path" : "//etc/init/cgroup-job3.conf"
745+ },
746+ {
747+ "flag" : 1,
748+ "conf_source" : 1,
749+ "job_class" : {
750+ "session" : 0,
751+ "name" : "failsafe-x"
752+ },
753+ "path" : "//etc/init/failsafe-x.conf"
754+ },
755+ {
756+ "conf_source" : 1,
757+ "job_class" : {
758+ "name" : "mountkernfs.sh",
759+ "session" : 0
760+ },
761+ "path" : "//etc/init/mountkernfs.sh.conf",
762+ "flag" : 1
763+ },
764+ {
765+ "job_class" : {
766+ "name" : "rebooter",
767+ "session" : 0
768+ },
769+ "path" : "//etc/init/rebooter.conf",
770+ "conf_source" : 1,
771+ "flag" : 1
772+ },
773+ {
774+ "flag" : 1,
775+ "conf_source" : 1,
776+ "job_class" : {
777+ "name" : "rfkill-restore",
778+ "session" : 0
779+ },
780+ "path" : "//etc/init/rfkill-restore.conf"
781+ },
782+ {
783+ "flag" : 1,
784+ "conf_source" : 1,
785+ "job_class" : {
786+ "name" : "rfkill-store",
787+ "session" : 0
788+ },
789+ "path" : "//etc/init/rfkill-store.conf"
790+ },
791+ {
792+ "conf_source" : 1,
793+ "path" : "//etc/init/udevtrigger.conf",
794+ "job_class" : {
795+ "session" : 0,
796+ "name" : "udevtrigger"
797+ },
798+ "flag" : 1
799+ },
800+ {
801+ "conf_source" : 1,
802+ "job_class" : {
803+ "name" : "upstart-socket-bridge",
804+ "session" : 0
805+ },
806+ "path" : "//etc/init/upstart-socket-bridge.conf",
807+ "flag" : 1
808+ },
809+ {
810+ "flag" : 1,
811+ "path" : "//etc/init/ureadahead.conf",
812+ "job_class" : {
813+ "session" : 0,
814+ "name" : "ureadahead"
815+ },
816+ "conf_source" : 1
817+ },
818+ {
819+ "path" : "//etc/init/cgroup-invalid.conf",
820+ "job_class" : {
821+ "session" : 0,
822+ "name" : "cgroup-invalid"
823+ },
824+ "conf_source" : 1,
825+ "flag" : 1
826+ },
827+ {
828+ "conf_source" : 1,
829+ "path" : "//etc/init/foo.conf",
830+ "job_class" : {
831+ "name" : "foo",
832+ "session" : 0
833+ },
834+ "flag" : 1
835+ },
836+ {
837+ "path" : "//etc/init/passwd.conf",
838+ "job_class" : {
839+ "session" : 0,
840+ "name" : "passwd"
841+ },
842+ "conf_source" : 1,
843+ "flag" : 1
844+ },
845+ {
846+ "flag" : 1,
847+ "conf_source" : 1,
848+ "job_class" : {
849+ "name" : "procenv",
850+ "session" : 0
851+ },
852+ "path" : "//etc/init/procenv.conf"
853+ },
854+ {
855+ "conf_source" : 1,
856+ "job_class" : {
857+ "name" : "startpar-bridge",
858+ "session" : 0
859+ },
860+ "path" : "//etc/init/startpar-bridge.conf",
861+ "flag" : 1
862+ },
863+ {
864+ "conf_source" : 1,
865+ "job_class" : {
866+ "session" : 0,
867+ "name" : "block-runlevel"
868+ },
869+ "path" : "//etc/init/block-runlevel.conf",
870+ "flag" : 1
871+ },
872+ {
873+ "flag" : 1,
874+ "conf_source" : 1,
875+ "path" : "//etc/init/mountall-net.conf",
876+ "job_class" : {
877+ "name" : "mountall-net",
878+ "session" : 0
879+ }
880+ },
881+ {
882+ "flag" : 1,
883+ "job_class" : {
884+ "name" : "mountnfs-bootclean.sh",
885+ "session" : 0
886+ },
887+ "path" : "//etc/init/mountnfs-bootclean.sh.conf",
888+ "conf_source" : 1
889+ },
890+ {
891+ "flag" : 1,
892+ "path" : "//etc/init/network-manager.conf",
893+ "job_class" : {
894+ "name" : "network-manager",
895+ "session" : 0
896+ },
897+ "conf_source" : 1
898+ },
899+ {
900+ "flag" : 1,
901+ "job_class" : {
902+ "session" : 0,
903+ "name" : "resolvconf"
904+ },
905+ "path" : "//etc/init/resolvconf.conf",
906+ "conf_source" : 1
907+ },
908+ {
909+ "conf_source" : 1,
910+ "path" : "//etc/init/tty3.conf",
911+ "job_class" : {
912+ "session" : 0,
913+ "name" : "tty3"
914+ },
915+ "flag" : 1
916+ },
917+ {
918+ "flag" : 1,
919+ "conf_source" : 1,
920+ "job_class" : {
921+ "session" : 0,
922+ "name" : "cgroup-job4"
923+ },
924+ "path" : "//etc/init/cgroup-job4.conf"
925+ },
926+ {
927+ "flag" : 1,
928+ "conf_source" : 1,
929+ "job_class" : {
930+ "session" : 0,
931+ "name" : "checkfs.sh"
932+ },
933+ "path" : "//etc/init/checkfs.sh.conf"
934+ },
935+ {
936+ "path" : "//etc/init/dbus.conf",
937+ "job_class" : {
938+ "session" : 0,
939+ "name" : "dbus"
940+ },
941+ "conf_source" : 1,
942+ "flag" : 1
943+ },
944+ {
945+ "conf_source" : 1,
946+ "path" : "//etc/init/flush-early-job-log.conf",
947+ "job_class" : {
948+ "session" : 0,
949+ "name" : "flush-early-job-log"
950+ },
951+ "flag" : 1
952+ },
953+ {
954+ "flag" : 1,
955+ "path" : "//etc/init/network-interface-container.conf",
956+ "job_class" : {
957+ "name" : "network-interface-container",
958+ "session" : 0
959+ },
960+ "conf_source" : 1
961+ },
962+ {
963+ "flag" : 1,
964+ "conf_source" : 1,
965+ "job_class" : {
966+ "session" : 0,
967+ "name" : "plymouth-ready"
968+ },
969+ "path" : "//etc/init/plymouth-ready.conf"
970+ },
971+ {
972+ "flag" : 1,
973+ "path" : "//etc/init/plymouth-splash.conf",
974+ "job_class" : {
975+ "session" : 0,
976+ "name" : "plymouth-splash"
977+ },
978+ "conf_source" : 1
979+ },
980+ {
981+ "flag" : 1,
982+ "path" : "//etc/init/checkroot-bootclean.sh.conf",
983+ "job_class" : {
984+ "name" : "checkroot-bootclean.sh",
985+ "session" : 0
986+ },
987+ "conf_source" : 1
988+ },
989+ {
990+ "flag" : 1,
991+ "conf_source" : 1,
992+ "job_class" : {
993+ "session" : 0,
994+ "name" : "checkroot.sh"
995+ },
996+ "path" : "//etc/init/checkroot.sh.conf"
997+ },
998+ {
999+ "flag" : 1,
1000+ "conf_source" : 1,
1001+ "job_class" : {
1002+ "session" : 0,
1003+ "name" : "console-setup"
1004+ },
1005+ "path" : "//etc/init/console-setup.conf"
1006+ },
1007+ {
1008+ "flag" : 1,
1009+ "conf_source" : 1,
1010+ "job_class" : {
1011+ "session" : 0,
1012+ "name" : "console"
1013+ },
1014+ "path" : "//etc/init/console.conf"
1015+ },
1016+ {
1017+ "conf_source" : 1,
1018+ "path" : "//etc/init/cups.conf",
1019+ "job_class" : {
1020+ "name" : "cups",
1021+ "session" : 0
1022+ },
1023+ "flag" : 1
1024+ },
1025+ {
1026+ "flag" : 1,
1027+ "conf_source" : 1,
1028+ "path" : "//etc/init/dmesg.conf",
1029+ "job_class" : {
1030+ "name" : "dmesg",
1031+ "session" : 0
1032+ }
1033+ },
1034+ {
1035+ "flag" : 1,
1036+ "path" : "//etc/init/tty2.conf",
1037+ "job_class" : {
1038+ "name" : "tty2",
1039+ "session" : 0
1040+ },
1041+ "conf_source" : 1
1042+ },
1043+ {
1044+ "path" : "//etc/init/tty8.conf",
1045+ "job_class" : {
1046+ "name" : "tty8",
1047+ "session" : 0
1048+ },
1049+ "conf_source" : 1,
1050+ "flag" : 1
1051+ },
1052+ {
1053+ "flag" : 1,
1054+ "job_class" : {
1055+ "name" : "udev",
1056+ "session" : 0
1057+ },
1058+ "path" : "//etc/init/udev.conf",
1059+ "conf_source" : 1
1060+ },
1061+ {
1062+ "flag" : 1,
1063+ "path" : "//etc/init/bluetooth.conf",
1064+ "job_class" : {
1065+ "session" : 0,
1066+ "name" : "bluetooth"
1067+ },
1068+ "conf_source" : 1
1069+ },
1070+ {
1071+ "conf_source" : 1,
1072+ "job_class" : {
1073+ "session" : 0,
1074+ "name" : "bootmisc.sh"
1075+ },
1076+ "path" : "//etc/init/bootmisc.sh.conf",
1077+ "flag" : 1
1078+ },
1079+ {
1080+ "flag" : 1,
1081+ "path" : "//etc/init/cgroup.conf",
1082+ "job_class" : {
1083+ "session" : 0,
1084+ "name" : "cgroup"
1085+ },
1086+ "conf_source" : 1
1087+ },
1088+ {
1089+ "job_class" : {
1090+ "session" : 0,
1091+ "name" : "hostname"
1092+ },
1093+ "path" : "//etc/init/hostname.conf",
1094+ "conf_source" : 1,
1095+ "flag" : 1
1096+ },
1097+ {
1098+ "path" : "//etc/init/kmod.conf",
1099+ "job_class" : {
1100+ "session" : 0,
1101+ "name" : "kmod"
1102+ },
1103+ "conf_source" : 1,
1104+ "flag" : 1
1105+ },
1106+ {
1107+ "flag" : 1,
1108+ "path" : "//etc/init/tty6.conf",
1109+ "job_class" : {
1110+ "session" : 0,
1111+ "name" : "tty6"
1112+ },
1113+ "conf_source" : 1
1114+ },
1115+ {
1116+ "conf_source" : 1,
1117+ "path" : "//etc/init/udevmonitor.conf",
1118+ "job_class" : {
1119+ "session" : 0,
1120+ "name" : "udevmonitor"
1121+ },
1122+ "flag" : 1
1123+ },
1124+ {
1125+ "path" : "//etc/init/upstart-file-bridge.conf",
1126+ "job_class" : {
1127+ "session" : 0,
1128+ "name" : "upstart-file-bridge"
1129+ },
1130+ "conf_source" : 1,
1131+ "flag" : 1
1132+ },
1133+ {
1134+ "conf_source" : 1,
1135+ "path" : "//etc/init/upstart-udev-bridge.conf",
1136+ "job_class" : {
1137+ "name" : "upstart-udev-bridge",
1138+ "session" : 0
1139+ },
1140+ "flag" : 1
1141+ }
1142+ ],
1143+ "flag" : 1,
1144+ "type" : "CONF_JOB_DIR",
1145+ "path" : "//etc/init",
1146+ "session" : 0
1147+ }
1148+ ],
1149+ "job_environment" : [
1150+ "PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin",
1151+ "TERM=linux"
1152+ ],
1153+ "events" : [
1154+ {
1155+ "session" : 0,
1156+ "env" : [
1157+ "KERNEL=fb0",
1158+ "DEVPATH=/devices/pci0000:00/0000:00:02.0/graphics/fb0",
1159+ "DEVNAME=/dev/fb0",
1160+ "SUBSYSTEM=graphics",
1161+ "ACTION=add",
1162+ "ID_FOR_SEAT=graphics-pci-0000_00_02_0",
1163+ "ID_PATH=pci-0000:00:02.0",
1164+ "ID_PATH_TAG=pci-0000_00_02_0",
1165+ "MAJOR=29",
1166+ "MINOR=0",
1167+ "PRIMARY_DEVICE_FOR_DISPLAY=1",
1168+ "SEQNUM=1625",
1169+ "TAGS=:master-of-seat:seat:",
1170+ "USEC_INITIALIZED=530"
1171+ ],
1172+ "name" : "graphics-device-added",
1173+ "fd" : -1,
1174+ "failed" : 0,
1175+ "blockers" : 2,
1176+ "progress" : "EVENT_HANDLING"
1177+ },
1178+ {
1179+ "name" : "runlevel",
1180+ "session" : 0,
1181+ "env" : [
1182+ "RUNLEVEL=2",
1183+ "PREVLEVEL=N"
1184+ ],
1185+ "failed" : 0,
1186+ "fd" : -1,
1187+ "progress" : "EVENT_HANDLING",
1188+ "blockers" : 2
1189+ },
1190+ {
1191+ "fd" : -1,
1192+ "failed" : 1,
1193+ "env" : [
1194+ "JOB=rc",
1195+ "INSTANCE=",
1196+ "RESULT=ok",
1197+ "RUNLEVEL=2",
1198+ "PREVLEVEL=N"
1199+ ],
1200+ "session" : 0,
1201+ "name" : "stopped",
1202+ "blockers" : 1,
1203+ "progress" : "EVENT_HANDLING"
1204+ }
1205+ ],
1206+ "control_bus_address" : null,
1207+ "sessions" : [],
1208 "job_classes" : [
1209 {
1210- "emits" : [],
1211- "respawn_interval" : 5,
1212- "expect" : "EXPECT_NONE",
1213 "process" : [
1214 {
1215- "script" : 0,
1216- "command" : "reload cups"
1217- },
1218- {
1219- "script" : 0,
1220- "command" : null
1221- },
1222- {
1223- "command" : null,
1224- "script" : 0
1225- },
1226- {
1227- "script" : 0,
1228- "command" : null
1229- },
1230- {
1231- "script" : 0,
1232- "command" : null
1233- },
1234- {
1235- "script" : 0,
1236- "command" : null
1237+ "command" : "reload cups",
1238+ "script" : 0
1239+ },
1240+ {
1241+ "command" : null,
1242+ "script" : 0
1243+ },
1244+ {
1245+ "command" : null,
1246+ "script" : 0
1247+ },
1248+ {
1249+ "script" : 0,
1250+ "command" : null
1251+ },
1252+ {
1253+ "command" : null,
1254+ "script" : 0
1255+ },
1256+ {
1257+ "command" : null,
1258+ "script" : 0
1259 }
1260 ],
1261- "version" : null,
1262- "setuid" : null,
1263+ "cgroups" : [],
1264+ "respawn" : 0,
1265+ "emits" : [],
1266+ "setgid" : null,
1267+ "debug" : 0,
1268+ "umask" : 18,
1269+ "normalexit" : [],
1270+ "respawn_limit" : 10,
1271+ "task" : 1,
1272+ "session" : 0,
1273+ "oom_score_adj" : 0,
1274 "path" : "/com/ubuntu/Upstart/jobs/avahi_2dcups_2dreload",
1275+ "kill_timeout" : 5,
1276+ "name" : "avahi-cups-reload",
1277+ "cgmanager_wait" : 0,
1278+ "usage" : null,
1279 "kill_signal" : 15,
1280- "session" : 0,
1281- "umask" : 18,
1282+ "deleted" : 0,
1283+ "version" : null,
1284+ "nice" : -21,
1285+ "author" : "Dmitrijs Ledkovs <dmitrijs.ledkovs@canonical.com>",
1286 "description" : "Reload cups, upon starting avahi-daemon to make sure remote queues are populated",
1287- "oom_score_adj" : 0,
1288- "cgroups" : [],
1289- "usage" : null,
1290- "nice" : -21,
1291+ "respawn_interval" : 5,
1292+ "jobs" : [],
1293 "start_on" : [
1294 {
1295 "name" : "started",
1296- "type" : "EVENT_MATCH",
1297+ "value" : 0,
1298 "env" : [
1299 "avahi-daemon"
1300 ],
1301- "value" : 0
1302- }
1303- ],
1304- "limits" : [
1305- {
1306- "rlim_max" : 0,
1307- "rlim_cur" : 0
1308- },
1309- {
1310- "rlim_cur" : 0,
1311- "rlim_max" : 0
1312- },
1313- {
1314- "rlim_max" : 0,
1315- "rlim_cur" : 0
1316- },
1317- {
1318- "rlim_cur" : 0,
1319- "rlim_max" : 0
1320- },
1321- {
1322- "rlim_max" : 0,
1323- "rlim_cur" : 0
1324- },
1325- {
1326- "rlim_max" : 0,
1327- "rlim_cur" : 0
1328- },
1329- {
1330- "rlim_cur" : 0,
1331- "rlim_max" : 0
1332- },
1333- {
1334- "rlim_cur" : 0,
1335- "rlim_max" : 0
1336- },
1337- {
1338- "rlim_cur" : 0,
1339- "rlim_max" : 0
1340- },
1341- {
1342- "rlim_cur" : 0,
1343- "rlim_max" : 0
1344- },
1345- {
1346- "rlim_cur" : 0,
1347- "rlim_max" : 0
1348- },
1349- {
1350- "rlim_cur" : 0,
1351- "rlim_max" : 0
1352- },
1353- {
1354- "rlim_max" : 0,
1355- "rlim_cur" : 0
1356- },
1357- {
1358- "rlim_cur" : 0,
1359- "rlim_max" : 0
1360- },
1361- {
1362- "rlim_max" : 0,
1363- "rlim_cur" : 0
1364- },
1365- {
1366- "rlim_max" : 0,
1367- "rlim_cur" : 0
1368- }
1369- ],
1370- "respawn" : 0,
1371+ "type" : "EVENT_MATCH"
1372+ }
1373+ ],
1374+ "chdir" : null,
1375+ "export" : [],
1376+ "setuid" : null,
1377 "reload_signal" : 1,
1378- "normalexit" : [],
1379 "apparmor_switch" : null,
1380- "chroot" : null,
1381- "task" : 1,
1382- "debug" : 0,
1383 "console" : "CONSOLE_LOG",
1384- "author" : "Dmitrijs Ledkovs <dmitrijs.ledkovs@canonical.com>",
1385- "kill_timeout" : 5,
1386- "jobs" : [],
1387- "setgid" : null,
1388- "name" : "avahi-cups-reload",
1389 "instance" : "",
1390- "chdir" : null,
1391- "cgmanager_wait" : 0,
1392- "deleted" : 0,
1393 "env" : [],
1394- "respawn_limit" : 10,
1395- "export" : []
1396+ "chroot" : null,
1397+ "expect" : "EXPECT_NONE",
1398+ "limits" : [
1399+ {
1400+ "rlim_max" : 0,
1401+ "rlim_cur" : 0
1402+ },
1403+ {
1404+ "rlim_cur" : 0,
1405+ "rlim_max" : 0
1406+ },
1407+ {
1408+ "rlim_max" : 0,
1409+ "rlim_cur" : 0
1410+ },
1411+ {
1412+ "rlim_cur" : 0,
1413+ "rlim_max" : 0
1414+ },
1415+ {
1416+ "rlim_cur" : 0,
1417+ "rlim_max" : 0
1418+ },
1419+ {
1420+ "rlim_max" : 0,
1421+ "rlim_cur" : 0
1422+ },
1423+ {
1424+ "rlim_max" : 0,
1425+ "rlim_cur" : 0
1426+ },
1427+ {
1428+ "rlim_max" : 0,
1429+ "rlim_cur" : 0
1430+ },
1431+ {
1432+ "rlim_cur" : 0,
1433+ "rlim_max" : 0
1434+ },
1435+ {
1436+ "rlim_max" : 0,
1437+ "rlim_cur" : 0
1438+ },
1439+ {
1440+ "rlim_cur" : 0,
1441+ "rlim_max" : 0
1442+ },
1443+ {
1444+ "rlim_cur" : 0,
1445+ "rlim_max" : 0
1446+ },
1447+ {
1448+ "rlim_max" : 0,
1449+ "rlim_cur" : 0
1450+ },
1451+ {
1452+ "rlim_cur" : 0,
1453+ "rlim_max" : 0
1454+ },
1455+ {
1456+ "rlim_cur" : 0,
1457+ "rlim_max" : 0
1458+ },
1459+ {
1460+ "rlim_max" : 0,
1461+ "rlim_cur" : 0
1462+ }
1463+ ]
1464 },
1465 {
1466- "limits" : [
1467- {
1468- "rlim_cur" : 0,
1469- "rlim_max" : 0
1470- },
1471- {
1472- "rlim_cur" : 0,
1473- "rlim_max" : 0
1474- },
1475- {
1476- "rlim_cur" : 0,
1477- "rlim_max" : 0
1478- },
1479- {
1480- "rlim_cur" : 0,
1481- "rlim_max" : 0
1482- },
1483- {
1484- "rlim_max" : 0,
1485- "rlim_cur" : 0
1486- },
1487- {
1488- "rlim_max" : 0,
1489- "rlim_cur" : 0
1490- },
1491- {
1492- "rlim_cur" : 0,
1493- "rlim_max" : 0
1494- },
1495- {
1496- "rlim_max" : 0,
1497- "rlim_cur" : 0
1498- },
1499- {
1500- "rlim_max" : 0,
1501- "rlim_cur" : 0
1502- },
1503- {
1504- "rlim_cur" : 0,
1505- "rlim_max" : 0
1506- },
1507- {
1508- "rlim_max" : 0,
1509- "rlim_cur" : 0
1510- },
1511- {
1512- "rlim_max" : 0,
1513- "rlim_cur" : 0
1514- },
1515- {
1516- "rlim_cur" : 0,
1517- "rlim_max" : 0
1518- },
1519- {
1520- "rlim_cur" : 0,
1521- "rlim_max" : 0
1522- },
1523- {
1524- "rlim_max" : 0,
1525- "rlim_cur" : 0
1526- },
1527- {
1528- "rlim_max" : 0,
1529- "rlim_cur" : 0
1530- }
1531- ],
1532+ "usage" : null,
1533+ "cgmanager_wait" : 0,
1534+ "name" : "avahi-daemon",
1535+ "deleted" : 0,
1536+ "kill_signal" : 15,
1537 "nice" : -21,
1538- "start_on" : [
1539- {
1540- "type" : "EVENT_MATCH",
1541- "name" : "filesystem",
1542- "value" : 0
1543- },
1544- {
1545- "name" : "started",
1546- "type" : "EVENT_MATCH",
1547- "value" : 0,
1548- "env" : [
1549- "dbus"
1550- ]
1551- },
1552- {
1553- "type" : "EVENT_AND",
1554- "value" : 0
1555- }
1556- ],
1557- "respawn" : 1,
1558- "usage" : null,
1559- "cgroups" : [],
1560- "oom_score_adj" : 0,
1561+ "version" : null,
1562 "description" : "mDNS/DNS-SD daemon",
1563+ "author" : null,
1564+ "respawn_interval" : 5,
1565+ "jobs" : [
1566+ {
1567+ "stop_env" : [],
1568+ "state" : "JOB_RUNNING",
1569+ "trace_forks" : 2,
1570+ "path" : "/com/ubuntu/Upstart/jobs/avahi_2ddaemon/_",
1571+ "pid" : [
1572+ 777,
1573+ 0,
1574+ 0,
1575+ 0,
1576+ 0,
1577+ 0
1578+ ],
1579+ "start_env" : [],
1580+ "env" : [
1581+ "PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin",
1582+ "TERM=linux",
1583+ "JOB=dbus",
1584+ "INSTANCE=",
1585+ "UPSTART_EVENTS=filesystem started"
1586+ ],
1587+ "respawn_time" : 0,
1588+ "goal" : "JOB_START",
1589+ "stop_on" : [
1590+ {
1591+ "value" : 0,
1592+ "name" : "stopping",
1593+ "env" : [
1594+ "dbus"
1595+ ],
1596+ "type" : "EVENT_MATCH"
1597+ }
1598+ ],
1599+ "trace_state" : "TRACE_NONE",
1600+ "process_data" : [
1601+ null,
1602+ null,
1603+ null,
1604+ null,
1605+ null,
1606+ null
1607+ ],
1608+ "exit_status" : 0,
1609+ "fds" : [],
1610+ "respawn_count" : 0,
1611+ "kill_process" : "PROCESS_INVALID",
1612+ "failed" : 0,
1613+ "log" : [
1614+ {
1615+ "path" : null
1616+ },
1617+ {
1618+ "path" : null
1619+ },
1620+ {
1621+ "path" : null
1622+ },
1623+ {
1624+ "path" : null
1625+ },
1626+ {
1627+ "path" : null
1628+ },
1629+ {
1630+ "path" : null
1631+ }
1632+ ],
1633+ "name" : "",
1634+ "failed_process" : "PROCESS_INVALID"
1635+ }
1636+ ],
1637+ "chdir" : null,
1638+ "start_on" : [
1639+ {
1640+ "name" : "filesystem",
1641+ "value" : 0,
1642+ "type" : "EVENT_MATCH"
1643+ },
1644+ {
1645+ "type" : "EVENT_MATCH",
1646+ "env" : [
1647+ "dbus"
1648+ ],
1649+ "name" : "started",
1650+ "value" : 0
1651+ },
1652+ {
1653+ "type" : "EVENT_AND",
1654+ "value" : 0
1655+ }
1656+ ],
1657+ "export" : [],
1658+ "setuid" : null,
1659+ "reload_signal" : 1,
1660+ "instance" : "",
1661+ "apparmor_switch" : null,
1662+ "console" : "CONSOLE_LOG",
1663+ "env" : [],
1664+ "chroot" : null,
1665+ "expect" : "EXPECT_DAEMON",
1666+ "limits" : [
1667+ {
1668+ "rlim_cur" : 0,
1669+ "rlim_max" : 0
1670+ },
1671+ {
1672+ "rlim_cur" : 0,
1673+ "rlim_max" : 0
1674+ },
1675+ {
1676+ "rlim_cur" : 0,
1677+ "rlim_max" : 0
1678+ },
1679+ {
1680+ "rlim_cur" : 0,
1681+ "rlim_max" : 0
1682+ },
1683+ {
1684+ "rlim_max" : 0,
1685+ "rlim_cur" : 0
1686+ },
1687+ {
1688+ "rlim_max" : 0,
1689+ "rlim_cur" : 0
1690+ },
1691+ {
1692+ "rlim_max" : 0,
1693+ "rlim_cur" : 0
1694+ },
1695+ {
1696+ "rlim_cur" : 0,
1697+ "rlim_max" : 0
1698+ },
1699+ {
1700+ "rlim_max" : 0,
1701+ "rlim_cur" : 0
1702+ },
1703+ {
1704+ "rlim_max" : 0,
1705+ "rlim_cur" : 0
1706+ },
1707+ {
1708+ "rlim_cur" : 0,
1709+ "rlim_max" : 0
1710+ },
1711+ {
1712+ "rlim_cur" : 0,
1713+ "rlim_max" : 0
1714+ },
1715+ {
1716+ "rlim_cur" : 0,
1717+ "rlim_max" : 0
1718+ },
1719+ {
1720+ "rlim_cur" : 0,
1721+ "rlim_max" : 0
1722+ },
1723+ {
1724+ "rlim_max" : 0,
1725+ "rlim_cur" : 0
1726+ },
1727+ {
1728+ "rlim_max" : 0,
1729+ "rlim_cur" : 0
1730+ }
1731+ ],
1732+ "process" : [
1733+ {
1734+ "script" : 1,
1735+ "command" : "opts=\"-D\"\n[ -e \"/etc/eucalyptus/avahi-daemon.conf\" ] && opts=\"${opts} -f /etc/eucalyptus/avahi-daemon.conf\"\nexec avahi-daemon ${opts}\n"
1736+ },
1737+ {
1738+ "command" : "/lib/init/apparmor-profile-load usr.sbin.avahi-daemon\n",
1739+ "script" : 1
1740+ },
1741+ {
1742+ "script" : 0,
1743+ "command" : null
1744+ },
1745+ {
1746+ "script" : 0,
1747+ "command" : null
1748+ },
1749+ {
1750+ "script" : 0,
1751+ "command" : null
1752+ },
1753+ {
1754+ "script" : 0,
1755+ "command" : null
1756+ }
1757+ ],
1758+ "cgroups" : [],
1759+ "respawn" : 1,
1760+ "emits" : [],
1761+ "setgid" : null,
1762+ "debug" : 0,
1763+ "stop_on" : [
1764+ {
1765+ "type" : "EVENT_MATCH",
1766+ "name" : "stopping",
1767+ "value" : 0,
1768+ "env" : [
1769+ "dbus"
1770+ ]
1771+ }
1772+ ],
1773 "umask" : 18,
1774- "kill_signal" : 15,
1775+ "normalexit" : [],
1776+ "respawn_limit" : 10,
1777+ "task" : 0,
1778 "session" : 0,
1779 "path" : "/com/ubuntu/Upstart/jobs/avahi_2ddaemon",
1780- "process" : [
1781- {
1782- "command" : "opts=\"-D\"\n[ -e \"/etc/eucalyptus/avahi-daemon.conf\" ] && opts=\"${opts} -f /etc/eucalyptus/avahi-daemon.conf\"\nexec avahi-daemon ${opts}\n",
1783- "script" : 1
1784- },
1785- {
1786- "script" : 1,
1787- "command" : "/lib/init/apparmor-profile-load usr.sbin.avahi-daemon\n"
1788- },
1789- {
1790- "script" : 0,
1791- "command" : null
1792- },
1793- {
1794- "script" : 0,
1795- "command" : null
1796- },
1797- {
1798- "script" : 0,
1799- "command" : null
1800- },
1801- {
1802- "script" : 0,
1803- "command" : null
1804- }
1805- ],
1806- "version" : null,
1807- "setuid" : null,
1808- "expect" : "EXPECT_DAEMON",
1809- "respawn_interval" : 5,
1810- "emits" : [],
1811- "export" : [],
1812- "respawn_limit" : 10,
1813- "cgmanager_wait" : 0,
1814- "env" : [],
1815- "deleted" : 0,
1816- "instance" : "",
1817- "chdir" : null,
1818- "name" : "avahi-daemon",
1819- "setgid" : null,
1820- "jobs" : [
1821- {
1822- "goal" : "JOB_START",
1823- "fds" : [],
1824- "path" : "/com/ubuntu/Upstart/jobs/avahi_2ddaemon/_",
1825- "failed_process" : "PROCESS_INVALID",
1826- "stop_on" : [
1827- {
1828- "type" : "EVENT_MATCH",
1829- "name" : "stopping",
1830- "value" : 0,
1831- "env" : [
1832- "dbus"
1833- ]
1834- }
1835- ],
1836- "respawn_count" : 0,
1837- "exit_status" : 0,
1838- "trace_forks" : 2,
1839- "stop_env" : [],
1840- "respawn_time" : 0,
1841- "state" : "JOB_RUNNING",
1842- "kill_process" : "PROCESS_INVALID",
1843- "log" : [
1844- {
1845- "path" : null
1846- },
1847- {
1848- "path" : null
1849- },
1850- {
1851- "path" : null
1852- },
1853- {
1854- "path" : null
1855- },
1856- {
1857- "path" : null
1858- },
1859- {
1860- "path" : null
1861- }
1862- ],
1863- "start_env" : [],
1864- "env" : [
1865- "PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin",
1866- "TERM=linux",
1867- "JOB=dbus",
1868- "INSTANCE=",
1869- "UPSTART_EVENTS=filesystem started"
1870- ],
1871- "trace_state" : "TRACE_NONE",
1872- "name" : "",
1873- "failed" : 0,
1874- "pid" : [
1875- 685,
1876- 0,
1877- 0,
1878- 0,
1879- 0,
1880- 0
1881- ]
1882- }
1883- ],
1884- "console" : "CONSOLE_LOG",
1885- "debug" : 0,
1886- "author" : null,
1887- "kill_timeout" : 5,
1888- "task" : 0,
1889- "chroot" : null,
1890- "stop_on" : [
1891- {
1892- "value" : 0,
1893- "env" : [
1894- "dbus"
1895- ],
1896- "name" : "stopping",
1897- "type" : "EVENT_MATCH"
1898- }
1899- ],
1900- "normalexit" : [],
1901- "apparmor_switch" : null,
1902- "reload_signal" : 1
1903- },
1904- {
1905- "start_on" : [
1906- {
1907- "env" : [
1908- "MOUNTPOINT=/sys/fs/cgroup"
1909- ],
1910- "value" : 0,
1911- "type" : "EVENT_MATCH",
1912- "name" : "mounted"
1913- }
1914- ],
1915- "limits" : [
1916- {
1917- "rlim_cur" : 0,
1918- "rlim_max" : 0
1919- },
1920- {
1921- "rlim_max" : 0,
1922- "rlim_cur" : 0
1923- },
1924- {
1925- "rlim_max" : 0,
1926- "rlim_cur" : 0
1927- },
1928- {
1929- "rlim_cur" : 0,
1930- "rlim_max" : 0
1931- },
1932- {
1933- "rlim_cur" : 0,
1934- "rlim_max" : 0
1935- },
1936- {
1937- "rlim_max" : 0,
1938- "rlim_cur" : 0
1939- },
1940- {
1941- "rlim_cur" : 0,
1942- "rlim_max" : 0
1943- },
1944- {
1945- "rlim_cur" : 0,
1946- "rlim_max" : 0
1947- },
1948- {
1949- "rlim_cur" : 0,
1950- "rlim_max" : 0
1951- },
1952- {
1953- "rlim_max" : 0,
1954- "rlim_cur" : 0
1955- },
1956- {
1957- "rlim_cur" : 0,
1958- "rlim_max" : 0
1959- },
1960- {
1961- "rlim_cur" : 0,
1962- "rlim_max" : 0
1963- },
1964- {
1965- "rlim_cur" : 0,
1966- "rlim_max" : 0
1967- },
1968- {
1969- "rlim_cur" : 0,
1970- "rlim_max" : 0
1971- },
1972- {
1973- "rlim_cur" : 0,
1974- "rlim_max" : 0
1975- },
1976- {
1977- "rlim_cur" : 0,
1978- "rlim_max" : 0
1979- }
1980- ],
1981- "nice" : -21,
1982- "respawn" : 0,
1983- "usage" : null,
1984- "cgroups" : [],
1985- "description" : "mount available cgroup filesystems",
1986- "oom_score_adj" : 0,
1987- "umask" : 18,
1988- "kill_signal" : 15,
1989- "session" : 0,
1990- "path" : "/com/ubuntu/Upstart/jobs/cgroup_2dlite",
1991- "version" : null,
1992- "process" : [
1993- {
1994- "script" : 0,
1995- "command" : null
1996- },
1997- {
1998- "command" : "test -x /bin/cgroups-mount || { stop; exit 0; }\ntest -d /sys/fs/cgroup || { stop; exit 0; }\n/bin/cgroups-mount\n",
1999- "script" : 1
2000- },
2001- {
2002- "command" : null,
2003- "script" : 0
2004- },
2005- {
2006- "script" : 0,
2007- "command" : null
2008- },
2009- {
2010- "script" : 1,
2011- "command" : "if [ -x /bin/cgroups-umount ]\nthen\n\t/bin/cgroups-umount\nfi\n"
2012- },
2013- {
2014- "command" : null,
2015- "script" : 0
2016- }
2017- ],
2018- "setuid" : null,
2019- "expect" : "EXPECT_NONE",
2020- "respawn_interval" : 5,
2021- "emits" : [],
2022- "export" : [],
2023- "respawn_limit" : 10,
2024- "deleted" : 0,
2025- "cgmanager_wait" : 0,
2026- "env" : [],
2027- "instance" : "",
2028- "chdir" : null,
2029- "name" : "cgroup-lite",
2030- "jobs" : [],
2031- "setgid" : null,
2032- "debug" : 0,
2033- "author" : "Serge Hallyn <serge.hallyn@canonical.com>",
2034- "console" : "CONSOLE_LOG",
2035- "kill_timeout" : 5,
2036- "task" : 0,
2037- "chroot" : null,
2038- "normalexit" : [],
2039- "apparmor_switch" : null,
2040- "reload_signal" : 1
2041- },
2042- {
2043- "respawn_limit" : 10,
2044- "export" : [],
2045- "chdir" : null,
2046- "instance" : "",
2047- "deleted" : 0,
2048- "cgmanager_wait" : 0,
2049- "env" : [],
2050- "name" : "cgroup-sleep",
2051- "setgid" : null,
2052- "jobs" : [],
2053- "task" : 0,
2054- "kill_timeout" : 5,
2055- "console" : "CONSOLE_LOG",
2056- "debug" : 0,
2057- "author" : null,
2058- "apparmor_switch" : null,
2059- "normalexit" : [],
2060- "chroot" : null,
2061- "reload_signal" : 1,
2062- "respawn" : 0,
2063- "limits" : [
2064- {
2065- "rlim_max" : 0,
2066- "rlim_cur" : 0
2067- },
2068- {
2069- "rlim_max" : 0,
2070- "rlim_cur" : 0
2071- },
2072- {
2073- "rlim_cur" : 0,
2074- "rlim_max" : 0
2075- },
2076- {
2077- "rlim_max" : 0,
2078- "rlim_cur" : 0
2079- },
2080- {
2081- "rlim_cur" : 0,
2082- "rlim_max" : 0
2083- },
2084- {
2085- "rlim_cur" : 0,
2086- "rlim_max" : 0
2087- },
2088- {
2089- "rlim_cur" : 0,
2090- "rlim_max" : 0
2091- },
2092- {
2093- "rlim_max" : 0,
2094- "rlim_cur" : 0
2095- },
2096- {
2097- "rlim_max" : 0,
2098- "rlim_cur" : 0
2099- },
2100- {
2101- "rlim_max" : 0,
2102- "rlim_cur" : 0
2103- },
2104- {
2105- "rlim_max" : 0,
2106- "rlim_cur" : 0
2107- },
2108- {
2109- "rlim_max" : 0,
2110- "rlim_cur" : 0
2111- },
2112- {
2113- "rlim_max" : 0,
2114- "rlim_cur" : 0
2115- },
2116- {
2117- "rlim_max" : 0,
2118- "rlim_cur" : 0
2119- },
2120- {
2121- "rlim_max" : 0,
2122- "rlim_cur" : 0
2123- },
2124- {
2125- "rlim_cur" : 0,
2126- "rlim_max" : 0
2127- }
2128- ],
2129- "start_on" : [
2130- {
2131- "value" : 0,
2132- "type" : "EVENT_MATCH",
2133- "name" : "startup"
2134- }
2135- ],
2136- "nice" : -21,
2137- "usage" : null,
2138- "oom_score_adj" : 0,
2139- "description" : null,
2140- "cgroups" : [
2141- {
2142- "controller" : "memory",
2143- "names" : [
2144- {
2145- "name" : "james-mem1",
2146- "settings" : [],
2147- "expanded" : null
2148- }
2149- ]
2150- }
2151- ],
2152- "session" : 0,
2153- "kill_signal" : 15,
2154- "umask" : 18,
2155- "setuid" : null,
2156- "process" : [
2157- {
2158- "command" : "sleep 999",
2159- "script" : 0
2160- },
2161- {
2162- "command" : null,
2163- "script" : 0
2164- },
2165- {
2166- "script" : 0,
2167- "command" : null
2168- },
2169- {
2170- "command" : null,
2171- "script" : 0
2172- },
2173- {
2174- "script" : 0,
2175- "command" : null
2176- },
2177- {
2178- "script" : 0,
2179- "command" : null
2180- }
2181- ],
2182- "version" : null,
2183- "path" : "/com/ubuntu/Upstart/jobs/cgroup_2dsleep",
2184- "respawn_interval" : 5,
2185- "expect" : "EXPECT_NONE",
2186- "emits" : []
2187- },
2188- {
2189- "usage" : null,
2190- "nice" : -21,
2191- "start_on" : [
2192- {
2193- "value" : 0,
2194- "name" : "net-device-up",
2195- "type" : "EVENT_MATCH"
2196- }
2197- ],
2198- "limits" : [
2199- {
2200- "rlim_max" : 0,
2201- "rlim_cur" : 0
2202- },
2203- {
2204- "rlim_max" : 0,
2205- "rlim_cur" : 0
2206- },
2207- {
2208- "rlim_cur" : 0,
2209- "rlim_max" : 0
2210- },
2211- {
2212- "rlim_max" : 0,
2213- "rlim_cur" : 0
2214- },
2215- {
2216- "rlim_cur" : 0,
2217- "rlim_max" : 0
2218- },
2219- {
2220- "rlim_max" : 0,
2221- "rlim_cur" : 0
2222- },
2223- {
2224- "rlim_max" : 0,
2225- "rlim_cur" : 0
2226- },
2227- {
2228- "rlim_cur" : 0,
2229- "rlim_max" : 0
2230- },
2231- {
2232- "rlim_cur" : 0,
2233- "rlim_max" : 0
2234- },
2235- {
2236- "rlim_max" : 0,
2237- "rlim_cur" : 0
2238- },
2239- {
2240- "rlim_max" : 0,
2241- "rlim_cur" : 0
2242- },
2243- {
2244- "rlim_cur" : 0,
2245- "rlim_max" : 0
2246- },
2247- {
2248- "rlim_max" : 0,
2249- "rlim_cur" : 0
2250- },
2251- {
2252- "rlim_cur" : 0,
2253- "rlim_max" : 0
2254- },
2255- {
2256- "rlim_cur" : 0,
2257- "rlim_max" : 0
2258- },
2259- {
2260- "rlim_max" : 0,
2261- "rlim_cur" : 0
2262- }
2263- ],
2264- "respawn" : 0,
2265- "umask" : 18,
2266- "kill_signal" : 15,
2267- "session" : 0,
2268- "cgroups" : [],
2269- "description" : "Mount network filesystems",
2270- "oom_score_adj" : 0,
2271+ "oom_score_adj" : 0,
2272+ "kill_timeout" : 5
2273+ },
2274+ {
2275+ "session" : 0,
2276 "path" : "/com/ubuntu/Upstart/jobs/mountall_2dnet",
2277- "version" : null,
2278+ "oom_score_adj" : 0,
2279+ "kill_timeout" : 5,
2280+ "normalexit" : [],
2281+ "umask" : 18,
2282+ "respawn_limit" : 10,
2283+ "task" : 1,
2284+ "setgid" : null,
2285+ "debug" : 0,
2286 "process" : [
2287 {
2288- "script" : 1,
2289- "command" : "PID=$(status mountall 2>/dev/null | sed -e '/start\\/running,/{s/.*,[^0-9]*//;q};d')\n[ -n \"$PID\" ] && kill -USR1 $PID || true\n"
2290- },
2291- {
2292- "script" : 0,
2293- "command" : null
2294- },
2295- {
2296- "script" : 0,
2297- "command" : null
2298- },
2299- {
2300- "script" : 0,
2301- "command" : null
2302+ "command" : "PID=$(status mountall 2>/dev/null | sed -e '/start\\/running,/{s/.*,[^0-9]*//;q};d')\n[ -n \"$PID\" ] && kill -USR1 $PID || true\n",
2303+ "script" : 1
2304+ },
2305+ {
2306+ "command" : null,
2307+ "script" : 0
2308+ },
2309+ {
2310+ "script" : 0,
2311+ "command" : null
2312+ },
2313+ {
2314+ "command" : null,
2315+ "script" : 0
2316 },
2317 {
2318 "command" : null,
2319@@ -753,225 +1542,190 @@
2320 "command" : null
2321 }
2322 ],
2323- "setuid" : null,
2324+ "cgroups" : [],
2325+ "respawn" : 0,
2326 "emits" : [],
2327+ "env" : [],
2328+ "chroot" : null,
2329 "expect" : "EXPECT_NONE",
2330+ "limits" : [
2331+ {
2332+ "rlim_cur" : 0,
2333+ "rlim_max" : 0
2334+ },
2335+ {
2336+ "rlim_max" : 0,
2337+ "rlim_cur" : 0
2338+ },
2339+ {
2340+ "rlim_cur" : 0,
2341+ "rlim_max" : 0
2342+ },
2343+ {
2344+ "rlim_cur" : 0,
2345+ "rlim_max" : 0
2346+ },
2347+ {
2348+ "rlim_max" : 0,
2349+ "rlim_cur" : 0
2350+ },
2351+ {
2352+ "rlim_cur" : 0,
2353+ "rlim_max" : 0
2354+ },
2355+ {
2356+ "rlim_max" : 0,
2357+ "rlim_cur" : 0
2358+ },
2359+ {
2360+ "rlim_max" : 0,
2361+ "rlim_cur" : 0
2362+ },
2363+ {
2364+ "rlim_max" : 0,
2365+ "rlim_cur" : 0
2366+ },
2367+ {
2368+ "rlim_max" : 0,
2369+ "rlim_cur" : 0
2370+ },
2371+ {
2372+ "rlim_cur" : 0,
2373+ "rlim_max" : 0
2374+ },
2375+ {
2376+ "rlim_cur" : 0,
2377+ "rlim_max" : 0
2378+ },
2379+ {
2380+ "rlim_cur" : 0,
2381+ "rlim_max" : 0
2382+ },
2383+ {
2384+ "rlim_cur" : 0,
2385+ "rlim_max" : 0
2386+ },
2387+ {
2388+ "rlim_cur" : 0,
2389+ "rlim_max" : 0
2390+ },
2391+ {
2392+ "rlim_cur" : 0,
2393+ "rlim_max" : 0
2394+ }
2395+ ],
2396+ "chdir" : null,
2397+ "start_on" : [
2398+ {
2399+ "name" : "net-device-up",
2400+ "value" : 0,
2401+ "type" : "EVENT_MATCH"
2402+ }
2403+ ],
2404+ "export" : [],
2405+ "setuid" : null,
2406+ "reload_signal" : 1,
2407+ "apparmor_switch" : null,
2408+ "instance" : "",
2409+ "console" : "CONSOLE_LOG",
2410 "respawn_interval" : 5,
2411- "export" : [],
2412- "respawn_limit" : 10,
2413+ "jobs" : [],
2414+ "cgmanager_wait" : 0,
2415+ "usage" : null,
2416 "name" : "mountall-net",
2417 "deleted" : 0,
2418- "cgmanager_wait" : 0,
2419- "env" : [],
2420- "instance" : "",
2421- "chdir" : null,
2422- "debug" : 0,
2423- "console" : "CONSOLE_LOG",
2424- "author" : null,
2425- "kill_timeout" : 5,
2426- "task" : 1,
2427- "setgid" : null,
2428- "jobs" : [],
2429- "reload_signal" : 1,
2430- "chroot" : null,
2431- "normalexit" : [],
2432- "apparmor_switch" : null
2433+ "kill_signal" : 15,
2434+ "nice" : -21,
2435+ "version" : null,
2436+ "description" : "Mount network filesystems",
2437+ "author" : null
2438 },
2439 {
2440+ "nice" : -21,
2441+ "version" : null,
2442+ "description" : null,
2443+ "author" : null,
2444 "usage" : null,
2445- "respawn" : 0,
2446- "nice" : -21,
2447- "start_on" : [
2448- {
2449- "name" : "virtual-filesystems",
2450- "type" : "EVENT_MATCH",
2451- "value" : 0
2452- }
2453- ],
2454- "limits" : [
2455- {
2456- "rlim_cur" : 0,
2457- "rlim_max" : 0
2458- },
2459- {
2460- "rlim_cur" : 0,
2461- "rlim_max" : 0
2462- },
2463- {
2464- "rlim_max" : 0,
2465- "rlim_cur" : 0
2466- },
2467- {
2468- "rlim_max" : 0,
2469- "rlim_cur" : 0
2470- },
2471- {
2472- "rlim_cur" : 0,
2473- "rlim_max" : 0
2474- },
2475- {
2476- "rlim_cur" : 0,
2477- "rlim_max" : 0
2478- },
2479- {
2480- "rlim_max" : 0,
2481- "rlim_cur" : 0
2482- },
2483- {
2484- "rlim_max" : 0,
2485- "rlim_cur" : 0
2486- },
2487- {
2488- "rlim_max" : 0,
2489- "rlim_cur" : 0
2490- },
2491- {
2492- "rlim_cur" : 0,
2493- "rlim_max" : 0
2494- },
2495- {
2496- "rlim_cur" : 0,
2497- "rlim_max" : 0
2498- },
2499- {
2500- "rlim_max" : 0,
2501- "rlim_cur" : 0
2502- },
2503- {
2504- "rlim_cur" : 0,
2505- "rlim_max" : 0
2506- },
2507- {
2508- "rlim_cur" : 0,
2509- "rlim_max" : 0
2510- },
2511- {
2512- "rlim_cur" : 0,
2513- "rlim_max" : 0
2514- },
2515- {
2516- "rlim_cur" : 0,
2517- "rlim_max" : 0
2518- }
2519- ],
2520- "session" : 0,
2521- "kill_signal" : 15,
2522- "umask" : 18,
2523- "description" : null,
2524- "oom_score_adj" : 0,
2525- "cgroups" : [],
2526- "setuid" : null,
2527- "process" : [
2528- {
2529- "command" : null,
2530- "script" : 0
2531- },
2532- {
2533- "command" : null,
2534- "script" : 0
2535- },
2536- {
2537- "command" : null,
2538- "script" : 0
2539- },
2540- {
2541- "script" : 0,
2542- "command" : null
2543- },
2544- {
2545- "script" : 0,
2546- "command" : null
2547- },
2548- {
2549- "command" : null,
2550- "script" : 0
2551- }
2552- ],
2553- "version" : null,
2554- "path" : "/com/ubuntu/Upstart/jobs/mountnfs_2dbootclean_2esh",
2555- "emits" : [],
2556- "respawn_interval" : 5,
2557- "expect" : "EXPECT_NONE",
2558- "respawn_limit" : 10,
2559- "export" : [],
2560+ "cgmanager_wait" : 0,
2561 "name" : "mountnfs-bootclean.sh",
2562- "chdir" : null,
2563- "instance" : "",
2564 "deleted" : 0,
2565- "cgmanager_wait" : 0,
2566- "env" : [],
2567- "task" : 0,
2568- "kill_timeout" : 5,
2569- "debug" : 0,
2570- "console" : "CONSOLE_LOG",
2571- "author" : null,
2572- "setgid" : null,
2573+ "kill_signal" : 15,
2574 "jobs" : [
2575 {
2576+ "exit_status" : 0,
2577+ "fds" : [],
2578+ "process_data" : [
2579+ null,
2580+ null,
2581+ null,
2582+ null,
2583+ null,
2584+ null
2585+ ],
2586+ "respawn_count" : 0,
2587+ "kill_process" : "PROCESS_INVALID",
2588+ "log" : [
2589+ {
2590+ "path" : null
2591+ },
2592+ {
2593+ "path" : null
2594+ },
2595+ {
2596+ "path" : null
2597+ },
2598+ {
2599+ "path" : null
2600+ },
2601+ {
2602+ "path" : null
2603+ },
2604+ {
2605+ "path" : null
2606+ }
2607+ ],
2608+ "failed" : 0,
2609+ "failed_process" : "PROCESS_INVALID",
2610+ "name" : "",
2611+ "trace_state" : "TRACE_NONE",
2612+ "goal" : "JOB_START",
2613+ "respawn_time" : 0,
2614 "state" : "JOB_RUNNING",
2615- "respawn_time" : 0,
2616+ "stop_env" : [],
2617 "trace_forks" : 0,
2618- "stop_env" : [],
2619- "trace_state" : "TRACE_NONE",
2620- "name" : "",
2621- "pid" : [
2622- 0,
2623- 0,
2624- 0,
2625- 0,
2626- 0,
2627- 0
2628- ],
2629- "failed" : 0,
2630- "log" : [
2631- {
2632- "path" : null
2633- },
2634- {
2635- "path" : null
2636- },
2637- {
2638- "path" : null
2639- },
2640- {
2641- "path" : null
2642- },
2643- {
2644- "path" : null
2645- },
2646- {
2647- "path" : null
2648- }
2649- ],
2650- "kill_process" : "PROCESS_INVALID",
2651- "env" : [
2652- "PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin",
2653- "TERM=linux",
2654- "UPSTART_EVENTS=virtual-filesystems"
2655- ],
2656- "start_env" : [],
2657 "path" : "/com/ubuntu/Upstart/jobs/mountnfs_2dbootclean_2esh/_",
2658- "fds" : [],
2659- "goal" : "JOB_START",
2660- "exit_status" : 0,
2661- "failed_process" : "PROCESS_INVALID",
2662- "respawn_count" : 0
2663+ "start_env" : [],
2664+ "env" : [
2665+ "PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin",
2666+ "TERM=linux",
2667+ "UPSTART_EVENTS=virtual-filesystems"
2668+ ],
2669+ "pid" : [
2670+ 0,
2671+ 0,
2672+ 0,
2673+ 0,
2674+ 0,
2675+ 0
2676+ ]
2677 }
2678 ],
2679+ "respawn_interval" : 5,
2680+ "setuid" : null,
2681 "reload_signal" : 1,
2682- "normalexit" : [],
2683 "apparmor_switch" : null,
2684- "chroot" : null
2685- },
2686- {
2687- "nice" : -21,
2688+ "console" : "CONSOLE_LOG",
2689+ "instance" : "",
2690+ "chdir" : null,
2691 "start_on" : [
2692 {
2693 "value" : 0,
2694- "type" : "EVENT_MATCH",
2695- "name" : "filesystem"
2696+ "name" : "virtual-filesystems",
2697+ "type" : "EVENT_MATCH"
2698 }
2699 ],
2700+ "export" : [],
2701+ "expect" : "EXPECT_NONE",
2702 "limits" : [
2703 {
2704 "rlim_cur" : 0,
2705@@ -982,71 +1736,201 @@
2706 "rlim_max" : 0
2707 },
2708 {
2709- "rlim_cur" : 0,
2710- "rlim_max" : 0
2711- },
2712- {
2713- "rlim_max" : 0,
2714- "rlim_cur" : 0
2715- },
2716- {
2717- "rlim_max" : 0,
2718- "rlim_cur" : 0
2719- },
2720- {
2721- "rlim_max" : 0,
2722- "rlim_cur" : 0
2723- },
2724- {
2725- "rlim_cur" : 0,
2726- "rlim_max" : 0
2727- },
2728- {
2729- "rlim_max" : 0,
2730- "rlim_cur" : 0
2731- },
2732- {
2733- "rlim_cur" : 0,
2734- "rlim_max" : 0
2735- },
2736- {
2737- "rlim_max" : 0,
2738- "rlim_cur" : 0
2739- },
2740- {
2741- "rlim_cur" : 0,
2742- "rlim_max" : 0
2743- },
2744- {
2745- "rlim_cur" : 0,
2746- "rlim_max" : 0
2747- },
2748- {
2749- "rlim_max" : 0,
2750- "rlim_cur" : 0
2751- },
2752- {
2753- "rlim_cur" : 0,
2754- "rlim_max" : 0
2755- },
2756- {
2757- "rlim_cur" : 0,
2758- "rlim_max" : 0
2759- },
2760- {
2761- "rlim_max" : 0,
2762- "rlim_cur" : 0
2763- }
2764- ],
2765+ "rlim_max" : 0,
2766+ "rlim_cur" : 0
2767+ },
2768+ {
2769+ "rlim_cur" : 0,
2770+ "rlim_max" : 0
2771+ },
2772+ {
2773+ "rlim_cur" : 0,
2774+ "rlim_max" : 0
2775+ },
2776+ {
2777+ "rlim_max" : 0,
2778+ "rlim_cur" : 0
2779+ },
2780+ {
2781+ "rlim_cur" : 0,
2782+ "rlim_max" : 0
2783+ },
2784+ {
2785+ "rlim_max" : 0,
2786+ "rlim_cur" : 0
2787+ },
2788+ {
2789+ "rlim_cur" : 0,
2790+ "rlim_max" : 0
2791+ },
2792+ {
2793+ "rlim_max" : 0,
2794+ "rlim_cur" : 0
2795+ },
2796+ {
2797+ "rlim_max" : 0,
2798+ "rlim_cur" : 0
2799+ },
2800+ {
2801+ "rlim_max" : 0,
2802+ "rlim_cur" : 0
2803+ },
2804+ {
2805+ "rlim_max" : 0,
2806+ "rlim_cur" : 0
2807+ },
2808+ {
2809+ "rlim_max" : 0,
2810+ "rlim_cur" : 0
2811+ },
2812+ {
2813+ "rlim_max" : 0,
2814+ "rlim_cur" : 0
2815+ },
2816+ {
2817+ "rlim_cur" : 0,
2818+ "rlim_max" : 0
2819+ }
2820+ ],
2821+ "env" : [],
2822+ "chroot" : null,
2823+ "emits" : [],
2824+ "process" : [
2825+ {
2826+ "script" : 0,
2827+ "command" : null
2828+ },
2829+ {
2830+ "script" : 0,
2831+ "command" : null
2832+ },
2833+ {
2834+ "command" : null,
2835+ "script" : 0
2836+ },
2837+ {
2838+ "command" : null,
2839+ "script" : 0
2840+ },
2841+ {
2842+ "script" : 0,
2843+ "command" : null
2844+ },
2845+ {
2846+ "script" : 0,
2847+ "command" : null
2848+ }
2849+ ],
2850+ "cgroups" : [],
2851 "respawn" : 0,
2852+ "debug" : 0,
2853+ "setgid" : null,
2854+ "task" : 0,
2855+ "umask" : 18,
2856+ "normalexit" : [],
2857+ "respawn_limit" : 10,
2858+ "kill_timeout" : 5,
2859+ "session" : 0,
2860+ "path" : "/com/ubuntu/Upstart/jobs/mountnfs_2dbootclean_2esh",
2861+ "oom_score_adj" : 0
2862+ },
2863+ {
2864+ "deleted" : 0,
2865+ "kill_signal" : 15,
2866+ "name" : "passwd",
2867 "usage" : null,
2868- "oom_score_adj" : 0,
2869+ "cgmanager_wait" : 0,
2870+ "author" : null,
2871 "description" : "Clear passwd locks",
2872+ "version" : null,
2873+ "nice" : -21,
2874+ "respawn_interval" : 5,
2875+ "jobs" : [],
2876+ "export" : [],
2877+ "start_on" : [
2878+ {
2879+ "value" : 0,
2880+ "name" : "filesystem",
2881+ "type" : "EVENT_MATCH"
2882+ }
2883+ ],
2884+ "chdir" : null,
2885+ "apparmor_switch" : null,
2886+ "instance" : "",
2887+ "console" : "CONSOLE_LOG",
2888+ "reload_signal" : 1,
2889+ "setuid" : null,
2890+ "chroot" : null,
2891+ "env" : [],
2892+ "limits" : [
2893+ {
2894+ "rlim_max" : 0,
2895+ "rlim_cur" : 0
2896+ },
2897+ {
2898+ "rlim_cur" : 0,
2899+ "rlim_max" : 0
2900+ },
2901+ {
2902+ "rlim_cur" : 0,
2903+ "rlim_max" : 0
2904+ },
2905+ {
2906+ "rlim_cur" : 0,
2907+ "rlim_max" : 0
2908+ },
2909+ {
2910+ "rlim_max" : 0,
2911+ "rlim_cur" : 0
2912+ },
2913+ {
2914+ "rlim_max" : 0,
2915+ "rlim_cur" : 0
2916+ },
2917+ {
2918+ "rlim_cur" : 0,
2919+ "rlim_max" : 0
2920+ },
2921+ {
2922+ "rlim_cur" : 0,
2923+ "rlim_max" : 0
2924+ },
2925+ {
2926+ "rlim_cur" : 0,
2927+ "rlim_max" : 0
2928+ },
2929+ {
2930+ "rlim_max" : 0,
2931+ "rlim_cur" : 0
2932+ },
2933+ {
2934+ "rlim_max" : 0,
2935+ "rlim_cur" : 0
2936+ },
2937+ {
2938+ "rlim_max" : 0,
2939+ "rlim_cur" : 0
2940+ },
2941+ {
2942+ "rlim_max" : 0,
2943+ "rlim_cur" : 0
2944+ },
2945+ {
2946+ "rlim_cur" : 0,
2947+ "rlim_max" : 0
2948+ },
2949+ {
2950+ "rlim_cur" : 0,
2951+ "rlim_max" : 0
2952+ },
2953+ {
2954+ "rlim_cur" : 0,
2955+ "rlim_max" : 0
2956+ }
2957+ ],
2958+ "expect" : "EXPECT_NONE",
2959 "cgroups" : [],
2960- "kill_signal" : 15,
2961- "session" : 0,
2962- "umask" : 18,
2963- "version" : null,
2964+ "respawn" : 0,
2965 "process" : [
2966 {
2967 "command" : "rm -f /etc/gshadow.lock /etc/shadow.lock /etc/passwd.lock /etc/group.lock",
2968@@ -1073,244 +1957,222 @@
2969 "command" : null
2970 }
2971 ],
2972- "setuid" : null,
2973+ "emits" : [],
2974+ "setgid" : null,
2975+ "debug" : 0,
2976+ "umask" : 18,
2977+ "normalexit" : [],
2978+ "respawn_limit" : 10,
2979+ "task" : 1,
2980+ "oom_score_adj" : 0,
2981 "path" : "/com/ubuntu/Upstart/jobs/passwd",
2982- "respawn_interval" : 5,
2983- "expect" : "EXPECT_NONE",
2984- "emits" : [],
2985- "respawn_limit" : 10,
2986- "export" : [],
2987- "instance" : "",
2988- "chdir" : null,
2989- "cgmanager_wait" : 0,
2990- "deleted" : 0,
2991- "env" : [],
2992- "name" : "passwd",
2993- "setgid" : null,
2994- "jobs" : [],
2995- "task" : 1,
2996- "debug" : 0,
2997- "console" : "CONSOLE_LOG",
2998- "author" : null,
2999- "kill_timeout" : 5,
3000- "apparmor_switch" : null,
3001- "normalexit" : [],
3002- "chroot" : null,
3003- "reload_signal" : 1
3004+ "session" : 0,
3005+ "kill_timeout" : 5
3006 },
3007 {
3008- "version" : null,
3009- "process" : [
3010- {
3011- "command" : "if [ \"$RUNLEVEL\" = \"0\" -o \"$RUNLEVEL\" = \"1\" -o \"$RUNLEVEL\" = \"6\" ]; then\n status plymouth-shutdown 2>/dev/null >/dev/null && start wait-for-state WAITER=rc WAIT_FOR=plymouth-shutdown || :\nfi\n/etc/init.d/rc $RUNLEVEL\n",
3012- "script" : 1
3013- },
3014- {
3015- "script" : 0,
3016- "command" : null
3017- },
3018- {
3019- "command" : null,
3020- "script" : 0
3021- },
3022- {
3023- "script" : 0,
3024- "command" : null
3025- },
3026- {
3027- "command" : null,
3028- "script" : 0
3029- },
3030- {
3031- "command" : null,
3032- "script" : 0
3033+ "expect" : "EXPECT_NONE",
3034+ "limits" : [
3035+ {
3036+ "rlim_cur" : 0,
3037+ "rlim_max" : 0
3038+ },
3039+ {
3040+ "rlim_cur" : 0,
3041+ "rlim_max" : 0
3042+ },
3043+ {
3044+ "rlim_cur" : 0,
3045+ "rlim_max" : 0
3046+ },
3047+ {
3048+ "rlim_cur" : 0,
3049+ "rlim_max" : 0
3050+ },
3051+ {
3052+ "rlim_max" : 0,
3053+ "rlim_cur" : 0
3054+ },
3055+ {
3056+ "rlim_cur" : 0,
3057+ "rlim_max" : 0
3058+ },
3059+ {
3060+ "rlim_max" : 0,
3061+ "rlim_cur" : 0
3062+ },
3063+ {
3064+ "rlim_cur" : 0,
3065+ "rlim_max" : 0
3066+ },
3067+ {
3068+ "rlim_cur" : 0,
3069+ "rlim_max" : 0
3070+ },
3071+ {
3072+ "rlim_max" : 0,
3073+ "rlim_cur" : 0
3074+ },
3075+ {
3076+ "rlim_cur" : 0,
3077+ "rlim_max" : 0
3078+ },
3079+ {
3080+ "rlim_max" : 0,
3081+ "rlim_cur" : 0
3082+ },
3083+ {
3084+ "rlim_cur" : 0,
3085+ "rlim_max" : 0
3086+ },
3087+ {
3088+ "rlim_max" : 0,
3089+ "rlim_cur" : 0
3090+ },
3091+ {
3092+ "rlim_max" : 0,
3093+ "rlim_cur" : 0
3094+ },
3095+ {
3096+ "rlim_max" : 0,
3097+ "rlim_cur" : 0
3098 }
3099 ],
3100+ "env" : [
3101+ "INIT_VERBOSE"
3102+ ],
3103+ "chroot" : null,
3104 "setuid" : null,
3105- "path" : "/com/ubuntu/Upstart/jobs/rc",
3106- "emits" : [
3107- "deconfiguring-networking",
3108- "unmounted-remote-filesystems"
3109- ],
3110- "respawn_interval" : 5,
3111- "expect" : "EXPECT_NONE",
3112- "usage" : null,
3113- "nice" : -21,
3114+ "reload_signal" : 1,
3115+ "console" : "CONSOLE_OUTPUT",
3116+ "apparmor_switch" : null,
3117+ "instance" : "",
3118+ "chdir" : null,
3119 "start_on" : [
3120 {
3121 "name" : "runlevel",
3122- "type" : "EVENT_MATCH",
3123 "value" : 0,
3124 "env" : [
3125 "[0123456]"
3126- ]
3127- }
3128- ],
3129- "limits" : [
3130- {
3131- "rlim_cur" : 0,
3132- "rlim_max" : 0
3133- },
3134- {
3135- "rlim_cur" : 0,
3136- "rlim_max" : 0
3137- },
3138- {
3139- "rlim_cur" : 0,
3140- "rlim_max" : 0
3141- },
3142- {
3143- "rlim_cur" : 0,
3144- "rlim_max" : 0
3145- },
3146- {
3147- "rlim_max" : 0,
3148- "rlim_cur" : 0
3149- },
3150- {
3151- "rlim_max" : 0,
3152- "rlim_cur" : 0
3153- },
3154- {
3155- "rlim_max" : 0,
3156- "rlim_cur" : 0
3157- },
3158- {
3159- "rlim_cur" : 0,
3160- "rlim_max" : 0
3161- },
3162- {
3163- "rlim_cur" : 0,
3164- "rlim_max" : 0
3165- },
3166- {
3167- "rlim_max" : 0,
3168- "rlim_cur" : 0
3169- },
3170- {
3171- "rlim_max" : 0,
3172- "rlim_cur" : 0
3173- },
3174- {
3175- "rlim_max" : 0,
3176- "rlim_cur" : 0
3177- },
3178- {
3179- "rlim_cur" : 0,
3180- "rlim_max" : 0
3181- },
3182- {
3183- "rlim_cur" : 0,
3184- "rlim_max" : 0
3185- },
3186- {
3187- "rlim_cur" : 0,
3188- "rlim_max" : 0
3189- },
3190- {
3191- "rlim_cur" : 0,
3192- "rlim_max" : 0
3193- }
3194- ],
3195- "respawn" : 0,
3196- "kill_signal" : 15,
3197- "session" : 0,
3198- "umask" : 18,
3199- "description" : "System V runlevel compatibility",
3200- "oom_score_adj" : 0,
3201- "cgroups" : [],
3202- "task" : 1,
3203- "author" : "Scott James Remnant <scott@netsplit.com>",
3204- "debug" : 0,
3205- "console" : "CONSOLE_OUTPUT",
3206- "kill_timeout" : 5,
3207- "setgid" : null,
3208- "jobs" : [],
3209- "reload_signal" : 1,
3210- "normalexit" : [],
3211- "apparmor_switch" : null,
3212- "chroot" : null,
3213- "stop_on" : [
3214- {
3215- "type" : "EVENT_MATCH",
3216- "name" : "runlevel",
3217- "env" : [
3218- "[!$RUNLEVEL]"
3219 ],
3220- "value" : 0
3221+ "type" : "EVENT_MATCH"
3222 }
3223 ],
3224- "respawn_limit" : 10,
3225 "export" : [
3226 "RUNLEVEL",
3227 "PREVLEVEL"
3228 ],
3229+ "jobs" : [],
3230+ "respawn_interval" : 5,
3231+ "nice" : -21,
3232+ "version" : null,
3233+ "description" : "System V runlevel compatibility",
3234+ "author" : "Scott James Remnant <scott@netsplit.com>",
3235+ "cgmanager_wait" : 0,
3236+ "usage" : null,
3237 "name" : "rc",
3238- "instance" : "",
3239- "chdir" : null,
3240- "cgmanager_wait" : 0,
3241- "deleted" : 0,
3242- "env" : [
3243- "INIT_VERBOSE"
3244- ]
3245- },
3246- {
3247- "cgmanager_wait" : 0,
3248- "env" : [],
3249- "deleted" : 0,
3250- "chdir" : null,
3251- "instance" : "",
3252- "name" : "rsyslog",
3253- "export" : [],
3254+ "kill_signal" : 15,
3255+ "deleted" : 0,
3256+ "kill_timeout" : 5,
3257+ "session" : 0,
3258+ "path" : "/com/ubuntu/Upstart/jobs/rc",
3259+ "oom_score_adj" : 0,
3260+ "task" : 1,
3261+ "umask" : 18,
3262+ "normalexit" : [],
3263 "respawn_limit" : 10,
3264+ "debug" : 0,
3265 "stop_on" : [
3266 {
3267- "name" : "runlevel",
3268 "type" : "EVENT_MATCH",
3269 "value" : 0,
3270+ "name" : "runlevel",
3271 "env" : [
3272- "[06]"
3273+ "[!$RUNLEVEL]"
3274 ]
3275 }
3276 ],
3277- "chroot" : null,
3278- "normalexit" : [],
3279- "apparmor_switch" : null,
3280- "reload_signal" : 1,
3281+ "setgid" : null,
3282+ "emits" : [
3283+ "deconfiguring-networking",
3284+ "unmounted-remote-filesystems"
3285+ ],
3286+ "process" : [
3287+ {
3288+ "command" : "if [ \"$RUNLEVEL\" = \"0\" -o \"$RUNLEVEL\" = \"1\" -o \"$RUNLEVEL\" = \"6\" ]; then\n status plymouth-shutdown 2>/dev/null >/dev/null && start wait-for-state WAITER=rc WAIT_FOR=plymouth-shutdown || :\nfi\n/etc/init.d/rc $RUNLEVEL\n",
3289+ "script" : 1
3290+ },
3291+ {
3292+ "command" : null,
3293+ "script" : 0
3294+ },
3295+ {
3296+ "command" : null,
3297+ "script" : 0
3298+ },
3299+ {
3300+ "script" : 0,
3301+ "command" : null
3302+ },
3303+ {
3304+ "script" : 0,
3305+ "command" : null
3306+ },
3307+ {
3308+ "script" : 0,
3309+ "command" : null
3310+ }
3311+ ],
3312+ "cgroups" : [],
3313+ "respawn" : 0
3314+ },
3315+ {
3316 "jobs" : [
3317 {
3318+ "trace_forks" : 1,
3319+ "state" : "JOB_RUNNING",
3320+ "stop_env" : [],
3321+ "start_env" : [],
3322+ "env" : [
3323+ "PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin",
3324+ "TERM=linux",
3325+ "UPSTART_EVENTS=filesystem"
3326+ ],
3327+ "pid" : [
3328+ 750,
3329+ 0,
3330+ 0,
3331+ 0,
3332+ 0,
3333+ 0
3334+ ],
3335 "path" : "/com/ubuntu/Upstart/jobs/rsyslog/_",
3336- "fds" : [],
3337+ "respawn_time" : 0,
3338+ "trace_state" : "TRACE_NONE",
3339 "goal" : "JOB_START",
3340- "exit_status" : 0,
3341- "failed_process" : "PROCESS_INVALID",
3342 "stop_on" : [
3343 {
3344- "value" : 0,
3345 "env" : [
3346 "[06]"
3347 ],
3348+ "value" : 0,
3349 "name" : "runlevel",
3350 "type" : "EVENT_MATCH"
3351 }
3352 ],
3353+ "kill_process" : "PROCESS_INVALID",
3354 "respawn_count" : 0,
3355- "state" : "JOB_RUNNING",
3356- "respawn_time" : 0,
3357- "trace_forks" : 1,
3358- "stop_env" : [],
3359- "trace_state" : "TRACE_NONE",
3360+ "fds" : [],
3361+ "exit_status" : 0,
3362+ "process_data" : [
3363+ null,
3364+ null,
3365+ null,
3366+ null,
3367+ null,
3368+ null
3369+ ],
3370+ "failed_process" : "PROCESS_INVALID",
3371 "name" : "",
3372- "pid" : [
3373- 648,
3374- 0,
3375- 0,
3376- 0,
3377- 0,
3378- 0
3379- ],
3380- "failed" : 0,
3381- "kill_process" : "PROCESS_INVALID",
3382 "log" : [
3383 {
3384 "path" : null
3385@@ -1331,899 +2193,818 @@
3386 "path" : null
3387 }
3388 ],
3389- "env" : [
3390- "PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin",
3391- "TERM=linux",
3392- "UPSTART_EVENTS=filesystem"
3393- ],
3394- "start_env" : []
3395+ "failed" : 0
3396 }
3397 ],
3398- "setgid" : null,
3399- "kill_timeout" : 5,
3400- "debug" : 0,
3401- "console" : "CONSOLE_LOG",
3402- "author" : null,
3403- "task" : 0,
3404- "cgroups" : [],
3405+ "respawn_interval" : 5,
3406+ "nice" : -21,
3407+ "version" : null,
3408 "description" : "system logging daemon",
3409- "oom_score_adj" : 0,
3410- "umask" : 18,
3411- "session" : 0,
3412+ "author" : null,
3413+ "cgmanager_wait" : 0,
3414+ "usage" : null,
3415+ "name" : "rsyslog",
3416 "kill_signal" : 15,
3417- "respawn" : 1,
3418+ "deleted" : 0,
3419+ "expect" : "EXPECT_FORK",
3420 "limits" : [
3421 {
3422 "rlim_max" : 0,
3423 "rlim_cur" : 0
3424 },
3425 {
3426- "rlim_max" : 0,
3427- "rlim_cur" : 0
3428- },
3429- {
3430- "rlim_cur" : 0,
3431- "rlim_max" : 0
3432- },
3433- {
3434- "rlim_max" : 0,
3435- "rlim_cur" : 0
3436- },
3437- {
3438- "rlim_max" : 0,
3439- "rlim_cur" : 0
3440- },
3441- {
3442- "rlim_cur" : 0,
3443- "rlim_max" : 0
3444- },
3445- {
3446- "rlim_cur" : 0,
3447- "rlim_max" : 0
3448- },
3449- {
3450- "rlim_cur" : 0,
3451- "rlim_max" : 0
3452- },
3453- {
3454- "rlim_cur" : 0,
3455- "rlim_max" : 0
3456- },
3457- {
3458- "rlim_cur" : 0,
3459- "rlim_max" : 0
3460- },
3461- {
3462- "rlim_cur" : 0,
3463- "rlim_max" : 0
3464- },
3465- {
3466- "rlim_max" : 0,
3467- "rlim_cur" : 0
3468- },
3469- {
3470- "rlim_cur" : 0,
3471- "rlim_max" : 0
3472- },
3473- {
3474- "rlim_max" : 0,
3475- "rlim_cur" : 0
3476- },
3477- {
3478- "rlim_cur" : 0,
3479- "rlim_max" : 0
3480- },
3481- {
3482- "rlim_max" : 0,
3483- "rlim_cur" : 0
3484+ "rlim_cur" : 0,
3485+ "rlim_max" : 0
3486+ },
3487+ {
3488+ "rlim_max" : 0,
3489+ "rlim_cur" : 0
3490+ },
3491+ {
3492+ "rlim_cur" : 0,
3493+ "rlim_max" : 0
3494+ },
3495+ {
3496+ "rlim_cur" : 0,
3497+ "rlim_max" : 0
3498+ },
3499+ {
3500+ "rlim_cur" : 0,
3501+ "rlim_max" : 0
3502+ },
3503+ {
3504+ "rlim_cur" : 0,
3505+ "rlim_max" : 0
3506+ },
3507+ {
3508+ "rlim_max" : 0,
3509+ "rlim_cur" : 0
3510+ },
3511+ {
3512+ "rlim_cur" : 0,
3513+ "rlim_max" : 0
3514+ },
3515+ {
3516+ "rlim_cur" : 0,
3517+ "rlim_max" : 0
3518+ },
3519+ {
3520+ "rlim_max" : 0,
3521+ "rlim_cur" : 0
3522+ },
3523+ {
3524+ "rlim_cur" : 0,
3525+ "rlim_max" : 0
3526+ },
3527+ {
3528+ "rlim_max" : 0,
3529+ "rlim_cur" : 0
3530+ },
3531+ {
3532+ "rlim_max" : 0,
3533+ "rlim_cur" : 0
3534+ },
3535+ {
3536+ "rlim_cur" : 0,
3537+ "rlim_max" : 0
3538+ },
3539+ {
3540+ "rlim_cur" : 0,
3541+ "rlim_max" : 0
3542 }
3543 ],
3544+ "env" : [],
3545+ "chroot" : null,
3546+ "setuid" : null,
3547+ "reload_signal" : 1,
3548+ "apparmor_switch" : null,
3549+ "console" : "CONSOLE_LOG",
3550+ "instance" : "",
3551+ "chdir" : null,
3552 "start_on" : [
3553 {
3554+ "type" : "EVENT_MATCH",
3555+ "name" : "filesystem",
3556+ "value" : 0
3557+ }
3558+ ],
3559+ "export" : [],
3560+ "debug" : 0,
3561+ "stop_on" : [
3562+ {
3563+ "name" : "runlevel",
3564 "value" : 0,
3565- "type" : "EVENT_MATCH",
3566- "name" : "filesystem"
3567+ "env" : [
3568+ "[06]"
3569+ ],
3570+ "type" : "EVENT_MATCH"
3571 }
3572 ],
3573- "nice" : -21,
3574- "usage" : null,
3575- "expect" : "EXPECT_FORK",
3576- "respawn_interval" : 5,
3577+ "setgid" : null,
3578 "emits" : [],
3579+ "process" : [
3580+ {
3581+ "command" : ". /etc/default/rsyslog\nexec rsyslogd $RSYSLOGD_OPTIONS\n",
3582+ "script" : 1
3583+ },
3584+ {
3585+ "command" : "/lib/init/apparmor-profile-load usr.sbin.rsyslogd\n",
3586+ "script" : 1
3587+ },
3588+ {
3589+ "command" : null,
3590+ "script" : 0
3591+ },
3592+ {
3593+ "command" : null,
3594+ "script" : 0
3595+ },
3596+ {
3597+ "script" : 0,
3598+ "command" : null
3599+ },
3600+ {
3601+ "command" : null,
3602+ "script" : 0
3603+ }
3604+ ],
3605+ "cgroups" : [],
3606+ "respawn" : 1,
3607+ "kill_timeout" : 5,
3608+ "session" : 0,
3609 "path" : "/com/ubuntu/Upstart/jobs/rsyslog",
3610- "setuid" : null,
3611+ "oom_score_adj" : 0,
3612+ "task" : 0,
3613+ "respawn_limit" : 10,
3614+ "umask" : 18,
3615+ "normalexit" : []
3616+ },
3617+ {
3618+ "task" : 1,
3619+ "normalexit" : [],
3620+ "umask" : 18,
3621+ "respawn_limit" : 10,
3622+ "kill_timeout" : 5,
3623+ "session" : 0,
3624+ "oom_score_adj" : 0,
3625+ "path" : "/com/ubuntu/Upstart/jobs/startpar_2dbridge",
3626+ "emits" : [],
3627 "process" : [
3628 {
3629- "command" : ". /etc/default/rsyslog\nexec rsyslogd $RSYSLOGD_OPTIONS\n",
3630- "script" : 1
3631- },
3632- {
3633- "script" : 1,
3634- "command" : "/lib/init/apparmor-profile-load usr.sbin.rsyslogd\n"
3635- },
3636- {
3637- "script" : 0,
3638- "command" : null
3639- },
3640- {
3641- "command" : null,
3642- "script" : 0
3643- },
3644- {
3645- "command" : null,
3646- "script" : 0
3647+ "script" : 0,
3648+ "command" : "startpar-upstart-inject \"$JOB\" \"$INSTANCE\" \"$UPSTART_EVENTS\""
3649+ },
3650+ {
3651+ "command" : null,
3652+ "script" : 0
3653+ },
3654+ {
3655+ "script" : 0,
3656+ "command" : null
3657+ },
3658+ {
3659+ "script" : 0,
3660+ "command" : null
3661+ },
3662+ {
3663+ "script" : 0,
3664+ "command" : null
3665 },
3666 {
3667 "script" : 0,
3668 "command" : null
3669 }
3670 ],
3671- "version" : null
3672- },
3673- {
3674 "cgroups" : [],
3675- "description" : "GNU Screen Cleanup",
3676- "oom_score_adj" : 0,
3677- "umask" : 18,
3678- "session" : 0,
3679- "kill_signal" : 15,
3680 "respawn" : 0,
3681+ "debug" : 0,
3682+ "setgid" : null,
3683+ "setuid" : null,
3684+ "reload_signal" : 1,
3685+ "apparmor_switch" : null,
3686+ "instance" : "$JOB-$INSTANCE-$UPSTART_EVENTS",
3687+ "console" : "CONSOLE_LOG",
3688 "start_on" : [
3689 {
3690 "value" : 0,
3691- "type" : "EVENT_MATCH",
3692- "name" : "filesystem"
3693+ "name" : "started",
3694+ "env" : [
3695+ "JOB!=startpar-bridge"
3696+ ],
3697+ "type" : "EVENT_MATCH"
3698+ },
3699+ {
3700+ "env" : [
3701+ "JOB!=startpar-bridge"
3702+ ],
3703+ "name" : "stopped",
3704+ "value" : 0,
3705+ "type" : "EVENT_MATCH"
3706+ },
3707+ {
3708+ "value" : 0,
3709+ "type" : "EVENT_OR"
3710 }
3711 ],
3712+ "chdir" : null,
3713+ "export" : [],
3714+ "expect" : "EXPECT_NONE",
3715 "limits" : [
3716 {
3717- "rlim_max" : 0,
3718- "rlim_cur" : 0
3719- },
3720- {
3721- "rlim_max" : 0,
3722- "rlim_cur" : 0
3723- },
3724- {
3725- "rlim_cur" : 0,
3726- "rlim_max" : 0
3727- },
3728- {
3729- "rlim_cur" : 0,
3730- "rlim_max" : 0
3731- },
3732- {
3733- "rlim_max" : 0,
3734- "rlim_cur" : 0
3735- },
3736- {
3737- "rlim_cur" : 0,
3738- "rlim_max" : 0
3739- },
3740- {
3741- "rlim_max" : 0,
3742- "rlim_cur" : 0
3743- },
3744- {
3745- "rlim_cur" : 0,
3746- "rlim_max" : 0
3747- },
3748- {
3749- "rlim_cur" : 0,
3750- "rlim_max" : 0
3751- },
3752- {
3753- "rlim_cur" : 0,
3754- "rlim_max" : 0
3755- },
3756- {
3757- "rlim_cur" : 0,
3758- "rlim_max" : 0
3759- },
3760- {
3761- "rlim_cur" : 0,
3762- "rlim_max" : 0
3763- },
3764- {
3765- "rlim_cur" : 0,
3766- "rlim_max" : 0
3767- },
3768- {
3769- "rlim_cur" : 0,
3770- "rlim_max" : 0
3771- },
3772- {
3773- "rlim_max" : 0,
3774- "rlim_cur" : 0
3775- },
3776- {
3777- "rlim_max" : 0,
3778- "rlim_cur" : 0
3779- }
3780- ],
3781- "nice" : -21,
3782- "usage" : null,
3783- "expect" : "EXPECT_NONE",
3784- "respawn_interval" : 5,
3785- "emits" : [],
3786- "path" : "/com/ubuntu/Upstart/jobs/screen_2dcleanup",
3787- "setuid" : null,
3788- "process" : [
3789- {
3790- "command" : "SCREENDIR=/var/run/screen\nif [ -L $SCREENDIR ] || [ ! -d $SCREENDIR ]; then\n\trm -f $SCREENDIR\n\tmkdir $SCREENDIR\n\tchown root:utmp $SCREENDIR\nfi\nfind $SCREENDIR -type p -delete\n# If the local admin has used dpkg-statoverride to install the screen\n# binary with different set[ug]id bits, change the permissions of\n# $SCREENDIR accordingly\nBINARYPERM=`stat -c%a /usr/bin/screen`\nif [ \"$BINARYPERM\" -ge 4000 ]; then\n\tchmod 0755 $SCREENDIR\nelif [ \"$BINARYPERM\" -ge 2000 ]; then\n\tchmod 0775 $SCREENDIR\nelse\n\tchmod 0777 $SCREENDIR\nfi\n",
3791- "script" : 1
3792- },
3793- {
3794- "command" : null,
3795- "script" : 0
3796- },
3797- {
3798- "command" : null,
3799- "script" : 0
3800- },
3801- {
3802- "script" : 0,
3803- "command" : null
3804- },
3805- {
3806- "script" : 0,
3807- "command" : null
3808- },
3809- {
3810- "script" : 0,
3811- "command" : null
3812- }
3813- ],
3814- "version" : null,
3815- "deleted" : 0,
3816- "cgmanager_wait" : 0,
3817+ "rlim_cur" : 0,
3818+ "rlim_max" : 0
3819+ },
3820+ {
3821+ "rlim_cur" : 0,
3822+ "rlim_max" : 0
3823+ },
3824+ {
3825+ "rlim_max" : 0,
3826+ "rlim_cur" : 0
3827+ },
3828+ {
3829+ "rlim_cur" : 0,
3830+ "rlim_max" : 0
3831+ },
3832+ {
3833+ "rlim_max" : 0,
3834+ "rlim_cur" : 0
3835+ },
3836+ {
3837+ "rlim_cur" : 0,
3838+ "rlim_max" : 0
3839+ },
3840+ {
3841+ "rlim_max" : 0,
3842+ "rlim_cur" : 0
3843+ },
3844+ {
3845+ "rlim_max" : 0,
3846+ "rlim_cur" : 0
3847+ },
3848+ {
3849+ "rlim_cur" : 0,
3850+ "rlim_max" : 0
3851+ },
3852+ {
3853+ "rlim_cur" : 0,
3854+ "rlim_max" : 0
3855+ },
3856+ {
3857+ "rlim_cur" : 0,
3858+ "rlim_max" : 0
3859+ },
3860+ {
3861+ "rlim_cur" : 0,
3862+ "rlim_max" : 0
3863+ },
3864+ {
3865+ "rlim_cur" : 0,
3866+ "rlim_max" : 0
3867+ },
3868+ {
3869+ "rlim_max" : 0,
3870+ "rlim_cur" : 0
3871+ },
3872+ {
3873+ "rlim_max" : 0,
3874+ "rlim_cur" : 0
3875+ },
3876+ {
3877+ "rlim_max" : 0,
3878+ "rlim_cur" : 0
3879+ }
3880+ ],
3881 "env" : [],
3882- "chdir" : null,
3883- "instance" : "",
3884- "name" : "screen-cleanup",
3885- "export" : [],
3886- "respawn_limit" : 10,
3887 "chroot" : null,
3888- "normalexit" : [],
3889- "apparmor_switch" : null,
3890- "reload_signal" : 1,
3891- "jobs" : [],
3892- "setgid" : null,
3893- "kill_timeout" : 5,
3894- "debug" : 0,
3895- "console" : "CONSOLE_LOG",
3896- "author" : "Dustin Kirkland <kirkland@canonical.com>",
3897- "task" : 1
3898- },
3899- {
3900- "jobs" : [],
3901- "setgid" : null,
3902- "debug" : 0,
3903+ "version" : null,
3904+ "nice" : -21,
3905 "author" : "Steve Langasek <steve.langasek@ubuntu.com>",
3906- "console" : "CONSOLE_LOG",
3907- "kill_timeout" : 5,
3908- "task" : 1,
3909- "chroot" : null,
3910- "apparmor_switch" : null,
3911- "normalexit" : [],
3912- "reload_signal" : 1,
3913- "export" : [],
3914- "respawn_limit" : 10,
3915- "env" : [],
3916- "cgmanager_wait" : 0,
3917- "deleted" : 0,
3918- "instance" : "$JOB-$INSTANCE-$UPSTART_EVENTS",
3919- "chdir" : null,
3920+ "description" : null,
3921 "name" : "startpar-bridge",
3922- "path" : "/com/ubuntu/Upstart/jobs/startpar_2dbridge",
3923- "version" : null,
3924- "process" : [
3925- {
3926- "command" : "startpar-upstart-inject \"$JOB\" \"$INSTANCE\" \"$UPSTART_EVENTS\"",
3927- "script" : 0
3928- },
3929- {
3930- "script" : 0,
3931- "command" : null
3932- },
3933- {
3934- "command" : null,
3935- "script" : 0
3936- },
3937- {
3938- "script" : 0,
3939- "command" : null
3940- },
3941- {
3942- "script" : 0,
3943- "command" : null
3944- },
3945- {
3946- "script" : 0,
3947- "command" : null
3948- }
3949- ],
3950- "setuid" : null,
3951- "expect" : "EXPECT_NONE",
3952- "respawn_interval" : 5,
3953- "emits" : [],
3954- "nice" : -21,
3955- "limits" : [
3956- {
3957- "rlim_cur" : 0,
3958- "rlim_max" : 0
3959- },
3960- {
3961- "rlim_cur" : 0,
3962- "rlim_max" : 0
3963- },
3964- {
3965- "rlim_cur" : 0,
3966- "rlim_max" : 0
3967- },
3968- {
3969- "rlim_max" : 0,
3970- "rlim_cur" : 0
3971- },
3972- {
3973- "rlim_max" : 0,
3974- "rlim_cur" : 0
3975- },
3976- {
3977- "rlim_max" : 0,
3978- "rlim_cur" : 0
3979- },
3980- {
3981- "rlim_cur" : 0,
3982- "rlim_max" : 0
3983- },
3984- {
3985- "rlim_max" : 0,
3986- "rlim_cur" : 0
3987- },
3988- {
3989- "rlim_max" : 0,
3990- "rlim_cur" : 0
3991- },
3992- {
3993- "rlim_cur" : 0,
3994- "rlim_max" : 0
3995- },
3996- {
3997- "rlim_cur" : 0,
3998- "rlim_max" : 0
3999- },
4000- {
4001- "rlim_cur" : 0,
4002- "rlim_max" : 0
4003- },
4004- {
4005- "rlim_max" : 0,
4006- "rlim_cur" : 0
4007- },
4008- {
4009- "rlim_max" : 0,
4010- "rlim_cur" : 0
4011- },
4012- {
4013- "rlim_cur" : 0,
4014- "rlim_max" : 0
4015- },
4016- {
4017- "rlim_max" : 0,
4018- "rlim_cur" : 0
4019- }
4020- ],
4021- "respawn" : 0,
4022 "usage" : null,
4023- "cgroups" : [],
4024- "description" : null,
4025- "oom_score_adj" : 0,
4026- "umask" : 18,
4027+ "cgmanager_wait" : 0,
4028 "kill_signal" : 15,
4029- "session" : 0
4030+ "deleted" : 0,
4031+ "jobs" : [],
4032+ "respawn_interval" : 5
4033 },
4034 {
4035- "version" : null,
4036+ "emits" : [],
4037 "process" : [
4038 {
4039 "script" : 0,
4040 "command" : "/sbin/getty -8 38400 tty4"
4041 },
4042 {
4043- "command" : null,
4044- "script" : 0
4045- },
4046- {
4047- "script" : 0,
4048- "command" : null
4049- },
4050- {
4051- "command" : null,
4052- "script" : 0
4053- },
4054- {
4055- "command" : null,
4056- "script" : 0
4057- },
4058- {
4059- "command" : null,
4060- "script" : 0
4061- }
4062- ],
4063- "setuid" : null,
4064+ "script" : 0,
4065+ "command" : null
4066+ },
4067+ {
4068+ "command" : null,
4069+ "script" : 0
4070+ },
4071+ {
4072+ "script" : 0,
4073+ "command" : null
4074+ },
4075+ {
4076+ "script" : 0,
4077+ "command" : null
4078+ },
4079+ {
4080+ "command" : null,
4081+ "script" : 0
4082+ }
4083+ ],
4084+ "respawn" : 1,
4085+ "cgroups" : [],
4086+ "stop_on" : [
4087+ {
4088+ "value" : 0,
4089+ "name" : "runlevel",
4090+ "env" : [
4091+ "[!23]"
4092+ ],
4093+ "type" : "EVENT_MATCH"
4094+ }
4095+ ],
4096+ "debug" : 0,
4097+ "setgid" : null,
4098+ "task" : 0,
4099+ "normalexit" : [],
4100+ "umask" : 18,
4101+ "respawn_limit" : 10,
4102+ "kill_timeout" : 5,
4103+ "session" : 0,
4104+ "oom_score_adj" : 0,
4105 "path" : "/com/ubuntu/Upstart/jobs/tty4",
4106- "emits" : [],
4107- "respawn_interval" : 5,
4108- "expect" : "EXPECT_NONE",
4109+ "version" : null,
4110+ "nice" : -21,
4111+ "author" : null,
4112+ "description" : null,
4113+ "name" : "tty4",
4114 "usage" : null,
4115- "start_on" : [
4116- {
4117- "name" : "runlevel",
4118- "type" : "EVENT_MATCH",
4119- "env" : [
4120- "[23]"
4121- ],
4122- "value" : 0
4123- },
4124- {
4125- "value" : 0,
4126- "name" : "not-container",
4127- "type" : "EVENT_MATCH"
4128- },
4129- {
4130- "name" : "container",
4131- "type" : "EVENT_MATCH",
4132- "value" : 0,
4133- "env" : [
4134- "CONTAINER=lxc"
4135- ]
4136- },
4137- {
4138- "type" : "EVENT_OR",
4139- "value" : 0
4140- },
4141- {
4142- "env" : [
4143- "CONTAINER=lxc-libvirt"
4144- ],
4145- "value" : 0,
4146- "name" : "container",
4147- "type" : "EVENT_MATCH"
4148- },
4149- {
4150- "value" : 0,
4151- "type" : "EVENT_OR"
4152- },
4153- {
4154- "type" : "EVENT_AND",
4155- "value" : 0
4156- }
4157- ],
4158- "limits" : [
4159- {
4160- "rlim_max" : 0,
4161- "rlim_cur" : 0
4162- },
4163- {
4164- "rlim_cur" : 0,
4165- "rlim_max" : 0
4166- },
4167- {
4168- "rlim_cur" : 0,
4169- "rlim_max" : 0
4170- },
4171- {
4172- "rlim_cur" : 0,
4173- "rlim_max" : 0
4174- },
4175- {
4176- "rlim_cur" : 0,
4177- "rlim_max" : 0
4178- },
4179- {
4180- "rlim_cur" : 0,
4181- "rlim_max" : 0
4182- },
4183- {
4184- "rlim_max" : 0,
4185- "rlim_cur" : 0
4186- },
4187- {
4188- "rlim_cur" : 0,
4189- "rlim_max" : 0
4190- },
4191- {
4192- "rlim_cur" : 0,
4193- "rlim_max" : 0
4194- },
4195- {
4196- "rlim_cur" : 0,
4197- "rlim_max" : 0
4198- },
4199- {
4200- "rlim_max" : 0,
4201- "rlim_cur" : 0
4202- },
4203- {
4204- "rlim_cur" : 0,
4205- "rlim_max" : 0
4206- },
4207- {
4208- "rlim_max" : 0,
4209- "rlim_cur" : 0
4210- },
4211- {
4212- "rlim_cur" : 0,
4213- "rlim_max" : 0
4214- },
4215- {
4216- "rlim_max" : 0,
4217- "rlim_cur" : 0
4218- },
4219- {
4220- "rlim_max" : 0,
4221- "rlim_cur" : 0
4222- }
4223- ],
4224- "nice" : -21,
4225- "respawn" : 1,
4226+ "cgmanager_wait" : 0,
4227+ "deleted" : 0,
4228 "kill_signal" : 15,
4229- "session" : 0,
4230- "umask" : 18,
4231- "description" : null,
4232- "oom_score_adj" : 0,
4233- "cgroups" : [],
4234- "task" : 0,
4235- "author" : null,
4236- "debug" : 0,
4237- "console" : "CONSOLE_LOG",
4238- "kill_timeout" : 5,
4239- "setgid" : null,
4240 "jobs" : [
4241 {
4242+ "goal" : "JOB_START",
4243 "stop_on" : [
4244 {
4245 "type" : "EVENT_MATCH",
4246- "name" : "runlevel",
4247 "env" : [
4248 "[!23]"
4249 ],
4250- "value" : 0
4251+ "value" : 0,
4252+ "name" : "runlevel"
4253 }
4254 ],
4255+ "trace_state" : "TRACE_NONE",
4256+ "kill_process" : "PROCESS_INVALID",
4257 "respawn_count" : 0,
4258- "failed_process" : "PROCESS_INVALID",
4259+ "process_data" : [
4260+ null,
4261+ null,
4262+ null,
4263+ null,
4264+ null,
4265+ null
4266+ ],
4267 "exit_status" : 0,
4268- "goal" : "JOB_START",
4269 "fds" : [],
4270+ "name" : "",
4271+ "failed_process" : "PROCESS_INVALID",
4272+ "failed" : 0,
4273+ "log" : [
4274+ {
4275+ "path" : null
4276+ },
4277+ {
4278+ "path" : null
4279+ },
4280+ {
4281+ "path" : null
4282+ },
4283+ {
4284+ "path" : null
4285+ },
4286+ {
4287+ "path" : null
4288+ },
4289+ {
4290+ "path" : null
4291+ }
4292+ ],
4293+ "trace_forks" : 0,
4294+ "stop_env" : [],
4295+ "state" : "JOB_RUNNING",
4296+ "pid" : [
4297+ 1204,
4298+ 0,
4299+ 0,
4300+ 0,
4301+ 0,
4302+ 0
4303+ ],
4304+ "env" : [
4305+ "PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin",
4306+ "TERM=linux",
4307+ "RUNLEVEL=2",
4308+ "PREVLEVEL=N",
4309+ "UPSTART_EVENTS=runlevel not-container"
4310+ ],
4311+ "start_env" : [],
4312 "path" : "/com/ubuntu/Upstart/jobs/tty4/_",
4313- "start_env" : [],
4314- "env" : [
4315- "PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin",
4316- "TERM=linux",
4317- "RUNLEVEL=2",
4318- "PREVLEVEL=N",
4319- "UPSTART_EVENTS=runlevel not-container"
4320- ],
4321- "log" : [
4322- {
4323- "path" : null
4324- },
4325- {
4326- "path" : null
4327- },
4328- {
4329- "path" : null
4330- },
4331- {
4332- "path" : null
4333- },
4334- {
4335- "path" : null
4336- },
4337- {
4338- "path" : null
4339- }
4340- ],
4341- "kill_process" : "PROCESS_INVALID",
4342- "failed" : 0,
4343- "pid" : [
4344- 973,
4345- 0,
4346- 0,
4347- 0,
4348- 0,
4349- 0
4350- ],
4351- "name" : "",
4352- "trace_state" : "TRACE_NONE",
4353- "trace_forks" : 0,
4354- "stop_env" : [],
4355- "respawn_time" : 0,
4356- "state" : "JOB_RUNNING"
4357+ "respawn_time" : 0
4358 }
4359 ],
4360+ "respawn_interval" : 5,
4361+ "setuid" : null,
4362 "reload_signal" : 1,
4363- "normalexit" : [],
4364 "apparmor_switch" : null,
4365- "stop_on" : [
4366+ "console" : "CONSOLE_LOG",
4367+ "instance" : "",
4368+ "start_on" : [
4369 {
4370 "env" : [
4371- "[!23]"
4372+ "[23]"
4373 ],
4374- "value" : 0,
4375 "name" : "runlevel",
4376- "type" : "EVENT_MATCH"
4377+ "value" : 0,
4378+ "type" : "EVENT_MATCH"
4379+ },
4380+ {
4381+ "type" : "EVENT_MATCH",
4382+ "name" : "not-container",
4383+ "value" : 0
4384+ },
4385+ {
4386+ "name" : "container",
4387+ "value" : 0,
4388+ "env" : [
4389+ "CONTAINER=lxc"
4390+ ],
4391+ "type" : "EVENT_MATCH"
4392+ },
4393+ {
4394+ "type" : "EVENT_OR",
4395+ "value" : 0
4396+ },
4397+ {
4398+ "name" : "container",
4399+ "value" : 0,
4400+ "env" : [
4401+ "CONTAINER=lxc-libvirt"
4402+ ],
4403+ "type" : "EVENT_MATCH"
4404+ },
4405+ {
4406+ "type" : "EVENT_OR",
4407+ "value" : 0
4408+ },
4409+ {
4410+ "value" : 0,
4411+ "type" : "EVENT_AND"
4412 }
4413 ],
4414- "chroot" : null,
4415- "respawn_limit" : 10,
4416+ "chdir" : null,
4417 "export" : [],
4418- "name" : "tty4",
4419- "instance" : "",
4420- "chdir" : null,
4421+ "limits" : [
4422+ {
4423+ "rlim_max" : 0,
4424+ "rlim_cur" : 0
4425+ },
4426+ {
4427+ "rlim_max" : 0,
4428+ "rlim_cur" : 0
4429+ },
4430+ {
4431+ "rlim_max" : 0,
4432+ "rlim_cur" : 0
4433+ },
4434+ {
4435+ "rlim_cur" : 0,
4436+ "rlim_max" : 0
4437+ },
4438+ {
4439+ "rlim_max" : 0,
4440+ "rlim_cur" : 0
4441+ },
4442+ {
4443+ "rlim_cur" : 0,
4444+ "rlim_max" : 0
4445+ },
4446+ {
4447+ "rlim_cur" : 0,
4448+ "rlim_max" : 0
4449+ },
4450+ {
4451+ "rlim_cur" : 0,
4452+ "rlim_max" : 0
4453+ },
4454+ {
4455+ "rlim_cur" : 0,
4456+ "rlim_max" : 0
4457+ },
4458+ {
4459+ "rlim_max" : 0,
4460+ "rlim_cur" : 0
4461+ },
4462+ {
4463+ "rlim_cur" : 0,
4464+ "rlim_max" : 0
4465+ },
4466+ {
4467+ "rlim_cur" : 0,
4468+ "rlim_max" : 0
4469+ },
4470+ {
4471+ "rlim_max" : 0,
4472+ "rlim_cur" : 0
4473+ },
4474+ {
4475+ "rlim_max" : 0,
4476+ "rlim_cur" : 0
4477+ },
4478+ {
4479+ "rlim_cur" : 0,
4480+ "rlim_max" : 0
4481+ },
4482+ {
4483+ "rlim_cur" : 0,
4484+ "rlim_max" : 0
4485+ }
4486+ ],
4487+ "expect" : "EXPECT_NONE",
4488 "env" : [],
4489- "cgmanager_wait" : 0,
4490- "deleted" : 0
4491+ "chroot" : null
4492 },
4493 {
4494- "respawn" : 1,
4495- "start_on" : [
4496+ "jobs" : [
4497 {
4498- "type" : "EVENT_MATCH",
4499- "name" : "virtual-filesystems",
4500- "value" : 0
4501+ "trace_state" : "TRACE_NONE",
4502+ "stop_on" : [
4503+ {
4504+ "type" : "EVENT_MATCH",
4505+ "name" : "runlevel",
4506+ "value" : 0,
4507+ "env" : [
4508+ "[06]"
4509+ ]
4510+ }
4511+ ],
4512+ "goal" : "JOB_START",
4513+ "log" : [
4514+ {
4515+ "path" : null
4516+ },
4517+ {
4518+ "path" : null
4519+ },
4520+ {
4521+ "path" : null
4522+ },
4523+ {
4524+ "path" : null
4525+ },
4526+ {
4527+ "path" : null
4528+ },
4529+ {
4530+ "path" : null
4531+ }
4532+ ],
4533+ "failed" : 0,
4534+ "failed_process" : "PROCESS_INVALID",
4535+ "name" : "",
4536+ "fds" : [],
4537+ "exit_status" : 0,
4538+ "process_data" : [
4539+ null,
4540+ null,
4541+ null,
4542+ null,
4543+ null,
4544+ null
4545+ ],
4546+ "respawn_count" : 0,
4547+ "kill_process" : "PROCESS_INVALID",
4548+ "path" : "/com/ubuntu/Upstart/jobs/udev/_",
4549+ "env" : [
4550+ "PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin",
4551+ "TERM=linux",
4552+ "UPSTART_EVENTS=virtual-filesystems"
4553+ ],
4554+ "start_env" : [],
4555+ "pid" : [
4556+ 648,
4557+ 0,
4558+ 0,
4559+ 0,
4560+ 0,
4561+ 0
4562+ ],
4563+ "state" : "JOB_RUNNING",
4564+ "stop_env" : [],
4565+ "trace_forks" : 1,
4566+ "respawn_time" : 0
4567 }
4568 ],
4569+ "respawn_interval" : 5,
4570 "nice" : -21,
4571- "limits" : [
4572- {
4573- "rlim_max" : 0,
4574- "rlim_cur" : 0
4575- },
4576- {
4577- "rlim_max" : 0,
4578- "rlim_cur" : 0
4579- },
4580- {
4581- "rlim_cur" : 0,
4582- "rlim_max" : 0
4583- },
4584- {
4585- "rlim_max" : 0,
4586- "rlim_cur" : 0
4587- },
4588- {
4589- "rlim_cur" : 0,
4590- "rlim_max" : 0
4591- },
4592- {
4593- "rlim_max" : 0,
4594- "rlim_cur" : 0
4595- },
4596- {
4597- "rlim_cur" : 0,
4598- "rlim_max" : 0
4599- },
4600- {
4601- "rlim_max" : 0,
4602- "rlim_cur" : 0
4603- },
4604- {
4605- "rlim_max" : 0,
4606- "rlim_cur" : 0
4607- },
4608- {
4609- "rlim_cur" : 0,
4610- "rlim_max" : 0
4611- },
4612- {
4613- "rlim_cur" : 0,
4614- "rlim_max" : 0
4615- },
4616- {
4617- "rlim_cur" : 0,
4618- "rlim_max" : 0
4619- },
4620- {
4621- "rlim_max" : 0,
4622- "rlim_cur" : 0
4623- },
4624- {
4625- "rlim_cur" : 0,
4626- "rlim_max" : 0
4627- },
4628- {
4629- "rlim_cur" : 0,
4630- "rlim_max" : 0
4631- },
4632- {
4633- "rlim_max" : 0,
4634- "rlim_cur" : 0
4635- }
4636- ],
4637- "usage" : null,
4638+ "version" : null,
4639 "description" : "device node and kernel event manager",
4640- "oom_score_adj" : 0,
4641- "cgroups" : [],
4642- "session" : 0,
4643+ "author" : null,
4644+ "usage" : null,
4645+ "cgmanager_wait" : 0,
4646+ "name" : "udev",
4647+ "deleted" : 0,
4648 "kill_signal" : 15,
4649- "umask" : 18,
4650+ "limits" : [
4651+ {
4652+ "rlim_max" : 0,
4653+ "rlim_cur" : 0
4654+ },
4655+ {
4656+ "rlim_max" : 0,
4657+ "rlim_cur" : 0
4658+ },
4659+ {
4660+ "rlim_max" : 0,
4661+ "rlim_cur" : 0
4662+ },
4663+ {
4664+ "rlim_cur" : 0,
4665+ "rlim_max" : 0
4666+ },
4667+ {
4668+ "rlim_cur" : 0,
4669+ "rlim_max" : 0
4670+ },
4671+ {
4672+ "rlim_max" : 0,
4673+ "rlim_cur" : 0
4674+ },
4675+ {
4676+ "rlim_cur" : 0,
4677+ "rlim_max" : 0
4678+ },
4679+ {
4680+ "rlim_max" : 0,
4681+ "rlim_cur" : 0
4682+ },
4683+ {
4684+ "rlim_max" : 0,
4685+ "rlim_cur" : 0
4686+ },
4687+ {
4688+ "rlim_max" : 0,
4689+ "rlim_cur" : 0
4690+ },
4691+ {
4692+ "rlim_cur" : 0,
4693+ "rlim_max" : 0
4694+ },
4695+ {
4696+ "rlim_cur" : 0,
4697+ "rlim_max" : 0
4698+ },
4699+ {
4700+ "rlim_max" : 0,
4701+ "rlim_cur" : 0
4702+ },
4703+ {
4704+ "rlim_cur" : 0,
4705+ "rlim_max" : 0
4706+ },
4707+ {
4708+ "rlim_cur" : 0,
4709+ "rlim_max" : 0
4710+ },
4711+ {
4712+ "rlim_max" : 0,
4713+ "rlim_cur" : 0
4714+ }
4715+ ],
4716+ "expect" : "EXPECT_FORK",
4717+ "env" : [],
4718+ "chroot" : null,
4719+ "reload_signal" : 1,
4720 "setuid" : null,
4721+ "apparmor_switch" : null,
4722+ "instance" : "",
4723+ "console" : "CONSOLE_LOG",
4724+ "chdir" : null,
4725+ "start_on" : [
4726+ {
4727+ "type" : "EVENT_MATCH",
4728+ "value" : 0,
4729+ "name" : "virtual-filesystems"
4730+ }
4731+ ],
4732+ "export" : [],
4733+ "debug" : 0,
4734+ "stop_on" : [
4735+ {
4736+ "env" : [
4737+ "[06]"
4738+ ],
4739+ "value" : 0,
4740+ "name" : "runlevel",
4741+ "type" : "EVENT_MATCH"
4742+ }
4743+ ],
4744+ "setgid" : null,
4745+ "emits" : [],
4746 "process" : [
4747 {
4748- "command" : "/lib/systemd/systemd-udevd --daemon",
4749- "script" : 0
4750- },
4751- {
4752- "command" : null,
4753- "script" : 0
4754- },
4755- {
4756- "script" : 0,
4757- "command" : null
4758- },
4759- {
4760- "command" : null,
4761- "script" : 0
4762- },
4763- {
4764- "command" : null,
4765- "script" : 0
4766+ "script" : 0,
4767+ "command" : "/lib/systemd/systemd-udevd --daemon"
4768+ },
4769+ {
4770+ "command" : null,
4771+ "script" : 0
4772+ },
4773+ {
4774+ "command" : null,
4775+ "script" : 0
4776+ },
4777+ {
4778+ "script" : 0,
4779+ "command" : null
4780+ },
4781+ {
4782+ "script" : 0,
4783+ "command" : null
4784 },
4785 {
4786 "command" : null,
4787 "script" : 0
4788 }
4789 ],
4790- "version" : null,
4791+ "cgroups" : [],
4792+ "respawn" : 1,
4793+ "kill_timeout" : 5,
4794+ "session" : 0,
4795 "path" : "/com/ubuntu/Upstart/jobs/udev",
4796- "respawn_interval" : 5,
4797- "expect" : "EXPECT_FORK",
4798- "emits" : [],
4799- "respawn_limit" : 10,
4800- "export" : [],
4801- "chdir" : null,
4802- "instance" : "",
4803- "deleted" : 0,
4804- "cgmanager_wait" : 0,
4805- "env" : [],
4806- "name" : "udev",
4807- "setgid" : null,
4808+ "oom_score_adj" : 0,
4809+ "task" : 0,
4810+ "normalexit" : [],
4811+ "umask" : 18,
4812+ "respawn_limit" : 10
4813+ },
4814+ {
4815 "jobs" : [
4816 {
4817- "trace_state" : "TRACE_NONE",
4818- "name" : "",
4819+ "trace_forks" : 2,
4820+ "state" : "JOB_RUNNING",
4821+ "stop_env" : [],
4822+ "start_env" : [],
4823+ "env" : [
4824+ "PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin",
4825+ "TERM=linux",
4826+ "JOB=udev",
4827+ "INSTANCE=",
4828+ "UPSTART_EVENTS=starting"
4829+ ],
4830 "pid" : [
4831- 588,
4832+ 635,
4833 0,
4834 0,
4835 0,
4836 0,
4837 0
4838 ],
4839- "failed" : 0,
4840- "kill_process" : "PROCESS_INVALID",
4841- "log" : [
4842- {
4843- "path" : null
4844- },
4845- {
4846- "path" : null
4847- },
4848- {
4849- "path" : null
4850- },
4851- {
4852- "path" : null
4853- },
4854- {
4855- "path" : null
4856- },
4857- {
4858- "path" : null
4859- }
4860- ],
4861- "env" : [
4862- "PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin",
4863- "TERM=linux",
4864- "UPSTART_EVENTS=virtual-filesystems"
4865- ],
4866- "start_env" : [],
4867- "state" : "JOB_RUNNING",
4868+ "path" : "/com/ubuntu/Upstart/jobs/upstart_2dudev_2dbridge/_",
4869 "respawn_time" : 0,
4870- "trace_forks" : 1,
4871- "stop_env" : [],
4872- "exit_status" : 0,
4873- "failed_process" : "PROCESS_INVALID",
4874- "respawn_count" : 0,
4875+ "trace_state" : "TRACE_NONE",
4876+ "goal" : "JOB_START",
4877 "stop_on" : [
4878 {
4879- "name" : "runlevel",
4880 "type" : "EVENT_MATCH",
4881 "value" : 0,
4882- "env" : [
4883- "[06]"
4884- ]
4885- }
4886- ],
4887- "path" : "/com/ubuntu/Upstart/jobs/udev/_",
4888- "fds" : [],
4889- "goal" : "JOB_START"
4890- }
4891- ],
4892- "task" : 0,
4893- "kill_timeout" : 5,
4894- "console" : "CONSOLE_LOG",
4895- "debug" : 0,
4896- "author" : null,
4897- "apparmor_switch" : null,
4898- "normalexit" : [],
4899- "chroot" : null,
4900- "stop_on" : [
4901- {
4902- "env" : [
4903- "[06]"
4904- ],
4905- "value" : 0,
4906- "name" : "runlevel",
4907- "type" : "EVENT_MATCH"
4908- }
4909- ],
4910- "reload_signal" : 1
4911- },
4912- {
4913- "export" : [],
4914- "respawn_limit" : 10,
4915- "name" : "upstart-udev-bridge",
4916- "cgmanager_wait" : 0,
4917- "deleted" : 0,
4918- "env" : [],
4919- "chdir" : null,
4920- "instance" : "",
4921- "kill_timeout" : 5,
4922- "console" : "CONSOLE_LOG",
4923- "debug" : 0,
4924- "author" : null,
4925- "task" : 0,
4926- "jobs" : [
4927- {
4928- "exit_status" : 0,
4929- "respawn_count" : 0,
4930- "stop_on" : [
4931- {
4932- "type" : "EVENT_MATCH",
4933 "name" : "stopped",
4934 "env" : [
4935 "udev"
4936- ],
4937- "value" : 0
4938+ ]
4939 }
4940 ],
4941+ "respawn_count" : 0,
4942+ "kill_process" : "PROCESS_INVALID",
4943+ "exit_status" : 0,
4944+ "fds" : [],
4945+ "process_data" : [
4946+ null,
4947+ null,
4948+ null,
4949+ null,
4950+ null,
4951+ null
4952+ ],
4953 "failed_process" : "PROCESS_INVALID",
4954- "path" : "/com/ubuntu/Upstart/jobs/upstart_2dudev_2dbridge/_",
4955- "fds" : [],
4956- "goal" : "JOB_START",
4957- "pid" : [
4958- 586,
4959- 0,
4960- 0,
4961- 0,
4962- 0,
4963- 0
4964- ],
4965- "failed" : 0,
4966- "trace_state" : "TRACE_NONE",
4967 "name" : "",
4968- "env" : [
4969- "PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin",
4970- "TERM=linux",
4971- "JOB=udev",
4972- "INSTANCE=",
4973- "UPSTART_EVENTS=starting"
4974- ],
4975- "start_env" : [],
4976 "log" : [
4977 {
4978 "path" : null
4979@@ -2244,142 +3025,117 @@
4980 "path" : null
4981 }
4982 ],
4983- "kill_process" : "PROCESS_INVALID",
4984- "state" : "JOB_RUNNING",
4985- "respawn_time" : 0,
4986- "trace_forks" : 2,
4987- "stop_env" : []
4988- }
4989- ],
4990- "setgid" : null,
4991- "reload_signal" : 1,
4992- "chroot" : null,
4993- "stop_on" : [
4994- {
4995- "type" : "EVENT_MATCH",
4996- "name" : "stopped",
4997- "env" : [
4998- "udev"
4999- ],
5000- "value" : 0
The diff has been truncated for viewing.

Subscribers

People subscribed via source and target branches