Thank you.  That helps.  Do I need to repack the daily.cvd after applying the 
cdiff before placing it in /var/lib/clamav?  If so, will it still work since I 
cannot sign it with a clamav cert?

Art

--------------------------------------------
On Mon, 4/28/14, Shawn Webb <sw...@sourcefire.com> wrote:

 Subject: Re: [clamav-users] Manual cdiff update
 To: "ClamAV users ML" <clamav-users@lists.clamav.net>
 Date: Monday, April 28, 2014, 2:48 PM
 
 On Fri, Apr 25, 2014 at
 8:20 PM, Arthur Snyder <snyd...@yahoo.com>
 wrote:
 
 > I am trying to
 manually update a daily.cvd file with a daily-xx.cdiff
 > file.   I know I can just
 download the latest daily.cvd.  I know I can just
 > run freshclam and update.  That is not
 the point.
 >
 > I run
 sigtool --verify-cdiff daily-xxx.cdiff daily.cvd and it
 states the
 > cdiff file correctly
 applies.  However, if I run sigtool --run-cdiff
 > daily-xxx.cdiff it states can't open
 file daily.info for reading.  I have
 >
 run the commands on relatively fresh daily.cvd files so I
 know the file it
 > good.  I run sigtool
 -i daily.cvd and it validates the file.  daily.cvd and
 > daily-xxx.cdiff are in the same directory
 and I execute sigtool from the
 > same
 directory.  Permissions are set correctly and it does not
 matter if I
 > run the sigtool command as
 root or not.  It is as if the run option cannot
 > locate the daily.cvd file whereas the
 verify function has the daily.cvd
 > file
 specified.  It seems simple.  What am I missing?  Thank
 you for the
 > help.
 >
 
 Hey
 Arthur,
 
 Before you apply a
 cdiff, you have to unpack the database for which it
 applies into a directory. You can follow this
 procedure to manually apply a
 cdiff to daily
 (and adopt it to your circumstances, of course):
 
 1. mkdir /tmp/cvd
 2. cd /tmp/cvd
 3. sigtool
 --unpack-current=daily
 4. sigtool
 --apply-cdiff=/path/to/downloaded/cdiff
 
 If you have any further questions, comments, or
 concerns, please let me
 know.
 
 Thanks,
 
 Shawn
 _______________________________________________
 Help us build a comprehensive ClamAV guide:
 https://github.com/vrtadmin/clamav-faq
 http://www.clamav.net/support/ml
 
_______________________________________________
Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq
http://www.clamav.net/support/ml

Reply via email to