This one time, at band camp, Sven Riedel said:
> clamav-freshclam-0.86.2-1_i386.deb changes /etc/clamav/freshclam.conf's
> permissions to 0744 during installation. freshclam
> will refuse to start unless the configuration files permissions are
> 0700 if the HTTPProxyPassword option is used in the configuration
> file.
> 
> To reproduce:
> # chmod 0700 /etc/clamav/freshclam.conf
> # dpkg --force-confdef --force-confold -i \
>      clamav-freshclam-0.86.2-1_i386.deb

dpkg does nothandle any of the conffiles in the clamav suite.  These
options should have no effect.

> # ls -l /etc/clamav/freshclam.conf

This is unreproducable here.  I manually added a username and password,
and then did it via debconf.  Both times, if there was a password
present, the postinst chmod'ed the file to 0600.  If there was no
password, the postinst chmod'ed it 0644.

Can I get the (munged) contents of your file?  I would also appreciate
it if you could edit /var/lib/dpkg/info/clamav-freshclam.config and
/var/lib/dpkg/info/clamav-freshclam.postinst, and add 
set -x 

as the second line in the file (immediately below #!/bin/sh, in other
words)

and then send me the output of `dpkg-reconfigure clamav-freshclam`

There will be a fair amount of output, so you may want to use script or
something to capture all of it.

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

Attachment: signature.asc
Description: Digital signature

Reply via email to