<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="http://dev1galaxy.org/extern.php?action=feed&amp;tid=5767&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / [SOLVED] runit as init and startup order]]></title>
		<link>http://dev1galaxy.org/viewtopic.php?id=5767</link>
		<description><![CDATA[The most recent posts in [SOLVED] runit as init and startup order.]]></description>
		<lastBuildDate>Tue, 27 Jun 2023 13:53:39 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: [SOLVED] runit as init and startup order]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=42675#p42675</link>
			<description><![CDATA[<p>Marking solved and answering myself.&#160; I misread the /lib/runit/run_sysv_scripts.&#160; It runs the init script only if the corresponding service is NOT found in /etc/sv.</p>]]></description>
			<author><![CDATA[dummy@example.com (bigcat)]]></author>
			<pubDate>Tue, 27 Jun 2023 13:53:39 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=42675#p42675</guid>
		</item>
		<item>
			<title><![CDATA[[SOLVED] runit as init and startup order]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=42669#p42669</link>
			<description><![CDATA[<p>I have a devuan (chimaera) system with runit used as init.</p><p>The system has dnsmasq installed and it is used as a local dns server, /etc/resolv.conf contains 127.0.0.1 as a nameserver:</p><div class="codebox"><pre><code>domain xyz
search xyz
nameserver 127.0.0.1</code></pre></div><p>Looking at the init scripts in /etc/rc2.d, I see S03dnsmasq and S03ntpsec (the first file is before the second file in alphabetical order).</p><p>I suspect ntpsec is started before dnsmasq, because as soon as I modified /etc/resolv.conf to use nameserver 127.0.0.1, the machine started to hang for a few minutes on boot&#160; with &quot;starting ntp&quot; message.</p><p>How is the startup order determined when running under runit? </p><p>The second mystery is the file /lib/runit/run_sysv_scripts which seems to run scripts from /etc/rc2.d in alphabetical order but only if&#160; a corresponding file is present under /etc/sv.&#160; &#160;/etc/sv/dnsmasq is present, but I don&#039;t see /etc/sv/ntpsec. How is the latter started during boot? </p><p>Thanks.</p>]]></description>
			<author><![CDATA[dummy@example.com (bigcat)]]></author>
			<pubDate>Tue, 27 Jun 2023 02:27:48 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=42669#p42669</guid>
		</item>
	</channel>
</rss>
