Timeline for answer to Why can’t a session leader change its process group ID (PGID)? by Andrei Borzenkov
Current License: CC BY-SA 4.0
Post Revisions
2 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| yesterday | comment | added | Bhushitha Hashan | Thank you and this is the clearest explanation I've too found after a lot of digging. I actually reasoned my way to something similar before posting: if the session leader joined one of its child groups, and then tried to do cleanup by sending SIGKILL to that group's PGID, it would kill itself before finishing , leaving the remaining jobs without a cleanup signal, effectively making them true orphans.So it's not just that the shell gets accidentally killed , it's that the entire cleanup chain breaks mid way. The shell dies before it can signal the rest of its job table | |
| yesterday | history | answered | Andrei Borzenkov | CC BY-SA 4.0 |