Skip to content

Commit

Permalink
rfc15: IMP may linger post-shell to clean cgroup
Browse files Browse the repository at this point in the history
Problem: RFC 15 states that the IMP may exit after the job shell
exits, but then it cannot forward SIGUSR1->SIGKILL to stuck processes
if the shell exits early.

Change the wording to allow the imp to linger after the shell exits.
  • Loading branch information
garlick committed Oct 30, 2024
1 parent 1602d14 commit 35fd78a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions spec_15.rst
Original file line number Diff line number Diff line change
Expand Up @@ -360,8 +360,9 @@ SHALL spawn the **job shell path** specified in :math:`J`, or a IMP
configuration default with the guest user credentials.

The IMP MUST remain active while the job shell executes and forward any
signals it receives to the shell as described below. Once the job shell has
terminated, the IMP MAY perform privileged clean-up tasks such as
signals it receives to the shell as described below. The IMP MAY remain
active until its cgroup is empty, if applicable. Once its signal forwarding
role is complete, the IMP MAY perform privileged clean-up tasks such as

- Finalize the PAM session

Expand Down

0 comments on commit 35fd78a

Please sign in to comment.