This one time, at band camp, Sven Riedel said: > > > # 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. > > Ok, this is weird: after the dpkg-reconfigure (and answering all of > the questions so that the configfiles contents should be duplicated) > I'm not getting the problem anymore. Not even with the dpkg -r /dpkg -i > combination - and I struggled with this problem for about an hour this > morning, so this definitely wasn't caffein-withdrawl induced > hallucinations... > > Does dpkg-reconfigure clamav-freshclam touch any file besides > /etc/clamav/freshclam.conf ?
It writes several temp files to /var/lib/clamav, and then calls ucf for a merge, followed by a (hopefully) chmod on the conffile if need be. The files that end up as conf files are /etc/clamav/freshclam.conf, /etc/logrotate.d/clamav-freeshclam, and (maybe) /var/lib/clamav/interfaces (I think) - that last is a hack addon for people who need to run freshclam from if-up.d, and probably should be in /etc/clamav. > > Can I get the (munged) contents of your file? > If I had made a backup of the conffile before, sure. :| > As it stands now, with me being unable to reproduce the problem either, > I don't think either the configfile or the output of dpkg-reconfigure > will help much at this point. > > I can install a fresh machine with an old version, following our update > path here and see if the problem surfaces again. But this will be after > the weekend. Please let me know how it goes. I am totally confused by this repotr, as I have never seen that very simple block of code blow up. Is there anything strange about the shell on that system (i.e., is it posh or ksh or something)? There may be a lurking XSI'ism blowing up, but that's all I can think of. -- ----------------------------------------------------------------- | ,''`. Stephen Gran | | : :' : [EMAIL PROTECTED] | | `. `' Debian user, admin, and developer | | `- http://www.debian.org | -----------------------------------------------------------------
signature.asc
Description: Digital signature