This one time, at band camp, martin chase said: > 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
What version of ucf do you have installed? ucf of a recent version shouldn't hang with --debconf-ok, but I may have to grab a newer version for my backport tree to make sure this doesn't happen. > 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. clamav.conf got renamed to clamd.conf in the 0.8x series, yes. It is messy, but what can you do. > 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? No, unfortunately. You could look at the clamav logs to see what the previous version was - it gets logged at startup. > thanks, good luck So, this sounds very much like a ucf bug to me so far. Let me know what version you have installed, and I'll try to work out if there are any relevant changes since then. Also, can you keep the bug report in the cc? Hitting reply to all or the equivalent in your mail client will do so. Thanks, -- ----------------------------------------------------------------- | ,''`. Stephen Gran | | : :' : [EMAIL PROTECTED] | | `. `' Debian user, admin, and developer | | `- http://www.debian.org | -----------------------------------------------------------------
pgpkr45I0CCfs.pgp
Description: PGP signature