Commit Graph

11 Commits

Author SHA1 Message Date
Marco Pesenti Gritti
6046c8ed46 Reap only activity processes. Fix #5044 2007-11-28 16:10:27 +01:00
Michael Stone
8bd8ec6216 Improve error-handling during activity log-file creation. 2007-11-09 13:11:19 -05:00
Marco Pesenti Gritti
be8669317d Fix typo 2007-11-09 00:11:53 +01:00
Marco Pesenti Gritti
2e9e0f8505 Add an hardcoded list of activities which are launched
outside rainbow containers.
2007-11-08 23:37:15 +01:00
Marco Pesenti Gritti
dae3ebe8d1 Create an instance dir and write journal files into it. 2007-11-07 12:13:17 +01:00
Michael Stone
0a9676171d Improve ActivityFactory utility functions and reduce code-path duplication.
* Remove a race in open_log_file()

  * Make open_log_file return a path as well as a file-object so that
    Rainbow-launched activities can log to the same path that sugar-launched
    ones do.

  * Change the call to Rainbow so that it writes to the log-file provided by
    open_log_file()

  * Define SUGAR_BUNDLE_ID env variable and change the location of the check
    for /etc/olpc-security so that Rainbow doesn't have to search for or parse
    the activity bundle.

  * Remove import statements marked as unnecessary by pylint.

  * Fix up some whitespace issues.
2007-11-05 17:40:05 -05:00
Marco Pesenti Gritti
9e4b78766b Make activity space creation a bit more solid 2007-11-05 21:54:02 +01:00
Marco Pesenti Gritti
5732433d3e Setup the activity root with a tmp and a data dir.
Save DS files in data (since tmp will be on tmpfs in rainbow)
2007-10-30 23:38:48 +01:00
Marco Pesenti Gritti
0e0ebf5701 Set SUGAR_ACTIVITY_ROOT 2007-10-30 15:03:27 +01:00
Marco Pesenti Gritti
880f1c637d Parse arguments rather than forking out a shell 2007-10-23 18:22:59 +02:00
Marco Pesenti Gritti
6240c1cf6f Cleanup the source structure 2007-10-16 11:04:59 +02:00