Skip to content

Commit 35fd78a

Browse files
committed
rfc15: IMP may linger post-shell to clean cgroup
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.
1 parent 1602d14 commit 35fd78a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

spec_15.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -360,8 +360,9 @@ SHALL spawn the **job shell path** specified in :math:`J`, or a IMP
360360
configuration default with the guest user credentials.
361361

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

366367
- Finalize the PAM session
367368

0 commit comments

Comments
 (0)