hey stephen,

On Thu, May 12, 2005 at 09:22:50AM -0400, Stephen Gran wrote:
> This one time, at band camp, [EMAIL PROTECTED] said:
> > while doing the setup step for the upgrade of clamav-daemon,
> > the process forks to ucf which hangs waiting for user input.
> 
> Not here, at least.  Can you provide any additional detail?  How
> you came to this conclusion?  A way to reproduce?  I am afraid I am
> going to need more than that to find and fix this.

so i was running a woody system with a few backports (postfix, mostly),
and was doing a dist-upgrade.
clamav-daemon was coming in as version 0.84-1.
the process hung at "Setting up clamav-daemon...",
dpkg strace'd to be a fork/wait4.
the particular command it made a call to was:

  /usr/bin/ucf --three-way --debconf-ok /var/lib/clamav/clamdrotate.debconf 
/etc/logrotate.d/clamav-daemon

which strace'd to be waiting in read(0, ...),
which is stdin.
that, when i ran it manually,
was sitting at the familiar blue menu of "yes, no, or diff" on some
config file in /etc/clamav/ which i must have changed.

i think it was that i had changed a config file that led to it not
working.
after i had run the command manually and ran dpkg --configure -a,
the clamav init script was complaining about StreamSaveToDisk not
being a recognized option,
which i then commented out,
so i must have missed something by running ucf manually...
my /etc/clamav/ dir now has a clamd.conf, clamd.conf.dpkg-dist and
clamav.conf.dpkg-old,
so it looks like there was at least a config file renaming between
versions.

i don't know about reporducing it,
as that was the only system i had clamav installed on,
and i don't know what version i was upgrading from.
i might have a backup of the entire system somewhere i could restore
from to learn more about the original environment.
i'll look for that.
is there a log file dpkg puts information into that would be useful to
you?

thanks, good luck



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to