This one time, at band camp, Jesse Molina said:
> When installing new clamav-freshclam, I get the following;
> 
> [EMAIL PROTECTED]>sudo dpkg --configure -a
> Setting up clamav-freshclam (0.90.3-1) ...
> Replacing config file /etc/cron.d/clamav-freshclam with new version
> Starting database update:
> Password:
> 
> 
> At this point, I can do nothing and just abort the configure.  I suspect 
> improper use of su.

This is the init script snippet:

case "$1" in
  no-daemon)
  su "$User" -p -s /bin/sh -c "freshclam -l $UpdateLogFile --datadir 
$DatabaseDirectory"

As you can see, it's freshclam that echo's "Starting database update:",
not the init script.  Which means that at the point you get a password
prompt, freshclam is already running.  Since there is no password
prompting going on in freshclam itself, I have no idea how you've
managed to do this.

Can you send the output of 
sh -x /etc/init.d/clamav-freshclam no-daemon
?

If that doesn't give us anything useful, I may ask for more debugging,
but I really don't see how this is happening.
-- 
 -----------------------------------------------------------------
|   ,''`.                                            Stephen Gran |
|  : :' :                                        [EMAIL PROTECTED] |
|  `. `'                        Debian user, admin, and developer |
|    `-                                     http://www.debian.org |
 -----------------------------------------------------------------

Attachment: signature.asc
Description: Digital signature

Reply via email to