Init: Graceful termination and signal propagation #8

Open
opened 2026-02-11 19:21:19 +00:00 by thabeta · 0 comments
Owner

The chvm-init binary (pid 1) handles signals in signal.rs. The implementation needs to ensure atomic cleanup of mounts and termination of child processes.

Proposed Changes:

  1. Ensure signals are propagated to the entire process group.
  2. Implement a timeout for processes to exit before sending force kill signals.
  3. Verify filesystem integrity by ensuring proper unmounting before exit.
The `chvm-init` binary (pid 1) handles signals in `signal.rs`. The implementation needs to ensure atomic cleanup of mounts and termination of child processes. **Proposed Changes:** 1. Ensure signals are propagated to the entire process group. 2. Implement a timeout for processes to exit before sending force kill signals. 3. Verify filesystem integrity by ensuring proper unmounting before exit.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
geomind_code/my_hypervisor#8
No description provided.