<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>bits &#124; andy smith&#039;s blog &#187; Tips</title>
	<atom:link href="http://andys.org.uk/bits/category/tips/feed/" rel="self" type="application/rss+xml" />
	<link>http://andys.org.uk/bits</link>
	<description>random stuff from the mind of a twenty-something professional geek</description>
	<lastBuildDate>Sat, 21 Jan 2012 18:36:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Fixing Likewise startup scripts on Debian Squeeze</title>
		<link>http://andys.org.uk/bits/2010/02/11/fixing-likewise-startup-scripts-on-debian-squeeze/</link>
		<comments>http://andys.org.uk/bits/2010/02/11/fixing-likewise-startup-scripts-on-debian-squeeze/#comments</comments>
		<pubDate>Thu, 11 Feb 2010 00:13:35 +0000</pubDate>
		<dc:creator>Andy Smith</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[chkconfig]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[likewise]]></category>
		<category><![CDATA[squeeze]]></category>
		<category><![CDATA[startup]]></category>

		<guid isPermaLink="false">http://andys.org.uk/bits/?p=47</guid>
		<description><![CDATA[Just a quick one, this&#8230; If you install Likewise Open on Debian Squeeze, you may notice that it doesn&#8217;t start on boot-up. The reason is because the new dependency-based boot sequence doesn&#8217;t like the init scripts Likewise provides. Luckily, it&#8217;s pretty easy to fix. First, make sure you have chkconfig installed (apt-get install chkconfig if [...]]]></description>
			<content:encoded><![CDATA[<p>Just a quick one, this&#8230;</p>
<p>If you install <a href="http://www.likewise.com/">Likewise Open</a> on <a href="http://www.debian.org/releases/squeeze/">Debian Squeeze</a>, you may notice that it doesn&#8217;t start on boot-up. The reason is because the new dependency-based boot sequence doesn&#8217;t like the init scripts Likewise provides.</p>
<p>Luckily, it&#8217;s pretty easy to fix. First, make sure you have <a href="http://articles.techrepublic.com.com/5100-10878_11-5033660.html">chkconfig</a> installed (<code>apt-get install chkconfig</code> if not), change into your <code>/etc/init.d</code> directory and do this:-</p>
<blockquote>
<pre>for INIT in lsassd lwiod eventlogd dcerpcd netlogond lwregd srvsvcd; do \
   echo "Fixing '${INIT}'..."; \
   sed -i -e 's/^#LWI_STARTUP_TYPE_SUSE#/#/g' \
      -e 's/Default-Start: 3 5/Default-Start: 2 3 4 5/g' \
      -e 's/Default-Stop: 0 1 2 6/Default-Stop: 0 1 6/g' ${INIT}; \
done</pre>
<pre>for INIT in lsassd lwiod netlogond eventlogd dcerpcd; do \
   echo "Disabling ${INIT}..."; \
   chkconfig -d ${INIT}; \
done</pre>
<pre>for INIT in dcerpcd eventlogd netlogond lwiod lsassd; do \
   echo "Re-enabling ${INIT}..."; \
   chkconfig -a ${INIT}; \
done</pre>
</blockquote>
<p>This uncomments the SUSE parts of the init scripts, which chkconfig wants. It then calls chkconfig to first delete each entry, and then re-add it to make sure everything&#8217;s okay. Reboot, and you should have working domain authentication without having to manually start it up.</p>
]]></content:encoded>
			<wfw:commentRss>http://andys.org.uk/bits/2010/02/11/fixing-likewise-startup-scripts-on-debian-squeeze/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

