Re: [vserver] veserver context stop problemematic ?

From: Xavier de Poorter <xavier-ml_at_jvweb.fr>
Date: Thu 10 Jan 2008 - 14:57:42 GMT
Message-ID: <47863266.1070201@jvweb.fr>

Raoul Bhatia [IPAX] a écrit :
> On Thu, 2008-01-10 at 15:25 +0100, Xavier de Poorter wrote:
>> Raoul Bhatia [IPAX] a écrit :
>>> On Thu, 2008-01-10 at 14:47 +0100, Xavier de Poorter wrote:
>>>> Hi everyone,
>>>>
>>>> vserver vsbase2 stop
>>>> * Stopping system log daemon...
>>>> [ OK ]
>>>> * Terminating all remaining processes...
>>>> killall5: can't
>>>> read sid for pid 1
>>>>
>>>>
>>>> [ OK ]
>>>> * Sending all processes the KILL signal...
>>>> killall5: can't
>>>> read sid for pid 1
>>>>
>>>>
>>>> [ OK ]
>>>> * Will now restart
>>>> /usr/lib/util-vserver/vserver.stop: line 85: 14496 Killed
>>>> "${NICE_CMD[@]}" "${CHBIND_CMD[@]}" "$_VTAG" --migrate
>>>> "${OPTS_VTAG_ENTER[@]}" --silent -- $_VCONTEXT $SILENT_OPT --migrate
>>>> --chroot --xid "$S_CONTEXT" -- "${INITCMD_STOP[@]}"
>>>>
>>>> Is it problematic ?
>>> mhm, to me, this looks like a broken initscript during shutdown.
>>> search /etc/rc6.d/ for "killall5" or so.
>>>
>>> cheers,
>>> raoul
>> if i do : chmod -x vsbase2/etc/init.d/sendsigs
>
> i can only guess what sendsigs does. it sends term/kill signals to all
> processes. solutions i see:
>
> 1) rm ./vsbase2/etc/rc6.d/S20sendsigs
> 2) edit ./vsbase2/etc/rc6.d/S20sendsigs and look for the "killall"
> lines and try to a) either comment them out or b) guard pid 1
> against the kill
>
thanks raoul
if the vserver mechanism kill himself the unshutdowned processes then i
choose the 1)

and what about this ? :
/usr/lib/util-vserver/vserver.stop: line 85: 9101 Killed
    "${NICE_CMD[@]}" "${CHBIND_CMD[@]}" "$_VTAG" --migrate
"${OPTS_VTAG_ENTER[@]}" --silent -- $_VCONTEXT $SILENT_OPT --migrate
--chroot --xid "$S_CONTEXT" -- "${INITCMD_STOP[@]}"

cordialement,
xavier
Received on Thu Jan 10 14:57:55 2008

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Thu 10 Jan 2008 - 14:58:00 GMT by hypermail 2.1.8