- Should any children of pid 1 be allowed to live when pid == 1 is killed?
agan that's a feature which would be nice, especiallywhom should child_reaper refer to?
for the lightweight contexts, which do not have an init
process running inside the guest
fine, agreed on this finally, same for OpenVZ.- Should a process have some sort of global (on the machine identifier)?this is mandatory, as it is required to kill any process
from the host (admin) context, without entering the pid
space (which would lead to all kind of security issues)
also fine.- Should the pids in a pid space be visible from the outside?yes, while not strictly required, folks really like to
view the overall system state. this can be done with the
help of special tools, but again it should be done
without entering each guest pid space ...
but why sys_waitpid? we can make it in many other ways,- Should the parent of pid 1 be able to wait for it for it's children?definitely, we (Linux-VServer) added this some time ago
and it helps to maintain/restart a guest.
then it is not disjoin? :)- Is a completely disjoin pid space acceptable to anyone?yes, as long as the beforementioned access, management
and control mechanisms are in place ...
but should parent see pspace init? only one task from pspace?- What should the parent of pid == 1 see?doesn't really matter, but I see three options there:
- the parent space
- the child space
- both
disagree. why we need to introduce copy of existing syscalls?- Should we be able to monitor a pid space from the outside?yes, definitely, but it could happen via some special
interfaces, i.e. no need to make it compatible
agreed. Though I don't like a backdoor name :) It is just a way to get access to VPS.- Should we be able to have processes enter a pid space?definitely, without that, the entire VPS concept will
not work, folks use the 'admin' backdoors 90% of the
time ...