<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: reboot is not the same as init 6 (updated)</title>
	<atom:link href="http://www.vReference.com/2009/09/23/reboot-is-not-the-same-as-init-6/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.vReference.com/2009/09/23/reboot-is-not-the-same-as-init-6/</link>
	<description>guides, links and news for VMware and virtualization technologies</description>
	<lastBuildDate>Mon, 19 Jul 2010 21:24:28 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Forbes Guthrie</title>
		<link>http://www.vReference.com/2009/09/23/reboot-is-not-the-same-as-init-6/comment-page-1/#comment-227</link>
		<dc:creator>Forbes Guthrie</dc:creator>
		<pubDate>Sat, 07 Nov 2009 17:44:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.vReference.com/?p=383#comment-227</guid>
		<description>Hi jsd,
last -x searches though the /var/log/wtmp and cats out all the entries related to run-level changes.  So the whole command should tell you when the server was last shutdown or reboot. (I&#039;ve corrected the showdown typo :))</description>
		<content:encoded><![CDATA[<p>Hi jsd,<br />
last -x searches though the /var/log/wtmp and cats out all the entries related to run-level changes.  So the whole command should tell you when the server was last shutdown or reboot. (I&#8217;ve corrected the showdown typo <img src='http://www.vReference.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> )</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jsd</title>
		<link>http://www.vReference.com/2009/09/23/reboot-is-not-the-same-as-init-6/comment-page-1/#comment-226</link>
		<dc:creator>jsd</dc:creator>
		<pubDate>Sat, 07 Nov 2009 16:14:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.vReference.com/?p=383#comment-226</guid>
		<description>Folks...good thread...what exactly does last -x &#124; grep -e showdown -e reboot do?</description>
		<content:encoded><![CDATA[<p>Folks&#8230;good thread&#8230;what exactly does last -x | grep -e showdown -e reboot do?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marlena</title>
		<link>http://www.vReference.com/2009/09/23/reboot-is-not-the-same-as-init-6/comment-page-1/#comment-204</link>
		<dc:creator>Marlena</dc:creator>
		<pubDate>Fri, 09 Oct 2009 21:54:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.vReference.com/?p=383#comment-204</guid>
		<description>init 6 and shutdown -r does the same thing from the unix/linux standpoint. It is not harmful to use those 2 commands at all. It gracefully restarts the linux/unix system.   Sometime it is also good to do a sync command to flush the cache buffers right before running these commands.</description>
		<content:encoded><![CDATA[<p>init 6 and shutdown -r does the same thing from the unix/linux standpoint. It is not harmful to use those 2 commands at all. It gracefully restarts the linux/unix system.   Sometime it is also good to do a sync command to flush the cache buffers right before running these commands.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Forbes Guthrie</title>
		<link>http://www.vReference.com/2009/09/23/reboot-is-not-the-same-as-init-6/comment-page-1/#comment-156</link>
		<dc:creator>Forbes Guthrie</dc:creator>
		<pubDate>Fri, 25 Sep 2009 17:59:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.vReference.com/?p=383#comment-156</guid>
		<description>Hi Bert,
Thanks for the info.  I&#039;m happy to put my hand up when I&#039;m wrong, so I&#039;ll edit the page.  You&#039;re making me feel old ;)
I guess I&#039;ll still use the shutdown command, as at least I know where I stand.</description>
		<content:encoded><![CDATA[<p>Hi Bert,<br />
Thanks for the info.  I&#8217;m happy to put my hand up when I&#8217;m wrong, so I&#8217;ll edit the page.  You&#8217;re making me feel old <img src='http://www.vReference.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /><br />
I guess I&#8217;ll still use the shutdown command, as at least I know where I stand.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bert</title>
		<link>http://www.vReference.com/2009/09/23/reboot-is-not-the-same-as-init-6/comment-page-1/#comment-155</link>
		<dc:creator>Bert</dc:creator>
		<pubDate>Fri, 25 Sep 2009 10:31:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.vReference.com/?p=383#comment-155</guid>
		<description>Actually, the &quot;older sysvinit releases&quot; referenced in the man page are _much_ older than ESX 3. The Service Console in ESX 3 is a close relative of RHEL3. On RHEL3 (and ESX3) you have SysVinit 2.85, on RHEL5 (as on ESX4) you have SysVinit 2.86. The change happened long before that: version 2.54, in january 1995 (cfr /usr/share/doc/SysVinit*/ChangeLog

The reason not many ESX admins realize the &quot;danger&quot; of running reboot is that they use systems (like ESX) that aren&#039;t that old, and that have the &quot;safe&quot; behaviour that we&#039;ve known for more than 10 years now: reboot, init 0/6, halt, poweroff, and shutdown all cleanly shut down the system. Only caveat is: don&#039;t add unnecessary options like -f or -n: those _are_ dangerous !.

cheers,
Bert.</description>
		<content:encoded><![CDATA[<p>Actually, the &#8220;older sysvinit releases&#8221; referenced in the man page are _much_ older than ESX 3. The Service Console in ESX 3 is a close relative of RHEL3. On RHEL3 (and ESX3) you have SysVinit 2.85, on RHEL5 (as on ESX4) you have SysVinit 2.86. The change happened long before that: version 2.54, in january 1995 (cfr /usr/share/doc/SysVinit*/ChangeLog</p>
<p>The reason not many ESX admins realize the &#8220;danger&#8221; of running reboot is that they use systems (like ESX) that aren&#8217;t that old, and that have the &#8220;safe&#8221; behaviour that we&#8217;ve known for more than 10 years now: reboot, init 0/6, halt, poweroff, and shutdown all cleanly shut down the system. Only caveat is: don&#8217;t add unnecessary options like -f or -n: those _are_ dangerous !.</p>
<p>cheers,<br />
Bert.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Forbes Guthrie</title>
		<link>http://www.vReference.com/2009/09/23/reboot-is-not-the-same-as-init-6/comment-page-1/#comment-148</link>
		<dc:creator>Forbes Guthrie</dc:creator>
		<pubDate>Thu, 24 Sep 2009 04:31:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.vReference.com/?p=383#comment-148</guid>
		<description>Hi Andrew,
I agree things are changing.  A lot of the latest versions of distributions symlink reboot to shutdown -r (presumably for the reason I stated above).  Also Debian is moving to Upstart (from the older init system), so all the old commands are just links to replicate the functionality.
I&#039;m fairly sure the advice is valid for the ESX 3.0 and 3.5 Service Console.  Can anyone tell us how this is set on ESX 4.0 hosts?</description>
		<content:encoded><![CDATA[<p>Hi Andrew,<br />
I agree things are changing.  A lot of the latest versions of distributions symlink reboot to shutdown -r (presumably for the reason I stated above).  Also Debian is moving to Upstart (from the older init system), so all the old commands are just links to replicate the functionality.<br />
I&#8217;m fairly sure the advice is valid for the ESX 3.0 and 3.5 Service Console.  Can anyone tell us how this is set on ESX 4.0 hosts?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew</title>
		<link>http://www.vReference.com/2009/09/23/reboot-is-not-the-same-as-init-6/comment-page-1/#comment-147</link>
		<dc:creator>Andrew</dc:creator>
		<pubDate>Thu, 24 Sep 2009 02:52:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.vReference.com/?p=383#comment-147</guid>
		<description>That has not been my experience in Debian and CentOS. The following is the same on both Debian Unstable (sid) and CentOS 5.3

# which reboot
/sbin/reboot

# file /sbin/reboot
/sbin/reboot: symbolic link to `halt&#039;

When you &quot;man halt&quot; (or &quot;man reboot&quot;), you will find the following paragraph in both distributions:

If halt or reboot is called when the system is not in runlevel 0 or 6, in other words when  it&#039;s  running  normally, shutdown will be invoked instead (with the -h or -r flag). For more info see the shutdown(8) manpage.</description>
		<content:encoded><![CDATA[<p>That has not been my experience in Debian and CentOS. The following is the same on both Debian Unstable (sid) and CentOS 5.3</p>
<p># which reboot<br />
/sbin/reboot</p>
<p># file /sbin/reboot<br />
/sbin/reboot: symbolic link to `halt&#8217;</p>
<p>When you &#8220;man halt&#8221; (or &#8220;man reboot&#8221;), you will find the following paragraph in both distributions:</p>
<p>If halt or reboot is called when the system is not in runlevel 0 or 6, in other words when  it&#8217;s  running  normally, shutdown will be invoked instead (with the -h or -r flag). For more info see the shutdown(8) manpage.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
