Skip to content

Launch the workload and wire stdout and stderr to the guest log channel #7

@t0gun

Description

@t0gun

Make scoutd launch the real workload process. After the MMDS payload is validated, scoutd should fork and exec the workload. The child process should inherit the intended runtime environment and should have its stdout and stderr attached to the guest log channel.
The parent process must remain PID 1 and continue to supervise the child process correctly.

Why

This is the point where scoutd becomes operationally useful. It must be able to run one workload process cleanly and expose that workload output to the host.

In scope

  • fork
  • execve
  • environment injection
  • stdout and stderr redirection to the log channel
  • parent and child process separation

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

Status

Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions