> Or just have per-user cgroups that a process is moved into when
> logging in, see libpam-cgroup for something that does this.
> 
Then getty would respawn the second you login, stealing the controlling
terminal from bash.

> In addition, killing all members in a cgroup when a service goes down is
> optional, not mandatory, so the tty would be usable just fine.
> 
It's not that cgroups are used for killing all members, it's that
cgroups are used to detect when the service goes down.  systemd doesn't
care about SIGCHLD so much as the cgroup becoming empty.

> I believe the problem is that processes can escape and change their
> process group.
> 
systemd will need processes to be able to escape or change their
cgroup :-)

Scott
-- 
Have you ever, ever felt like this?
Had strange things happen?  Are you going round the twist?

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to