OpenVZ Forum


Home » General » Support » Watching the shutdown sequence?
Re: Watching the shutdown sequence? [message #23149 is a reply to message #23148] Tue, 13 November 2007 16:06 Go to previous messageGo to previous message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

You can do something like the following:

(inside a VE):

mv /sbin/init /sbin/init.real
cat > /sbin/init << EOF
#!/bin/sh
exec /sbin/init.real </dev/null > /tmp/init.log 2>&1
EOF
chmod a+x /sbin/init


Then reboot a VE and watch /tmp/init.log for new messages.

If that works for you could you please document it on wiki?


Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: debian.systs.org is down?
Next Topic: Metadata Creation
Goto Forum:
  


Current Time: Sun Aug 04 21:06:12 GMT 2024

Total time taken to generate the page: 0.03013 seconds