Package: release.debian.org Severity: normal Tags: jessie User: release.debian....@packages.debian.org Usertags: pu
There's copy/paste error in the clamav-daemon postinst that will cause an upgrade failure if a custom pidfile location is in use. We didn't push a fix for this earlier, since we thought the bug would only be triggered very rarely. Yesterday, Ubuntu had a new release with a clamav version that had this same error and got stacks of bug reports. I expect Debian will be the same and our initial assessment that this would occur infrequently was wrong. The fix is trivial and has no regression risk (if somehow it's still wrong, it will just continue not to work). Given this seems to be rather more common that we thought, I'd like to get a fix out for Jessie most soon. Debdiff attached.
diff -Nru clamav-0.98.6+dfsg/debian/changelog clamav-0.98.6+dfsg/debian/changelog --- clamav-0.98.6+dfsg/debian/changelog 2015-01-28 13:20:20.000000000 -0500 +++ clamav-0.98.6+dfsg/debian/changelog 2015-04-24 14:57:15.000000000 -0400 @@ -1,3 +1,11 @@ +clamav (0.98.6+dfsg-1+deb8u1) jessie; urgency=medium + + [ Andreas Cadhalpun ] + * Fix clamav-daemon installability with custom PidFile. + Thanks to Andy Dorman for the bug report and patch. (Closes: #778507) + + -- Scott Kitterman <sc...@kitterman.com> Fri, 24 Apr 2015 14:55:42 -0400 + clamav (0.98.6+dfsg-1) unstable; urgency=high [ Sebastian Andrzej Siewior ] diff -Nru clamav-0.98.6+dfsg/debian/clamav-daemon.postinst.in clamav-0.98.6+dfsg/debian/clamav-daemon.postinst.in --- clamav-0.98.6+dfsg/debian/clamav-daemon.postinst.in 2015-01-28 13:20:20.000000000 -0500 +++ clamav-0.98.6+dfsg/debian/clamav-daemon.postinst.in 2015-04-24 14:57:25.000000000 -0400 @@ -392,7 +392,7 @@ fi fi # Preserve manually created, usually not needed options. - [ -n "$PidFile" ] && echo "PidFile $PidFile" >> $DEBCONFILE + [ -n "$PidFile" ] && echo "PidFile $PidFile" >> $DEBCONFFILE [ -n "$ExcludePath" ] && echo "ExcludePath $ExcludePath" >> $DEBCONFFILE [ -n "$VirusEvent" ] && echo "VirusEvent $VirusEvent" >> $DEBCONFFILE [ -n "$StreamMinPort" ] && echo "StreamMinPort $StreamMinPort" >> $DEBCONFFILE