<?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>Libre Things &#187; update-rc.d</title>
	<atom:link href="http://positon.org/tag/update-rc-d/feed" rel="self" type="application/rss+xml" />
	<link>http://positon.org</link>
	<description></description>
	<lastBuildDate>Tue, 23 Feb 2016 20:01:11 +0000</lastBuildDate>
	<language>en-US</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.7.1</generator>
	<item>
		<title>Disable a service with update-rc.d under Debian (update resistant)</title>
		<link>http://positon.org/disable-a-service-with-update-rcd-under-debian-update-resistant</link>
		<comments>http://positon.org/disable-a-service-with-update-rcd-under-debian-update-resistant#comments</comments>
		<pubDate>Wed, 10 Feb 2010 18:38:00 +0000</pubDate>
		<dc:creator><![CDATA[dooblem]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[update-rc.d]]></category>

		<guid isPermaLink="false">http://positon.org:81/?p=86</guid>
		<description><![CDATA[The well known way to remove a service from system boot under Debian / Ubuntu, without removing the package: update-rc.d -f mysql remove This command removes all /etc/rc*/*mysql* symbolic links. At next boot, the service is not started. Problem: when you update the mysql package (aptitude update), symlinks are created again. Solution: in the last [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>The well known way to remove a service from system boot under Debian / Ubuntu, without removing the package:</p>
<pre>
update-rc.d -f mysql remove
</pre>
<p>This command removes all <code>/etc/rc*/*mysql*</code> symbolic links. At next boot, the service is not started.</p>
<p><ins>Problem</ins>: when you update the <code>mysql</code> package (<code>aptitude update</code>), symlinks are created again.</p>
<p><ins>Solution</ins>: in the last <code>update-rc.d</code> versions, there are <code>disable / enable</code> commands:</p>
<pre>
update-rc.d mysql disable
</pre>
<p>Useful if like me you only start apache or mysql some times for Web development. Also useful if you share files with Samba and only want to start the daemon occasionaly.</p>
<p><ins>Note</ins>: <code>update-rc.d --help</code> tells us that <code>The disable|enable API is not stable and might change in the future.</code></p>
<p><ins>References</ins>:</p>
<ul>
<li><a href="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=546580" title="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=546580">http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=546580</a></li>
<li><a href="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=67095" title="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=67095">http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=67095</a></li>
<li><code>man update-rc.d</code></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://positon.org/disable-a-service-with-update-rcd-under-debian-update-resistant/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
