W dniu 21.03.2012 16:47, Grzegorz Nosek pisze:
> A basically working patch attached. One weird side effect is that the
> container init and its children are not visible in `vps auxf` (they
> remain visible in `vps aux` though).
Attached v2, this one is actually working *too* well -- the process tree
is shown *twice* on some occasions ;) Also, upstart works like a charm
(start/stop etc.)
This is another bug I won't fix today -- gotta go:
debian:/proc/sys/vserver# grep Tgid /proc/1/status
Tgid: 1
debian:/proc/sys/vserver# chcontext --xid 1 -- grep Tgid /proc/1/status
Tgid: 1
debian:/proc/sys/vserver# chcontext --xid 948 -- grep Tgid /proc/1/status
Tgid: 1
debian:/proc/sys/vserver# chcontext --xid 1 -- grep Tgid /proc/1/status
Tgid: 2219
Basically in xid==1 /proc/1 contains info about the last visited fakeinit.
Best regards,
Grzegorz Nosek