From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 58345E00CE0; Sat, 6 Apr 2019 22:12:38 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low * trust * [141.84.69.5 listed in list.dnswl.org] * -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's * domain * -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature * 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily * valid Received: from mail.stusta.mhn.de (mail.stusta.mhn.de [141.84.69.5]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 0CAB9E00CC9 for ; Sat, 6 Apr 2019 22:12:36 -0700 (PDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) by mail.stusta.mhn.de (Postfix) with ESMTPSA id 44cMBB21bDz4q; Sun, 7 Apr 2019 07:12:34 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=stusta.de; s=default; t=1554613954; bh=5vxuYG/5q9j7h2CqCwDGuu4h4KkbBkGBb0DqATZ0r2U=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=pb30etw+umzjXiFwYJywEjp3fzLvANwqKfUQ8fY8+1OPNlKkw7mcu/3BaK+hI4P17 HsV/6Qc3LyKedM4k30Va9h26hH0NNZFEuIsxLnCR0ZuZlwoA3T9wPL2j/P1BO22Gyg mVrHLHQ+RErqaEcWkKYiquVCWDXCTxTKzPLgQNJYcQoXzuCRXkGJLngfvpgoUOT5Nm cICRYBnPBK2GZDChQsgG5NfUH04M/EFKrwMWSwrPChyVdEDmyV08P7McPv+HcdU4Cg PSkcrenGOsf+c6bO00UNlnxjYeq528N2yQ71aS6Fg+NGpCc/5H1bdVDzb52/VdRkAD Q0JrWdZB9zSucQGpe8fFikHrBRaiDwB5mziDgdFaqVcT6ulrI8LYo1T8veX9d6LWVe N2RRZ9P82SIOLGWhtADTJYiQYHHviJhX+CSHe8pNBZUd4oaMjggL4hqmRh2mfAxKEC qWSLK86szXyy/1uDXDOpgVRR8BiK+i6FEf/tz26n9xKlrmBKT7utSrNusMHFkUxODY IjJt9zalBLIozsEZmxvMp64SMIoYuQgb9NtBz+4FBXMuanVFKiqQzMqn2lZf0spiU3 uvWDLaGBDFwcSaibssY0A1CYRvEG7pItH053Ci9fMS3KabodDdB2kia4gd8bd6O99X TJZUbfDEFKz18Mtpr5jEpUEs= Date: Sun, 7 Apr 2019 08:12:32 +0300 From: Adrian Bunk To: akuster808 Message-ID: <20190407051232.GA30195@localhost> References: <1554561940-31363-1-git-send-email-akuster808@gmail.com> <20190406150140.GA25634@localhost> MIME-Version: 1.0 In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Cc: yocto@yoctoproject.org Subject: Re: [meta-security][PATCH] clamav: freshclam need bind to run X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Apr 2019 05:12:38 -0000 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline On Sun, Apr 07, 2019 at 01:38:38AM +0530, akuster808 wrote: > > > On 4/6/19 8:31 PM, Adrian Bunk wrote: > > On Sat, Apr 06, 2019 at 08:15:40PM +0530, Armin Kuster wrote: > >> Add it to the rdepends for that package > >> > >> Signed-off-by: Armin Kuster > >> --- > >> recipes-security/clamav/clamav_0.99.4.bb | 2 ++ > >> 1 file changed, 2 insertions(+) > >> > >> diff --git a/recipes-security/clamav/clamav_0.99.4.bb b/recipes-security/clamav/clamav_0.99.4.bb > >> index 6219d9e..dbe903f 100644 > >> --- a/recipes-security/clamav/clamav_0.99.4.bb > >> +++ b/recipes-security/clamav/clamav_0.99.4.bb > >> @@ -152,3 +152,5 @@ RCONFLICTS_${PN} += "${PN}-systemd" > >> SYSTEMD_SERVICE_${PN} = "${BPN}.service" > >> > >> RDEPENDS_${PN} += "openssl ncurses-libncurses libbz2 ncurses-libtinfo clamav-freshclam clamav-libclamav" > >> + > >> +RDEPENDS_freshclam = "bind" > > freshclam depending on a DNS server looks very wrong. > got talk to clamav folks then. > > > > > What is the actual problem? > > ClamAV update process started at Sat Apr 6 14:59:25 2019 > WARNING: Can't query current.cvd.clamav.net > WARNING: Invalid DNS reply. Falling back to HTTP mode. > ERROR: Can't get information about database.clamav.net: Temporary failure in name resolution > ERROR: Can't download main.cvd from database.clamav.net > Giving up on database.clamav.net... > > because > > Use DNS to verify virus database version. Freshclam uses DNS TXT records > to verify database and software versions > > therefor I am including bind. freshclam needing DNS information makes sense, which means it must be configured how to access a DNS server. On the local machine you need only DNS client funtionality, just like every user needs for a web browser. Forcing installation of a DNS server is not the correct solution when the actual problem is just a configuration issue on the machine where you were trying it. > - Armin cu Adrian -- "Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. Buck - Dragon Seed