Re: [Vserver] gentoo update breaks shutdowns?

From: Chuck <chuck_at_sbbsnet.net>
Date: Sun 11 Mar 2007 - 20:02:54 GMT
Message-Id: <200703111602.54797.chuck@sbbsnet.net>

On Sunday 11 March 2007 15:42, Daniel Hokka Zakrisson wrote:

2.6.19? or the vserver patch?

i also found something interesting just now. on a whim i looked at the
shutdown.sh in init.d and it has changed since older ones. the newer one
which fails every time is

opts="-d"
[[ ${INIT_HALT} != "HALT" ]] && opts="${opts}p"
[[ ${RC_DOWN_INTERFACE} == "yes" ]] && opts="${opts}i"
[[ ${RC_DOWN_HARDDISK} == "yes" ]] && opts="${opts}h"

/sbin/halt "${opts}"

# hmm, if the above failed, that's kind of odd ...
# so let's force a halt
/sbin/halt -f

but if i change it to match the older one which works every time, it becomes

/sbin/halt -dp

# hmm, if the above failed, that's kind of odd ...
# so let's force a halt
/sbin/halt -f

in changing only a few of our vservers to this older method, every one now
shuts down properly.

> Chuck wrote:
> > ...
> > my util-vserver version is 0.30.212-r2
> >
> > kernel version
> >
> > 2.6.19-vs2.2.0-rc2
>
> You sure you were running that kernel before? IIRC that one has a broken
> vc_ctx_kill, so you might want to upgrade...
>
> --
> Daniel Hokka Zakrisson
> _______________________________________________
> Vserver mailing list
> Vserver@list.linux-vserver.org
> http://list.linux-vserver.org/mailman/listinfo/vserver
>

-- 
Chuck
"...and the hordes of M$*ft users descended upon me in their anger,
and asked 'Why do you not get the viruses or the BlueScreensOfDeath
or insecure system troubles and slowness or pay through the nose 
for an OS as *we* do?!!', and I answered...'I use Linux'. "
The Book of John, chapter 1, page 1, and end of book
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Sun Mar 11 20:19:38 2007
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Sun 11 Mar 2007 - 20:19:42 GMT by hypermail 2.1.8