group.of.nepali.translators team mailing list archive
-
group.of.nepali.translators team
-
Mailing list archive
-
Message #07249
[Bug 1590688] Re: clamav-daemon doesn't start after installation
This bug was fixed in the package clamav - 0.99+dfsg-1ubuntu1.2
---------------
clamav (0.99+dfsg-1ubuntu1.2) xenial; urgency=medium
* Ensure freshclam service is run after package install (LP: #1590688)
-- Christian Ehrhardt <christian.ehrhardt@xxxxxxxxxxxxx> Thu, 07 Jul
2016 09:22:31 +0200
** Changed in: clamav (Ubuntu Xenial)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1590688
Title:
clamav-daemon doesn't start after installation
Status in clamav package in Ubuntu:
Fix Released
Status in clamav source package in Xenial:
Fix Released
Status in clamav package in Debian:
Fix Released
Bug description:
[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)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/clamav/+bug/1590688/+subscriptions