<?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=3083&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / starting clamav-daemon takes loong time]]></title>
		<link>http://dev1galaxy.org/viewtopic.php?id=3083</link>
		<description><![CDATA[The most recent posts in starting clamav-daemon takes loong time.]]></description>
		<lastBuildDate>Thu, 26 Sep 2019 20:14:10 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[starting clamav-daemon takes loong time]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=18095#p18095</link>
			<description><![CDATA[<p>I installed devuan ascii (upgrading from debian wheezy...).</p><p>After this starting my machine takes really long because starting clamav-daemon takes much time.<br />Found no hint on internet. Tried some things after looking into the source.</p><p>The problem is that daemonizing happens after reading the database, so starting via start-stop-daemon<br />blocks the init script.</p><p>Tried no to use to fork start-stop-daemon instead and this gives me the old start behaviour back.</p><p>I changed in /etc/init.d/clamav-daemon from:</p><p>&#160; &#160; start-stop-daemon --start --oknodo -c $User --exec $DAEMON --pidfile $THEPIDFILE --quiet -- -c $CLAMAVCONF --pid=$THEPIDFILE</p><p>to this:</p><p>&#160; &#160; start-stop-daemon --start --oknodo -c $User --background --exec $DAEMON --pidfile $THEPIDFILE --quiet -- --foreground -c $CLAMAVCONF --pid=$THEPIDFILE</p><p>With this change start-stop-daemon forks and this fork starts clamd in forground. clamd then can load the database in forked proces and<br />does not block the init script anymore.</p><p>Is this a bug report worth? <br />Which bug tracker?</p><p>With kind regards<br />Stefan</p>]]></description>
			<author><![CDATA[dummy@example.com (swh)]]></author>
			<pubDate>Thu, 26 Sep 2019 20:14:10 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=18095#p18095</guid>
		</item>
	</channel>
</rss>
