Hi, On Sat, 2003-02-08 at 19:28, Jacques Gelinas wrote: > On Wed, 5 Feb 2003 21:46:00 -0500, Sebastian Roesner wrote > > Hi, > > I possibly found a bug: fakeinit doesn't work. > > > > I patched a vanilla 2.4.20 with patch-2.4.20ctx16. I first thought it > > might be because of Herbert Poetzls linux-2.4.20-ctx14-vquota-0.10.diff > > patch, but it's the same without it. > > I can't reproduce this problem. What are you getting with the following command ? > > /usr/sbin/chcontext --flag fakeinit /tmp/getpid
Sorry for the late answer, but I didn't have much spare time the last weeks... vserver:/vservers/3# /usr/sbin/chcontext --flag fakeinit tmp/getpid New security context is 3 pid: 1 ppid: 16609 vserver:/vservers/3# /usr/sbin/chcontext --disconnect --flag lock --flag nproc --flag sched --ctx 3 --hostname vserver3.scheissdomain.de --secure /usr/lib/vserver/save_s_context /var/run/vservers/3.ctx /usr/lib/vserver/capchroot . /tmp/getpid Host name is now vserver3.scheissdomain.de New security context is 3 pid: 2040 ppid: 1 vserver:/vservers/3# /usr/sbin/chcontext --disconnect --flag lock --flag nproc --flag fakeinit --flag sched --ctx 3 --hostname vserver3.scheissdomain.de --secure /usr/lib/vserver/save_s_context /var/run/vservers/3.ctx /usr/lib/vserver/capchroot . /tmp/getpid Host name is now vserver3.scheissdomain.de New security context is 3 pid: 2056 ppid: 1 and the same without --ctx 3: vserver:/vservers/3# /usr/sbin/chcontext --disconnect --flag lock --flag nproc --flag fakeinit --flag sched --hostname vserver3.scheissdomain.de --secure /usr/lib/vserver/save_s_context /var/run/vservers/3.ctx /usr/lib/vserver/capchroot . /tmp/getpid Host name is now vserver3.scheissdomain.de New security context is 24 pid: 1 ppid: 1 Sebastian Roesner
