Opened 7 years ago

Closed 7 years ago

#1834 closed defect (fixed)

Include generic factory service

Reported by: bert Owned by: dcbw
Priority: high Milestone: Trial-2
Component: sugar Version:
Keywords: security Cc: krstic
Blocked By: Blocking:
Deployments affected: Action Needed:
Verified: no

Description

For non-python activities, a generic factory service that spawns activity instances as separate processes is useful. One such service is included in the etoys activity, but it actually does not contain any squeak-specific code. It would make sense to move it to sugar for potential use by more activities.

The code is in git: factory-service.c

For example usage, see activity.info which employs the etoys-factory and etoys-instance scripts for customization.

Change History (4)

comment:1 follow-up: Changed 7 years ago by jg

  • Cc krstic added
  • Keywords security added
  • Milestone changed from Untriaged to CTest
  • Priority changed from normal to high

Seems like we should be able to spawn other things than Python into a container for execution.

comment:2 in reply to: ↑ 1 Changed 7 years ago by krstic

Replying to jg:

Seems like we should be able to spawn other things than Python into a container for execution.

The security service can launch anything into a container by design.

comment:3 Changed 7 years ago by bert

Err, the point of this ticket was just to move the factory-service from Etoys to Sugar because it is generic. No idea why security got into the discussion, or why we could not do that immediately (that is, for Trial-2).

comment:4 Changed 7 years ago by bert

  • Milestone changed from Trial-3 to Trial-2
  • Resolution set to fixed
  • Status changed from new to closed

This is in sugar for a while now, renamed to sugar-native-factory.

Note: See TracTickets for help on using tickets.