Subject: Re: [vserver] veserver context stop problemematic ?
From: "Raoul Bhatia [IPAX]" <r.bhatia@ipax.at>
Date: Thu, 10 Jan 2008 15:46:45 +0100


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

cheers,
raoul
-- 
____________________________________________________________________
DI (FH) Raoul Bhatia M.Sc.          email.          r.bhatia@ipax.at
Technischer Leiter

IPAX - Aloy Bhatia Hava OEG         web.          http://www.ipax.at
Barawitzkagasse 10/2/2/11           email.            office@ipax.at
1190 Wien                           tel.               +43 1 3670030
FN 277995t HG Wien                  fax.            +43 1 3670030 15
____________________________________________________________________