<?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=4574&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / [SOLVED] Devuan, runit and Firewalld]]></title>
		<link>http://dev1galaxy.org/viewtopic.php?id=4574</link>
		<description><![CDATA[The most recent posts in [SOLVED] Devuan, runit and Firewalld.]]></description>
		<lastBuildDate>Mon, 14 Aug 2023 20:13:41 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: [SOLVED] Devuan, runit and Firewalld]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=43327#p43327</link>
			<description><![CDATA[<p>Hey thanks for your response,</p><p>Actually this is the crux of the problem. Runit IS starting firewalld. I&#039;ve got the service directory linked like so: /etc/sv/firewalld/ ---&gt; /etc/service/firewalld/. When I remove that link and reboot, firewalld doesn&#039;t run. When I relink it and reboot, voila it runs.</p><p>Using the original runnit service run file like so(/etc/sv/firewalld/run):<br />&#160; &#160; &#160;</p><div class="codebox"><pre><code>#!/bin/bash
     exec /usr/sbin/firewall</code></pre></div><p>Results in the aforementioned lines in the log about firewalld already running:</p><div class="codebox"><pre><code>     /var/log/firewalld:
     2023-08-14 15:04:31 FATAL ERROR: Not starting FirewallD, already running.
     2023-08-14 15:04:32 FATAL ERROR: Not starting FirewallD, already running.
     2023-08-14 15:04:33 FATAL ERROR: Not starting FirewallD, already running.
     2023-08-14 15:04:34 FATAL ERROR: Not starting FirewallD, already running.</code></pre></div><p>While putting the if/then statement in to see if it&#039;s already running results in nothing logged.</p><p>Here&#039;s another piece of this annoying puzzle: In both cases running sv status firewalld shows it as &quot;down&quot; when it is running:</p><div class="codebox"><pre><code>     # sv status firewalld
     run: firewalld: (pid 27290) 1s; down: log: 1s, normally up, want up
     # firewall-cmd --state
     running</code></pre></div><p>Reloading the service, stopping/starting, restarting, all don&#039;t affect anything except the error messages in the log.<br />Using </p><div class="codebox"><pre><code>     # sv stop firewalld
     ok: down: firewalld: 1s, normally up</code></pre></div><p>Results in the error messages no longer being written.</p><p>I think I failed to mention I&#039;m on Chimaera.<br />Thanks,<br />YB</p><p>P.S. I frickin love Devuan: any help is much appreciated and I hope to pay it forward once I get my bearings.</p>]]></description>
			<author><![CDATA[dummy@example.com (yeahbike)]]></author>
			<pubDate>Mon, 14 Aug 2023 20:13:41 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=43327#p43327</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Devuan, runit and Firewalld]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=43310#p43310</link>
			<description><![CDATA[<div class="quotebox"><blockquote><div><p>already running</p></div></blockquote></div><p>I guess your test works. Since it&#039;s already running, runit doesn&#039;t have to start it or log it. Find out why/how it&#039;s running already.</p>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Sun, 13 Aug 2023 17:52:41 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=43310#p43310</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Devuan, runit and Firewalld]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=43306#p43306</link>
			<description><![CDATA[<p>Hi all,</p><p>I&#039;m having a problem with the logging on this. Initially I was getting this over and over:<br />2023-08-12 12:21:45 FATAL ERROR: Not starting FirewallD, already running.</p><p>So I altered my service run file to check to see if the application was running before executing:<br />/etc/service/firewalld/run:<br />#!/bin/bash<br />if ! pgrep -x &quot;firewalld&quot; &gt; /dev/null<br />then<br />&#160; exec /usr/sbin/firewalld<br />fi</p><p>After this I&#039;m not getting anything in the logs at all, /var/log/firewalld is empty, as is /var/log/runit/firewalld/current.</p><p>Here&#039;s my service run file for the log:<br />/etc/service/firewalld/log/run:<br />#!/bin/sh<br />exec chpst -ulog svlogd -tt /var/log/firewalld</p><p>Any help would be much appreciated!</p>]]></description>
			<author><![CDATA[dummy@example.com (yeahbike)]]></author>
			<pubDate>Sat, 12 Aug 2023 20:44:20 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=43306#p43306</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Devuan, runit and Firewalld]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=32164#p32164</link>
			<description><![CDATA[<div class="quotebox"><blockquote><div><p>apt-get install firewalld<br />Reading package lists... Done<br />Building dependency tree... Done<br />Reading state information... Done<br />firewalld is already the newest version (0.9.3-2).</p></div></blockquote></div><p>I also installed firewall-applet and firewall-config</p><div class="quotebox"><blockquote><div><p>firewall-cmd --state<br />running</p></div></blockquote></div><p> Sorry, I have probably installed some dependencies that I forgot to mention. It works.</p>]]></description>
			<author><![CDATA[dummy@example.com (RIA77)]]></author>
			<pubDate>Sun, 17 Oct 2021 09:32:48 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=32164#p32164</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Devuan, runit and Firewalld]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=32161#p32161</link>
			<description><![CDATA[<p>So can we see the service file then? Is it from Artix? Have you checked the logs?</p>]]></description>
			<author><![CDATA[dummy@example.com (Head_on_a_Stick)]]></author>
			<pubDate>Sun, 17 Oct 2021 09:25:49 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=32161#p32161</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Devuan, runit and Firewalld]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=32158#p32158</link>
			<description><![CDATA[<p>Firewalld has been running on Artix linux, and it has been installed without gui on Devuan.<br /> Linked means<br />ln -s /etc/sv/&lt;service&gt; /etc/runit/runsvdir/default/</p>]]></description>
			<author><![CDATA[dummy@example.com (RIA77)]]></author>
			<pubDate>Sun, 17 Oct 2021 08:59:22 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=32158#p32158</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Devuan, runit and Firewalld]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=32155#p32155</link>
			<description><![CDATA[<div class="quotebox"><cite>RIA77 wrote:</cite><blockquote><div><p>Sucessfuly linked firewalld service</p></div></blockquote></div><p>What does that mean, exactly? Did you write your own service script? Looks like firewalld only supplies a systemd unit file.</p>]]></description>
			<author><![CDATA[dummy@example.com (Head_on_a_Stick)]]></author>
			<pubDate>Sun, 17 Oct 2021 08:50:52 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=32155#p32155</guid>
		</item>
		<item>
			<title><![CDATA[[SOLVED] Devuan, runit and Firewalld]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=32153#p32153</link>
			<description><![CDATA[<p>Hello and thank you for this distribution. <br /> Fresh install of XFCE Chimaera, how to make Firewalld running ?<br /> Sucessfuly linked firewalld service, but it appears that no firewalld is running.<br /> Thank you.</p>]]></description>
			<author><![CDATA[dummy@example.com (RIA77)]]></author>
			<pubDate>Sun, 17 Oct 2021 08:10:28 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=32153#p32153</guid>
		</item>
	</channel>
</rss>
