This one time, at band camp, Marcus C. Gottwald said:
> No mention of a "chown" in there. Looks like the test
> in line 85 failed because DatabaseDirectory in
> "/etc/clamav/clamd.conf" is set to "/var/lib/clamav/"
> -- which is not equal to "/var/lib/clamav".

Very good - I didn't think of the possibility of that, so I have now
patched it to do (I think) the right thing.  Try the following:

     if [ -n "$data" ]; then
+      if echo "$data" | egrep -q '/$'; then
+        data=`echo "$data" | sed -e 's@/$@@'`
+      fi
       datadir="$data"

In clamav-base.postinst.  It should fix it to do the right thing in all 
cases now.

Thanks for the debugging work,
-- 
 -----------------------------------------------------------------
|   ,''`.                                            Stephen Gran |
|  : :' :                                        [EMAIL PROTECTED] |
|  `. `'                        Debian user, admin, and developer |
|    `-                                     http://www.debian.org |
 -----------------------------------------------------------------

Attachment: pgpCLECO2jeTQ.pgp
Description: PGP signature

Reply via email to