Hi Scott - makes perfect sense. We'll have to be careful with respect to sessions (particularly chroots). I think the minimum would be to change bullet 2 in your proposal to:
* init sends an event to all sessions
That way, even if the root user runs shutdown from within a chroot, all chroot environments and the "outer" (null session) environment will react correctly.
Hi Scott - makes perfect sense. We'll have to be careful with respect to sessions (particularly chroots). I think the minimum would be to change bullet 2 in your proposal to:
* init sends an event to all sessions
That way, even if the root user runs shutdown from within a chroot, all chroot environments and the "outer" (null session) environment will react correctly.