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

Reply via email to