Activity log for bug #1590688

Date Who What changed Old value New value Message
2016-06-09 09:10:52 Eero bug added bug
2016-06-09 13:14:51 Robie Basak bug added subscriber Ubuntu Server Team
2016-06-09 13:14:53 Robie Basak bug added subscriber Robie Basak
2016-06-09 13:14:55 Robie Basak clamav (Ubuntu): importance Undecided High
2016-06-09 13:14:59 Robie Basak tags amd64 apport-bug xenial amd64 apport-bug server-next xenial
2016-06-14 16:43:20 Christian Ehrhardt  clamav (Ubuntu): assignee ChristianEhrhardt (paelzer)
2016-06-22 12:46:44 Christian Ehrhardt  bug watch added http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=827909
2016-06-22 12:46:44 Christian Ehrhardt  bug task added clamav (Debian)
2016-06-22 14:11:30 Bug Watch Updater clamav (Debian): status Unknown New
2016-06-30 16:11:48 Launchpad Janitor clamav (Ubuntu): status New Confirmed
2016-07-07 07:21:33 Christian Ehrhardt  nominated for series Ubuntu Xenial
2016-07-07 07:54:06 Christian Ehrhardt  description Steps to reproduce: 1. Fresh 16.04 Server installation 2. "sudo apt-get install clamav-daemon clamav-freshclam" 3. ClamAV doesn't start even though it should. $ systemctl status clamav-daemon ● clamav-daemon.service - Clam AntiVirus userspace daemon Loaded: loaded (/lib/systemd/system/clamav-daemon.service; enabled; vendor preset: enabled) Active: inactive (dead) Condition: start condition failed at Thu 2016-06-09 11:58:19 EEST; 7min ago Docs: man:clamd(8) man:clamd.conf(5) http://www.clamav.net/lang/en/doc/ $ systemctl status clamav-freshclam.service ● clamav-freshclam.service - ClamAV virus database updater Loaded: loaded (/lib/systemd/system/clamav-freshclam.service; enabled; vendor preset: enabled) Active: inactive (dead) Docs: man:freshclam(1) man:freshclam.conf(5) http://www.clamav.net/lang/en/doc/ Also directory /var/run/clamav/ mentioned in /etc/clamav/clamd.conf seems to be missing. ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: clamav-daemon 0.99+dfsg-1ubuntu1 ProcVersionSignature: Ubuntu 4.4.0-22.40-generic 4.4.8 Uname: Linux 4.4.0-22-generic x86_64 ApportVersion: 2.20.1-0ubuntu2.1 Architecture: amd64 Date: Thu Jun 9 12:00:59 2016 EcryptfsInUse: Yes InstallationDate: Installed on 2016-06-09 (0 days ago) InstallationMedia: Ubuntu-Server 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.3) SourcePackage: clamav UpgradeStatus: No upgrade log present (probably fresh install) [Impact] * Installing clamav the user expects things start to run * Naturally the daemon can only run after the virus-database is updated (conditions in systemd service) * But the freshclam service to update the virus-db is not starting either since the move to systemd (Regression to old behavior) [Test Case] * (enable proposed if needed) * apt-get install clamav-freshclam * systemctl status clamav-freshclam.service * this should show "active" (fixed) and not just "loaded" (broken) [Regression Potential] * The fix is fairly straightforward so there shouldn't be a lot. But it affects postinst and while not changing, it has to move some code there and might affect something in postinst I missed to think about. * It worked for adt in Y & X and for my manual tests in LXD containers fine [Other Info] * This is (intentionally) only addressing the regression for now. Once fixed we think of splitting the part of auto-starting clamav- daemon later on once the DB is ready Steps to reproduce: 1. Fresh 16.04 Server installation 2. "sudo apt-get install clamav-daemon clamav-freshclam" 3. ClamAV doesn't start even though it should. $ systemctl status clamav-daemon ● clamav-daemon.service - Clam AntiVirus userspace daemon    Loaded: loaded (/lib/systemd/system/clamav-daemon.service; enabled; vendor preset: enabled)    Active: inactive (dead) Condition: start condition failed at Thu 2016-06-09 11:58:19 EEST; 7min ago      Docs: man:clamd(8)            man:clamd.conf(5)            http://www.clamav.net/lang/en/doc/ $ systemctl status clamav-freshclam.service ● clamav-freshclam.service - ClamAV virus database updater    Loaded: loaded (/lib/systemd/system/clamav-freshclam.service; enabled; vendor preset: enabled)    Active: inactive (dead)      Docs: man:freshclam(1)            man:freshclam.conf(5)            http://www.clamav.net/lang/en/doc/ Also directory /var/run/clamav/ mentioned in /etc/clamav/clamd.conf seems to be missing. ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: clamav-daemon 0.99+dfsg-1ubuntu1 ProcVersionSignature: Ubuntu 4.4.0-22.40-generic 4.4.8 Uname: Linux 4.4.0-22-generic x86_64 ApportVersion: 2.20.1-0ubuntu2.1 Architecture: amd64 Date: Thu Jun 9 12:00:59 2016 EcryptfsInUse: Yes InstallationDate: Installed on 2016-06-09 (0 days ago) InstallationMedia: Ubuntu-Server 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.3) SourcePackage: clamav UpgradeStatus: No upgrade log present (probably fresh install)
2016-07-07 11:22:46 Christian Ehrhardt  attachment added upload for yakkety https://bugs.launchpad.net/ubuntu/+source/clamav/+bug/1590688/+attachment/4696814/+files/fix-bug1590688-yakkety.debdiff
2016-07-07 11:23:07 Christian Ehrhardt  attachment added upload for xenial https://bugs.launchpad.net/ubuntu/+source/clamav/+bug/1590688/+attachment/4696815/+files/fix-bug1590688-xenial.debdiff
2016-07-07 11:25:46 Christian Ehrhardt  bug added subscriber Ubuntu Sponsors Team
2016-07-18 13:29:09 Christian Ehrhardt  attachment added upload for yakkety v2 https://bugs.launchpad.net/ubuntu/+source/clamav/+bug/1590688/+attachment/4702846/+files/fix-bug1590688-yakkety.debdiff
2016-07-18 13:29:32 Christian Ehrhardt  attachment added upload forxenial v2 https://bugs.launchpad.net/ubuntu/+source/clamav/+bug/1590688/+attachment/4702847/+files/fix-bug1590688-xenial.debdiff
2016-07-18 13:29:41 Christian Ehrhardt  attachment removed upload for yakkety https://bugs.launchpad.net/ubuntu/+source/clamav/+bug/1590688/+attachment/4696814/+files/fix-bug1590688-yakkety.debdiff
2016-07-18 13:29:49 Christian Ehrhardt  attachment removed upload for xenial https://bugs.launchpad.net/ubuntu/+source/clamav/+bug/1590688/+attachment/4696815/+files/fix-bug1590688-xenial.debdiff
2016-07-18 14:04:47 Robie Basak bug task added clamav (Ubuntu Xenial)
2016-07-18 14:13:37 Robie Basak clamav (Ubuntu): status Confirmed Fix Committed
2016-07-18 14:13:39 Robie Basak removed subscriber Ubuntu Sponsors Team
2016-07-18 14:15:58 Robie Basak clamav (Ubuntu Xenial): status New Triaged
2016-07-18 17:11:10 Launchpad Janitor clamav (Ubuntu): status Fix Committed Fix Released
2016-07-19 15:52:28 Robie Basak clamav (Ubuntu Xenial): status Triaged In Progress
2016-07-21 22:09:55 Brian Murray clamav (Ubuntu Xenial): status In Progress Fix Committed
2016-07-21 22:09:57 Brian Murray bug added subscriber Ubuntu Stable Release Updates Team
2016-07-21 22:10:04 Brian Murray bug added subscriber SRU Verification
2016-07-21 22:10:11 Brian Murray tags amd64 apport-bug server-next xenial amd64 apport-bug server-next verification-needed xenial
2016-08-11 21:58:30 Bug Watch Updater clamav (Debian): status New Fix Released
2016-08-29 06:36:06 Christian Ehrhardt  tags amd64 apport-bug server-next verification-needed xenial amd64 apport-bug server-next verification-done xenial
2016-08-31 15:06:35 Launchpad Janitor clamav (Ubuntu Xenial): status Fix Committed Fix Released
2016-08-31 15:06:42 Chris J Arges removed subscriber Ubuntu Stable Release Updates Team