Verified proposed version is working properly with the following

# lxc launch images:ubuntu/bionic test-success
# lxc exec test-success bash

# apt update && apt dist-upgrade -y
# apt install -y apparmor apparmor-utils wget

- Install clamav packages of version 1 before current in bionic

# wget 
https://launchpad.net/~ubuntu-security-proposed/+archive/ubuntu/ppa/+build/19629559/+files/clamav-freshclam_0.102.4+dfsg-0ubuntu0.18.04.1_amd64.deb
 
https://launchpad.net/~ubuntu-security-proposed/+archive/ubuntu/ppa/+build/19629559/+files/clamav-milter_0.102.4+dfsg-0ubuntu0.18.04.1_amd64.deb
 
https://launchpad.net/~ubuntu-security-proposed/+archive/ubuntu/ppa/+build/19629559/+files/clamav-testfiles_0.102.4+dfsg-0ubuntu0.18.04.1_all.deb
 
https://launchpad.net/~ubuntu-security-proposed/+archive/ubuntu/ppa/+build/19629559/+files/clamdscan_0.102.4+dfsg-0ubuntu0.18.04.1_amd64.deb
 
https://launchpad.net/~ubuntu-security-proposed/+archive/ubuntu/ppa/+build/19629559/+files/libclamav-dev_0.102.4+dfsg-0ubuntu0.18.04.1_amd64.deb
 
https://launchpad.net/~ubuntu-security-proposed/+archive/ubuntu/ppa/+build/19629559/+files/libclamav9_0.102.4+dfsg-0ubuntu0.18.04.1_amd64.deb
 
https://launchpad.net/~ubuntu-security-proposed/+archive/ubuntu/ppa/+build/19629559/+files/clamav-daemon_0.102.4+dfsg-0ubuntu0.18.04.1_amd64.deb
 
https://launchpad.net/~ubuntu-security-proposed/+archive/ubuntu/ppa/+build/19629559/+files/clamav-docs_0.102.4+dfsg-0ubuntu0.18.04.1_all.deb
 
https://launchpad.net/~ubuntu-security-proposed/+archive/ubuntu/ppa/+build/19629559/+files/clamav-base_0.102.4+dfsg-0ubuntu0.18.04.1_all.deb
# apt install -y ./*

- enforce apparmor profile for freshclam

# aa-enforce /usr/bin/freshclam

- Enable proposed and update to proposed version

# cat <<EOF >/etc/apt/sources.list.d/ubuntu-$(lsb_release -cs)-proposed.list
deb http://archive.ubuntu.com/ubuntu/ $(lsb_release -cs)-proposed restricted 
main
EOF

# apt update && apt upgrade -y

- Check status of freshclam and notice that it now starts properly

# systemctl status clamav-freshclam

● clamav-freshclam.service - ClamAV virus database updater
   Loaded: loaded (/lib/systemd/system/clamav-freshclam.service; enabled; 
vendor preset: enabled)
  Drop-In: /run/systemd/system/clamav-freshclam.service.d
           └─zzz-lxc-service.conf
   Active: active (running) since Wed 2022-01-12 17:44:12 UTC; 33s ago
     Docs: man:freshclam(1)
           man:freshclam.conf(5)
           https://www.clamav.net/documents
 Main PID: 9765 (freshclam)
    Tasks: 1 (limit: 19005)
   CGroup: /system.slice/clamav-freshclam.service
           └─9765 /usr/bin/freshclam -d --foreground=true

Jan 12 17:44:12 test-success freshclam[9765]: Wed Jan 12 17:44:12 2022 -> 
^Local version: 0.103.2 Recommended version: 0.103.5
Jan 12 17:44:12 test-success freshclam[9765]: Wed Jan 12 17:44:12 2022 -> DON'T 
PANIC! Read https://www.clamav.net/documents/upgrading-clamav
Jan 12 17:44:12 test-success freshclam[9765]: Wed Jan 12 17:44:12 2022 -> 
daily.cvd database is up-to-date (version: 26420, sigs: 1970864, f-level: 90, 
builder: raynman)
Jan 12 17:44:12 test-success freshclam[9765]: Wed Jan 12 17:44:12 2022 -> 
main.cvd database is up-to-date (version: 62, sigs: 6647427, f-level: 90, 
builder: sigmgr)
Jan 12 17:44:12 test-success freshclam[9765]: Wed Jan 12 17:44:12 2022 -> 
bytecode.cvd database is up-to-date (version: 333, sigs: 92, f-level: 63, 
builder: awillia2)


** Tags removed: verification-needed-bionic
** Tags added: verification-done-bionic

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1925182

Title:
  ERROR: Can't open /var/log/clamav/freshclam.log in append mode (check
  permissions!)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/clamav/+bug/1925182/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to