[Bug 1860217] Re: dpkg-reconfigure clamav-daemon in infinite loop
This bug was fixed in the package clamav - 0.102.2+dfsg-0ubuntu0.19.10.1 --- clamav (0.102.2+dfsg-0ubuntu0.19.10.1) eoan-security; urgency=medium * Updated to 0.102.2 to fix security issue (CVE-2020-3123) - debian/patches/*: synced patches with 0.102.2+dfsg-1. - debian/libclamav9.symbols: updated for new version. - debian/rules: bumped CL_FLEVEL to 113. -- Marc Deslauriers Tue, 11 Feb 2020 08:45:45 -0500 ** Changed in: clamav (Ubuntu Eoan) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1860217 Title: dpkg-reconfigure clamav-daemon in infinite loop To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/clamav/+bug/1860217/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1860217] Re: dpkg-reconfigure clamav-daemon in infinite loop
This bug was fixed in the package clamav - 0.102.2+dfsg-0ubuntu0.18.04.1 --- clamav (0.102.2+dfsg-0ubuntu0.18.04.1) bionic-security; urgency=medium * Updated to 0.102.2 to fix security issue (CVE-2020-3123) - debian/patches/*: synced patches with 0.102.2+dfsg-1. - debian/libclamav9.symbols: updated for new version. - debian/rules: bumped CL_FLEVEL to 113. -- Marc Deslauriers Tue, 11 Feb 2020 08:45:45 -0500 ** Changed in: clamav (Ubuntu Bionic) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1860217 Title: dpkg-reconfigure clamav-daemon in infinite loop To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/clamav/+bug/1860217/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1860217] Re: dpkg-reconfigure clamav-daemon in infinite loop
This bug was fixed in the package clamav - 0.102.2+dfsg-0ubuntu0.16.04.1 --- clamav (0.102.2+dfsg-0ubuntu0.16.04.1) xenial-security; urgency=medium * Updated to 0.102.2 to fix security issue (CVE-2020-3123) - debian/patches/*: synced patches with 0.102.2+dfsg-1. - debian/libclamav9.symbols: updated for new version. - debian/rules: bumped CL_FLEVEL to 113. -- Marc Deslauriers Tue, 11 Feb 2020 08:45:45 -0500 ** Changed in: clamav (Ubuntu Xenial) Status: Fix Committed => Fix Released ** CVE added: https://cve.mitre.org/cgi-bin/cvename.cgi?name=2020-3123 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1860217 Title: dpkg-reconfigure clamav-daemon in infinite loop To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/clamav/+bug/1860217/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1860217] Re: dpkg-reconfigure clamav-daemon in infinite loop
autopkgtest have been test with both : The current SRU'd package [clamav/0.102.1+dfsg-0ubuntu0.19.10.3]: The current SRU'd package -1 [clamav/0.102.1+dfsg-0ubuntu0.19.10.2]: https://autopkgtest.ubuntu.com/packages/pg-snakeoil/eoan/amd64 The same failures occurs in both, meaning the failure isn't introduce by this particular SRU. It looks like a test output mismatch against the expected test output. - Eric -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1860217 Title: dpkg-reconfigure clamav-daemon in infinite loop To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/clamav/+bug/1860217/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1860217] Re: dpkg-reconfigure clamav-daemon in infinite loop
autopkgtest have been test with both the current SRU'd package and curren SRU'd package -1: https://autopkgtest.ubuntu.com/packages/pg-snakeoil/eoan/amd64 The same failures occurs in both, meaning the failure isn't introduce by this particular SRU. It looks like a test output mismatch against the expected test output. - Eric -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1860217 Title: dpkg-reconfigure clamav-daemon in infinite loop To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/clamav/+bug/1860217/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1860217] Re: dpkg-reconfigure clamav-daemon in infinite loop
@cash.williams no worries I revert it back to "Fix Committed" ** Changed in: clamav (Ubuntu Xenial) Status: Fix Released => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1860217 Title: dpkg-reconfigure clamav-daemon in infinite loop To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/clamav/+bug/1860217/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1860217] Re: dpkg-reconfigure clamav-daemon in infinite loop
I was trying to see the various status for the 16.04 fix and clicked released on accident. A - I can't change it back to committed B - Why does my user have permission to change it in the first place! ** Changed in: clamav (Ubuntu Xenial) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1860217 Title: dpkg-reconfigure clamav-daemon in infinite loop To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/clamav/+bug/1860217/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1860217] Re: dpkg-reconfigure clamav-daemon in infinite loop
Focal uses postgresql-12: --- /usr/lib/postgresql/12/lib/pgxs/src/makefiles/../../src/test/regress/pg_regress --inputdir=./ --bindir='/usr/lib/postgresql/12/bin' --dbname=contrib_regression pg_snakeoil (using postmaster on localhost, port 5433) == dropping database "contrib_regression" == NOTICE: database "contrib_regression" does not exist, skipping DROP DATABASE == creating database "contrib_regression" == CREATE DATABASE ALTER DATABASE == running regression test queries== test pg_snakeoil ... ok 239 ms --- As oppose to Eoan using postgresql-11: --- /usr/lib/postgresql/11/lib/pgxs/src/makefiles/../../src/test/regress/pg_regress --inputdir=./ --bindir='/usr/lib/postgresql/11/bin' --dbname=contrib_regression pg_snakeoil (using postmaster on localhost, port 5433) == dropping database "contrib_regression" == NOTICE: database "contrib_regression" does not exist, skipping DROP DATABASE == creating database "contrib_regression" == CREATE DATABASE ALTER DATABASE == running regression test queries== test pg_snakeoil ... FAILED --- -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1860217 Title: dpkg-reconfigure clamav-daemon in infinite loop To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/clamav/+bug/1860217/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1860217] Re: dpkg-reconfigure clamav-daemon in infinite loop
"pg-snakeoil" seems to have been first introduced starting disco, which explain why X and B doesn't get any failures even if at same clamav upstream version (0.102.1) $ rmadison pg-snakeoil pg-snakeoil | 1.1-1 | disco/universe | source pg-snakeoil | 1.1-1build0.1 | disco-security/universe | source pg-snakeoil | 1.1-1build0.1 | disco-updates/universe | source pg-snakeoil | 1.1-1build1 | eoan/universe | source pg-snakeoil | 1.3-1 | focal/universe | source -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1860217 Title: dpkg-reconfigure clamav-daemon in infinite loop To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/clamav/+bug/1860217/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1860217] Re: dpkg-reconfigure clamav-daemon in infinite loop
With regards to the "pg_snakeoil" autopkgtest failures in Eoan. It doesn't fails for any other release than Eoan (nothing reported in F/B/X) Please note that it's the first time the test are run since the upstream version bump to fix CVE-2019-15961[0] has been introduced. I don't think the current failures are related to the current SRU, but will try to investigate more in the next couple of days. - Eric [0] - https://people.canonical.com/~ubuntu- security/cve/2019/CVE-2019-15961.html ** CVE added: https://cve.mitre.org/cgi-bin/cvename.cgi?name=2019-15961 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1860217 Title: dpkg-reconfigure clamav-daemon in infinite loop To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/clamav/+bug/1860217/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1860217] Re: dpkg-reconfigure clamav-daemon in infinite loop
[BIONIC VERIFICATION] No more loop detected. All of the debconf prompts that are supposed to be there are actually reachable, including the one modified by this SRU "LogTime"[0] and "LogRotate"[1]. [0]- Do you want to log time information with each message? [1]- Do you want to enable log rotation? # dpkg -l | grep -i clamav ii clamav 0.102.1+dfsg-0ubuntu0.18.04.3 amd64 anti-virus utility for Unix - command-line interface ii clamav-base0.102.1+dfsg-0ubuntu0.18.04.3 all anti-virus utility for Unix - base package ii clamav-daemon 0.102.1+dfsg-0ubuntu0.18.04.3 amd64 anti-virus utility for Unix - scanner daemon ii clamav-freshclam 0.102.1+dfsg-0ubuntu0.18.04.3 amd64 anti-virus utility for Unix - virus database update utility ii libclamav9:amd64 0.102.1+dfsg-0ubuntu0.18.04.3 amd64 anti-virus utility for Unix - library # egrep "LogRotate|LogTime" /etc/clamav/clamd.conf LogRotate true LogTime true # dpkg-reconfigure clamav-daemon Replacing config file /etc/clamav/clamd.conf with new version # egrep "LogRotate|LogTime" /etc/clamav/clamd.conf LogRotate false LogTime false ** 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/1860217 Title: dpkg-reconfigure clamav-daemon in infinite loop To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/clamav/+bug/1860217/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1860217] Re: dpkg-reconfigure clamav-daemon in infinite loop
[EOAN VERIFICATION] No more loop detected. All of the debconf prompts that are supposed to be there are actually reachable, including the one modified by this SRU "LogTime"[0] and "LogRotate"[1]. [0]- Do you want to log time information with each message? [1]- Do you want to enable log rotation? # dpkg -l | grep -i clamav ii clamav 0.102.1+dfsg-0ubuntu0.19.10.3 amd64 anti-virus utility for Unix - command-line interface ii clamav-base0.102.1+dfsg-0ubuntu0.19.10.3 all anti-virus utility for Unix - base package ii clamav-daemon 0.102.1+dfsg-0ubuntu0.19.10.3 amd64 anti-virus utility for Unix - scanner daemon ii clamav-freshclam 0.102.1+dfsg-0ubuntu0.19.10.3 amd64 anti-virus utility for Unix - virus database update utility ii libclamav9:amd64 0.102.1+dfsg-0ubuntu0.19.10.3 amd64 anti-virus utility for Unix - library # egrep "LogRotate|LogTime" /etc/clamav/clamd.conf LogRotate true LogTime true # dpkg-reconfigure clamav-daemon Replacing config file /etc/clamav/clamd.conf with new version # egrep "LogRotate|LogTime" /etc/clamav/clamd.conf LogRotate false LogTime false ** Tags removed: verification-needed-eoan ** Tags added: verification-done-eoan -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1860217 Title: dpkg-reconfigure clamav-daemon in infinite loop To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/clamav/+bug/1860217/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1860217] Re: dpkg-reconfigure clamav-daemon in infinite loop
[XENIAL VERIFICATION] No more loop detected. All of the debconf prompts that are supposed to be there are actually reachable, including the one modified by this SRU "LogTime"[0] and "LogRotate"[1]. [0]- Do you want to log time information with each message? [1]- Do you want to enable log rotation? # dpkg -l | grep -i clamav ii clamav 0.102.1+dfsg-0ubuntu0.16.04.3 amd64anti-virus utility for Unix - command-line interface ii clamav-base 0.102.1+dfsg-0ubuntu0.16.04.3 all anti-virus utility for Unix - base package ii clamav-daemon0.102.1+dfsg-0ubuntu0.16.04.3 amd64anti-virus utility for Unix - scanner daemon ii clamav-freshclam 0.102.1+dfsg-0ubuntu0.16.04.3 amd64anti-virus utility for Unix - virus database update utility ii libclamav9 0.102.1+dfsg-0ubuntu0.16.04.3 amd64anti-virus utility for Unix - library # egrep "LogRotate|LogTime" /etc/clamav/clamd.conf LogRotate true LogTime true # dpkg-reconfigure clamav-daemon Replacing config file /etc/clamav/clamd.conf with new version # egrep "LogRotate|LogTime" /etc/clamav/clamd.conf LogRotate false LogTime false ** Tags removed: verification-needed-xenial ** Tags added: verification-done-xenial -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1860217 Title: dpkg-reconfigure clamav-daemon in infinite loop To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/clamav/+bug/1860217/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1860217] Re: dpkg-reconfigure clamav-daemon in infinite loop
** Description changed: [Impact] There appears to be another issue with > dpkg-reconfigure clamav-daemon Like in #1792051, the command ends up in an infinite loop, just that this time it happens between 'Log file for clamav-daemon' and 'Do you want to enable log rotation?', with one more step between also included in the loop. Purged and reinstalled the package with no effect. Effected package: clamav-daemon 0.102.1+dfsg-0ubuntu0.19.10.2 (arm64) EDIT: I was able to reproduce the error on a different system (also 0.102.1+dfsg-0ubuntu0.19.10.2, just amd64 instead) [Test Case] (1) Here's how to reproduce: * Deploy Bionic * Install clamav clamav-daemon (As a debug exercise and confirmation of the infinite loop in action, with the use of "export DEBCONF_DEBUG='.*'" one can confirm it.) * Perform: DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true dpkg-reconfigure clamav-daemon + + Make sure it completes fine and doesn't enter an infinite loop. --- (2) Run "dpkg-reconfigure clamav-daemon", make sure all of the debconf prompts that are supposed to be there are actually reachable, including the one modified by this SRU "LogTime"[0] and "LogRotate"[1]. [0]- Do you want to log time information with each message? [1]- Do you want to enable log rotation? Here's a test where I intentionally reconfigure the package and set both LogTime and LogRotate from 'yes' (true) to 'No' (False). # egrep "LogRotate|LogTime" /etc/clamav/clamd.conf LogRotate true LogTime true # dpkg-reconfigure clamav-daemon Replacing config file /etc/clamav/clamd.conf with new version Disabling old logrotate script for clamav-daemon # egrep "LogRotate|LogTime" /etc/clamav/clamd.conf LogRotate false LogTime false [Regression Potential] Right now, the impact is limited to the reconfiguration of the package. This is a consequence of the removal of ScanOnAcces (701f0e8e Remove ScanOnAccess). It's been proven to be working well pre-SRU. If a regression is found, it will likely remain limited to the package reconfiguration. I added another verification to address vorlon's concern found in comment #16. See section (2) in [Test Case]. [Other infos] * Debian upstream bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=950296 * Debian upstream (salsa): https://salsa.debian.org/clamav-team/clamav/commit/089b6136e95dd34b3ac8a4d0753bffb48c48ebdb -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1860217 Title: dpkg-reconfigure clamav-daemon in infinite loop To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/clamav/+bug/1860217/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1860217] Re: dpkg-reconfigure clamav-daemon in infinite loop
Hello Konrad, or anyone else affected, Accepted clamav into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/clamav/0.102.1+dfsg- 0ubuntu0.16.04.3 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users. If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-xenial to verification-done-xenial. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-xenial. In either case, without details of your testing we will not be able to proceed. Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping! N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days. ** Changed in: clamav (Ubuntu Xenial) Status: In Progress => Fix Committed ** Tags added: verification-needed-xenial -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1860217 Title: dpkg-reconfigure clamav-daemon in infinite loop To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/clamav/+bug/1860217/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1860217] Re: dpkg-reconfigure clamav-daemon in infinite loop
Hello Konrad, or anyone else affected, Accepted clamav into bionic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/clamav/0.102.1+dfsg- 0ubuntu0.18.04.3 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users. If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-bionic to verification-done-bionic. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-bionic. In either case, without details of your testing we will not be able to proceed. Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping! N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days. ** Changed in: clamav (Ubuntu Bionic) Status: In Progress => Fix Committed ** Tags added: verification-needed-bionic -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1860217 Title: dpkg-reconfigure clamav-daemon in infinite loop To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/clamav/+bug/1860217/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1860217] Re: dpkg-reconfigure clamav-daemon in infinite loop
** Description changed: [Impact] There appears to be another issue with > dpkg-reconfigure clamav-daemon Like in #1792051, the command ends up in an infinite loop, just that this time it happens between 'Log file for clamav-daemon' and 'Do you want to enable log rotation?', with one more step between also included in the loop. Purged and reinstalled the package with no effect. Effected package: clamav-daemon 0.102.1+dfsg-0ubuntu0.19.10.2 (arm64) EDIT: I was able to reproduce the error on a different system (also 0.102.1+dfsg-0ubuntu0.19.10.2, just amd64 instead) [Test Case] + (1) + Here's how to reproduce: * Deploy Bionic * Install clamav clamav-daemon (As a debug exercise and confirmation of the infinite loop in action, with the use of "export DEBCONF_DEBUG='.*'" one can confirm it.) * Perform: DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true dpkg-reconfigure clamav-daemon + --- + + (2) + + Run "dpkg-reconfigure clamav-daemon", make sure all of the debconf + prompts that are supposed to be there are actually reachable, including + the one modified by this SRU "LogTime"[0] and "LogRotate"[1]. + + [0]- Do you want to log time information with each message? + [1]- Do you want to enable log rotation? + + Here's a test where I intentionally reconfigure the package and set both + LogTime and LogRotate from 'yes' (true) to 'No' (False). + + # egrep "LogRotate|LogTime" /etc/clamav/clamd.conf + LogRotate true + LogTime true + + # dpkg-reconfigure clamav-daemon + Replacing config file /etc/clamav/clamd.conf with new version + Disabling old logrotate script for clamav-daemon + + # egrep "LogRotate|LogTime" /etc/clamav/clamd.conf + LogRotate false + LogTime false + [Regression Potential] Right now, the impact is limited to the reconfiguration of the package. This is a consequence of the removal of ScanOnAcces (701f0e8e Remove ScanOnAccess). It's been proven to be working well pre-SRU. - If a regression is found, it will likely remain limited to the package - reconfiguration but as brought up at comment #16 by vorlon. + If a regression is found, it will likely remain limited to the package + reconfiguration. - If I run "dpkg-reconfigure clamav-daemon", all of the debconf prompts - that are supposed to be there are actually reachable, including the one - modified by this SRU "LogTime"[0] and "LogRotate"[1]. - - [0]- Do you want to log time information with each message? - [1]- Do you want to enable log rotation? - - - Here's a test where I intentionally reconfigure the package and set both LogTime and LogRotate from 'yes' (true) to 'No' (False). - - # egrep "LogRotate|LogTime" /etc/clamav/clamd.conf - LogRotate true - LogTime true - - # dpkg-reconfigure clamav-daemon - Replacing config file /etc/clamav/clamd.conf with new version - Disabling old logrotate script for clamav-daemon - - # egrep "LogRotate|LogTime" /etc/clamav/clamd.conf - LogRotate false - LogTime false - + I added another verification in the [Test case] to address vorlon's + concern found in comment #16. [Other infos] * Debian upstream bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=950296 * Debian upstream (salsa): https://salsa.debian.org/clamav-team/clamav/commit/089b6136e95dd34b3ac8a4d0753bffb48c48ebdb ** Description changed: [Impact] There appears to be another issue with > dpkg-reconfigure clamav-daemon Like in #1792051, the command ends up in an infinite loop, just that this time it happens between 'Log file for clamav-daemon' and 'Do you want to enable log rotation?', with one more step between also included in the loop. Purged and reinstalled the package with no effect. Effected package: clamav-daemon 0.102.1+dfsg-0ubuntu0.19.10.2 (arm64) EDIT: I was able to reproduce the error on a different system (also 0.102.1+dfsg-0ubuntu0.19.10.2, just amd64 instead) [Test Case] (1) Here's how to reproduce: * Deploy Bionic * Install clamav clamav-daemon (As a debug exercise and confirmation of the infinite loop in action, with the use of "export DEBCONF_DEBUG='.*'" one can confirm it.) * Perform: DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true dpkg-reconfigure clamav-daemon --- (2) Run "dpkg-reconfigure clamav-daemon", make sure all of the debconf prompts that are supposed to be there are actually reachable, including the one modified by this SRU "LogTime"[0] and "LogRotate"[1]. [0]- Do you want to log time information with each message? [1]- Do you want to enable log rotation? Here's a test where I intentionally reconfigure the package and set both LogTime and LogRotate from 'yes' (true) to 'No' (False). # egrep "LogRotate|LogTime" /etc/clamav/clamd.conf LogRotate true LogTime true # dpkg-reconfigure clamav-daemon Replacing config file /etc/clamav/clamd.conf with new
[Bug 1860217] Re: dpkg-reconfigure clamav-daemon in infinite loop
Hello Konrad, or anyone else affected, Accepted clamav into eoan-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/clamav/0.102.1+dfsg- 0ubuntu0.19.10.3 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users. If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-eoan to verification-done-eoan. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-eoan. In either case, without details of your testing we will not be able to proceed. Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping! N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days. ** Changed in: clamav (Ubuntu Eoan) Status: In Progress => Fix Committed ** Tags added: verification-needed verification-needed-eoan -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1860217 Title: dpkg-reconfigure clamav-daemon in infinite loop To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/clamav/+bug/1860217/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1860217] Re: dpkg-reconfigure clamav-daemon in infinite loop
vorlon's comment has been answered in the 'Regression Potential' section of the SRU template. ** Description changed: [Impact] There appears to be another issue with > dpkg-reconfigure clamav-daemon Like in #1792051, the command ends up in an infinite loop, just that this time it happens between 'Log file for clamav-daemon' and 'Do you want to enable log rotation?', with one more step between also included in the loop. Purged and reinstalled the package with no effect. Effected package: clamav-daemon 0.102.1+dfsg-0ubuntu0.19.10.2 (arm64) EDIT: I was able to reproduce the error on a different system (also 0.102.1+dfsg-0ubuntu0.19.10.2, just amd64 instead) [Test Case] Here's how to reproduce: * Deploy Bionic * Install clamav clamav-daemon (As a debug exercise and confirmation of the infinite loop in action, with the use of "export DEBCONF_DEBUG='.*'" one can confirm it.) * Perform: DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true dpkg-reconfigure clamav-daemon [Regression Potential] Right now, the impact is limited to the reconfiguration of the package. This is a consequence of the removal of ScanOnAcces (701f0e8e Remove ScanOnAccess). It's been proven to be working well pre-SRU. If a regression is found, it will likely remain limited to the package - reconfiguration. + reconfiguration but as brought up at comment #16 by vorlon. + + If I run "dpkg-reconfigure clamav-daemon", all of the debconf prompts + that are supposed to be there are actually reachable, including the one + modified by this SRU "LogTime"[0] and "LogRotate"[1]. + + [0]- Do you want to log time information with each message? + [1]- Do you want to enable log rotation? + [Other infos] * Debian upstream bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=950296 * Debian upstream (salsa): https://salsa.debian.org/clamav-team/clamav/commit/089b6136e95dd34b3ac8a4d0753bffb48c48ebdb ** Changed in: clamav (Ubuntu Eoan) Status: Incomplete => In Progress ** Description changed: [Impact] There appears to be another issue with > dpkg-reconfigure clamav-daemon Like in #1792051, the command ends up in an infinite loop, just that this time it happens between 'Log file for clamav-daemon' and 'Do you want to enable log rotation?', with one more step between also included in the loop. Purged and reinstalled the package with no effect. Effected package: clamav-daemon 0.102.1+dfsg-0ubuntu0.19.10.2 (arm64) EDIT: I was able to reproduce the error on a different system (also 0.102.1+dfsg-0ubuntu0.19.10.2, just amd64 instead) [Test Case] Here's how to reproduce: * Deploy Bionic * Install clamav clamav-daemon (As a debug exercise and confirmation of the infinite loop in action, with the use of "export DEBCONF_DEBUG='.*'" one can confirm it.) * Perform: DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true dpkg-reconfigure clamav-daemon [Regression Potential] Right now, the impact is limited to the reconfiguration of the package. This is a consequence of the removal of ScanOnAcces (701f0e8e Remove ScanOnAccess). It's been proven to be working well pre-SRU. If a regression is found, it will likely remain limited to the package reconfiguration but as brought up at comment #16 by vorlon. If I run "dpkg-reconfigure clamav-daemon", all of the debconf prompts that are supposed to be there are actually reachable, including the one modified by this SRU "LogTime"[0] and "LogRotate"[1]. [0]- Do you want to log time information with each message? [1]- Do you want to enable log rotation? + Here's a test where I intentionally reconfigure the package and set both LogTime and LogRotate from 'yes' (true) to 'No' (False). + + # egrep "LogRotate|LogTime" /etc/clamav/clamd.conf + LogRotate true + LogTime true + + # dpkg-reconfigure clamav-daemon + Replacing config file /etc/clamav/clamd.conf with new version + Disabling old logrotate script for clamav-daemon + + # egrep "LogRotate|LogTime" /etc/clamav/clamd.conf + LogRotate false + LogTime false + + [Other infos] * Debian upstream bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=950296 * Debian upstream (salsa): https://salsa.debian.org/clamav-team/clamav/commit/089b6136e95dd34b3ac8a4d0753bffb48c48ebdb -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1860217 Title: dpkg-reconfigure clamav-daemon in infinite loop To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/clamav/+bug/1860217/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1860217] Re: dpkg-reconfigure clamav-daemon in infinite loop
The debdiff is basically impossible to review without further context due to the use of magic strings as argument names and no way to tell they're the right magic strings without tracing the code. I think a regression test for this SRU should include verifying not only that the infinite loop is fixed, but that all of the debconf prompts that are supposed to be there are actually reachable. ** Changed in: clamav (Ubuntu Eoan) Status: In Progress => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1860217 Title: dpkg-reconfigure clamav-daemon in infinite loop To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/clamav/+bug/1860217/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1860217] Re: dpkg-reconfigure clamav-daemon in infinite loop
** Changed in: clamav (Ubuntu Eoan) Importance: Undecided => Medium ** Changed in: clamav (Ubuntu Bionic) Importance: Undecided => Critical ** Changed in: clamav (Ubuntu Bionic) Importance: Critical => Medium ** Changed in: clamav (Ubuntu Xenial) Importance: Undecided => Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1860217 Title: dpkg-reconfigure clamav-daemon in infinite loop To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/clamav/+bug/1860217/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1860217] Re: dpkg-reconfigure clamav-daemon in infinite loop
Uploaded in E/B/X. It is now waiting for the SRU team to approve the build in -proposed. - Eric -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1860217 Title: dpkg-reconfigure clamav-daemon in infinite loop To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/clamav/+bug/1860217/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1860217] Re: dpkg-reconfigure clamav-daemon in infinite loop
Uploaded in E & B. It is now waiting for the SRU team to approve the build in -proposed. - Eric -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1860217 Title: dpkg-reconfigure clamav-daemon in infinite loop To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/clamav/+bug/1860217/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1860217] Re: dpkg-reconfigure clamav-daemon in infinite loop
** Description changed: [Impact] There appears to be another issue with > dpkg-reconfigure clamav-daemon Like in #1792051, the command ends up in an infinite loop, just that this time it happens between 'Log file for clamav-daemon' and 'Do you want to enable log rotation?', with one more step between also included in the loop. Purged and reinstalled the package with no effect. Effected package: clamav-daemon 0.102.1+dfsg-0ubuntu0.19.10.2 (arm64) EDIT: I was able to reproduce the error on a different system (also 0.102.1+dfsg-0ubuntu0.19.10.2, just amd64 instead) [Test Case] Here's how to reproduce: * Deploy Bionic * Install clamav clamav-daemon (As a debug exercise and confirmation of the infinite loop in action, with the use of "export DEBCONF_DEBUG='.*'" one can confirm it.) * Perform: DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true dpkg-reconfigure clamav-daemon + [Regression Potential] - [Regression Potential] + Right now, it's only impacted the reconfiguration of the package, this + is a consequence of the removal of ScanOnAcces (701f0e8e Remove + ScanOnAccess). + + It's been proven to be working pre-SRU. If a problem is found, if a + regression is found, it will likely remain isolated to the + reconfiguration, and not the installation itself. + [Other infos] * Debian upstream bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=950296 * Debian upstream (salsa): https://salsa.debian.org/clamav-team/clamav/commit/089b6136e95dd34b3ac8a4d0753bffb48c48ebdb ** Description changed: [Impact] There appears to be another issue with > dpkg-reconfigure clamav-daemon Like in #1792051, the command ends up in an infinite loop, just that this time it happens between 'Log file for clamav-daemon' and 'Do you want to enable log rotation?', with one more step between also included in the loop. Purged and reinstalled the package with no effect. Effected package: clamav-daemon 0.102.1+dfsg-0ubuntu0.19.10.2 (arm64) EDIT: I was able to reproduce the error on a different system (also 0.102.1+dfsg-0ubuntu0.19.10.2, just amd64 instead) [Test Case] Here's how to reproduce: * Deploy Bionic * Install clamav clamav-daemon (As a debug exercise and confirmation of the infinite loop in action, with the use of "export DEBCONF_DEBUG='.*'" one can confirm it.) * Perform: DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true dpkg-reconfigure clamav-daemon [Regression Potential] - Right now, it's only impacted the reconfiguration of the package, this - is a consequence of the removal of ScanOnAcces (701f0e8e Remove + Right now, the impact is limited to the reconfiguration of the package. + This is a consequence of the removal of ScanOnAcces (701f0e8e Remove ScanOnAccess). - It's been proven to be working pre-SRU. If a problem is found, if a - regression is found, it will likely remain isolated to the - reconfiguration, and not the installation itself. + It's been proven to be working well pre-SRU. + If a regression is found, it will likely remain limited to the package + reconfiguration. [Other infos] * Debian upstream bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=950296 * Debian upstream (salsa): https://salsa.debian.org/clamav-team/clamav/commit/089b6136e95dd34b3ac8a4d0753bffb48c48ebdb -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1860217 Title: dpkg-reconfigure clamav-daemon in infinite loop To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/clamav/+bug/1860217/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1860217] Re: dpkg-reconfigure clamav-daemon in infinite loop
** Description changed: + [Impact] + There appears to be another issue with > dpkg-reconfigure clamav-daemon Like in #1792051, the command ends up in an infinite loop, just that this time it happens between 'Log file for clamav-daemon' and 'Do you want to enable log rotation?', with one more step between also included in the loop. Purged and reinstalled the package with no effect. Effected package: clamav-daemon 0.102.1+dfsg-0ubuntu0.19.10.2 (arm64) EDIT: I was able to reproduce the error on a different system (also 0.102.1+dfsg-0ubuntu0.19.10.2, just amd64 instead) + [Test Case] + + Here's how to reproduce: + * Deploy Bionic + * Install clamav clamav-daemon + * Perform: + DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true dpkg-reconfigure clamav-daemon + + (if you set/export the 'export DEBCONF_DEBUG='.*'' one could see the + loop in action) + + [Regression Potential] + [Other infos] * Debian upstream bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=950296 * Debian upstream (salsa): https://salsa.debian.org/clamav-team/clamav/commit/089b6136e95dd34b3ac8a4d0753bffb48c48ebdb ** Description changed: [Impact] There appears to be another issue with > dpkg-reconfigure clamav-daemon Like in #1792051, the command ends up in an infinite loop, just that this time it happens between 'Log file for clamav-daemon' and 'Do you want to enable log rotation?', with one more step between also included in the loop. Purged and reinstalled the package with no effect. Effected package: clamav-daemon 0.102.1+dfsg-0ubuntu0.19.10.2 (arm64) EDIT: I was able to reproduce the error on a different system (also 0.102.1+dfsg-0ubuntu0.19.10.2, just amd64 instead) [Test Case] Here's how to reproduce: * Deploy Bionic * Install clamav clamav-daemon + + (As a debug exercise and confirmation of the infinite loop in action, + with the use of "export DEBCONF_DEBUG='.*'" one can confirm it.) + * Perform: DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true dpkg-reconfigure clamav-daemon - (if you set/export the 'export DEBCONF_DEBUG='.*'' one could see the - loop in action) [Regression Potential] [Other infos] * Debian upstream bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=950296 * Debian upstream (salsa): https://salsa.debian.org/clamav-team/clamav/commit/089b6136e95dd34b3ac8a4d0753bffb48c48ebdb -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1860217 Title: dpkg-reconfigure clamav-daemon in infinite loop To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/clamav/+bug/1860217/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1860217] Re: dpkg-reconfigure clamav-daemon in infinite loop
This bug was fixed in the package clamav - 0.102.1+dfsg-2ubuntu2 --- clamav (0.102.1+dfsg-2ubuntu2) focal; urgency=medium * d/clamav-daemon.config.in: Correct error from ScanOnAccess option removal so that setting LogFile options via DebConf works again. (Closes: #950296) (LP: #1860217) -- Eric Desrochers Thu, 06 Feb 2020 13:56:53 + ** Changed in: clamav (Ubuntu Focal) Status: In Progress => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1860217 Title: dpkg-reconfigure clamav-daemon in infinite loop To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/clamav/+bug/1860217/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1860217] Re: dpkg-reconfigure clamav-daemon in infinite loop
I have just uploaded the fix in focal for the new package to start building. Once the package is found in -release, I'll start the SRU to fix the stable release. Stay tuned. - Eric ** Changed in: clamav (Ubuntu Eoan) Status: Confirmed => In Progress ** Changed in: clamav (Ubuntu Bionic) Status: Confirmed => In Progress ** Changed in: clamav (Ubuntu Xenial) Status: Confirmed => In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1860217 Title: dpkg-reconfigure clamav-daemon in infinite loop To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/clamav/+bug/1860217/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1860217] Re: dpkg-reconfigure clamav-daemon in infinite loop
Can't reproduce with version mentioned in comment #10 using Debian sid. debconf (developer): --> 0 debconf (developer): <-- STOP debconf (db config): saving database debconf (db passwords): no database changes, not saving debconf (db templatedb): saving database I'll backport the fix into Ubuntu. ** Changed in: clamav (Ubuntu Focal) Assignee: (unassigned) => Eric Desrochers (slashd) ** Changed in: clamav (Ubuntu Eoan) Assignee: (unassigned) => Eric Desrochers (slashd) ** Changed in: clamav (Ubuntu Bionic) Assignee: (unassigned) => Eric Desrochers (slashd) ** Changed in: clamav (Ubuntu Xenial) Assignee: (unassigned) => Eric Desrochers (slashd) ** Changed in: clamav (Ubuntu Focal) Status: Confirmed => In Progress ** Changed in: clamav (Ubuntu Eoan) Status: New => Confirmed ** Changed in: clamav (Ubuntu Bionic) Status: New => Confirmed ** Changed in: clamav (Ubuntu Xenial) Status: New => Confirmed ** Description changed: There appears to be another issue with > dpkg-reconfigure clamav-daemon Like in #1792051, the command ends up in an infinite loop, just that this time it happens between 'Log file for clamav-daemon' and 'Do you want to enable log rotation?', with one more step between also included in the loop. Purged and reinstalled the package with no effect. Effected package: clamav-daemon 0.102.1+dfsg-0ubuntu0.19.10.2 (arm64) EDIT: I was able to reproduce the error on a different system (also 0.102.1+dfsg-0ubuntu0.19.10.2, just amd64 instead) + + [Other infos] + + * Debian upstream bug: + https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=950296 + + * Debian upstream (salsa): + https://salsa.debian.org/clamav-team/clamav/commit/089b6136e95dd34b3ac8a4d0753bffb48c48ebdb -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1860217 Title: dpkg-reconfigure clamav-daemon in infinite loop To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/clamav/+bug/1860217/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1860217] Re: dpkg-reconfigure clamav-daemon in infinite loop
btw, I've been able to reproduce it with focal/20.04LTS which is for now still an active development release. That doesn't seems to be a resolved issue in later version. ** Also affects: clamav (Ubuntu Bionic) Importance: Undecided Status: New ** Also affects: clamav (Ubuntu Xenial) Importance: Undecided Status: New ** Also affects: clamav (Ubuntu Focal) Importance: High Status: Confirmed ** Also affects: clamav (Ubuntu Eoan) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1860217 Title: dpkg-reconfigure clamav-daemon in infinite loop To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/clamav/+bug/1860217/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1860217] Re: dpkg-reconfigure clamav-daemon in infinite loop
Looking into salsa git report, it seems to have a fix in Debian upstream $ git show 089b6136 commit 089b6136e95dd34b3ac8a4d0753bffb48c48ebdb (HEAD -> unstable, tag: debian-0.102.1+dfsg-3, origin/unstable, origin/HEAD) Author: Scott Kitterman Date: Fri Jan 31 16:54:06 2020 -0500 clamav-daemon: Correct error from ScanOnAccess option removal so that setting LogFile options via DebConf works again (Closes: #950296) (LP: #1861497) diff --git a/debian/changelog b/debian/changelog index ccf1bf3f..dbdbc2ab 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,9 +1,12 @@ -clamav (0.102.1+dfsg-3) UNRELEASED; urgency=medium +clamav (0.102.1+dfsg-3) unstable; urgency=medium * clamav-daemon: Do not cause an error on start if /run/clamav already exists + * clamav-daemon: Correct error from ScanOnAccess option removal so that +setting LogFile options via DebConf works again (Closes: #950296) +(LP: #1861497) - -- Scott Kitterman Fri, 03 Jan 2020 17:52:11 -0500 + -- Scott Kitterman Fri, 31 Jan 2020 16:49:37 -0500 clamav (0.102.1+dfsg-2) unstable; urgency=medium diff --git a/debian/clamav-daemon.config.in b/debian/clamav-daemon.config.in index 131336ca..37ee4157 100644 --- a/debian/clamav-daemon.config.in +++ b/debian/clamav-daemon.config.in @@ -323,10 +323,10 @@ while [ "$STATE" != "End" ]; do StateLogFile ;; "LogTime") -StateGeneric low clamav-daemon/LogTime LogRotate LogFile +StateGeneric low clamav-daemon/LogTime LogRotate ;; "LogRotate") -StateGeneric low clamav-daemon/LogRotate LogFile +StateGeneric low clamav-daemon/LogRotate SelfCheck ;; "OnAccessMaxFileSize") StateGeneric low clamav-daemon/OnAccessMaxFileSize AllowAllMatchScan $ git describe --contains 089b6136 debian-0.102.1+dfsg-3 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1860217 Title: dpkg-reconfigure clamav-daemon in infinite loop To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/clamav/+bug/1860217/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1860217] Re: dpkg-reconfigure clamav-daemon in infinite loop
The use of 'DEBCONF_DEBUG='.*'' can be helpful here for debugging purpose. Simply need to set and export. Add this link: https://wiki.debian.org/MaintainerScripts with possibly the add of 'set -xv' in the clamav-daemon maintainer scripts to find what is causing the loop. I actually took a few scond to reproduce it inside a Xenial container and I can clearly see the loop in action: .. debconf (db configdb): trying to getfield(clamav-daemon/LogRotate type) .. debconf (db passwords): cache miss on clamav-daemon/LogRotate debconf (db configdb): trying to getfield(clamav-daemon/LogRotate template) .. debconf (db configdb): getfield done by config debconf (db configdb): trying to getfield(clamav-daemon/LogRotate template) .. debconf (db configdb): getfield done by config debconf (db configdb): trying to getfield(clamav-daemon/LogRotate type) .. debconf (db passwords): cache miss on clamav-daemon/LogRotate debconf (db configdb): trying to getfield(clamav-daemon/LogRotate template) .. debconf (db configdb): getfield done by config debconf (db configdb): trying to getfield(clamav-daemon/LogRotate template) .. debconf (db configdb): getfield done by config debconf (developer): --> 30 question skipped debconf (developer): <-- GO debconf (db configdb): trying to getfield(clamav-daemon/LogRotate value) .. debconf (db configdb): getfield done by config debconf (db configdb): trying to getfield(clamav-daemon/LogRotate value) .. debconf (db configdb): getfield done by config debconf (db configdb): trying to setfield(clamav-daemon/LogRotate value true) .. debconf (db configdb): passing to config .. debconf (developer): --> 0 ok debconf (developer): <-- INPUT low clamav-daemon/LogFile debconf (db configdb): trying to getfield(clamav-daemon/LogFile type) .. debconf (db passwords): cache miss on clamav-daemon/LogFile debconf (db configdb): trying to getfield(clamav-daemon/LogFile template) .. debconf (db configdb): getfield done by config debconf (db configdb): trying to getfield(clamav-daemon/LogFile template) .. debconf (db configdb): getfield done by config debconf (db configdb): trying to getfield(clamav-daemon/LogFile type) .. debconf (db passwords): cache miss on clamav-daemon/LogFile debconf (db configdb): trying to getfield(clamav-daemon/LogFile template) .. debconf (db configdb): getfield done by config debconf (db configdb): trying to getfield(clamav-daemon/LogFile template) .. debconf (db configdb): getfield done by config debconf (developer): --> 30 question skipped debconf (developer): <-- GO debconf (db configdb): trying to getfield(clamav-daemon/LogFile value) .. debconf (db configdb): getfield done by config debconf (db configdb): trying to getfield(clamav-daemon/LogFile value) .. debconf (db configdb): getfield done by config debconf (db configdb): trying to setfield(clamav-daemon/LogFile value /var/log/clamav/clamav.log) .. debconf (db configdb): passing to config .. debconf (developer): --> 0 ok debconf (developer): <-- METAGET clamav-daemon/LogFile value debconf (db configdb): trying to getfield(clamav-daemon/LogFile value) .. debconf (db configdb): getfield done by config debconf (developer): --> 0 /var/log/clamav/clamav.log debconf (developer): <-- INPUT low clamav-daemon/LogTime debconf (db configdb): trying to getfield(clamav-daemon/LogTime type) .. debconf (db passwords): cache miss on clamav-daemon/LogTime debconf (db configdb): trying to getfield(clamav-daemon/LogTime template) .. debconf (db configdb): getfield done by config debconf (db configdb): trying to getfield(clamav-daemon/LogTime template) .. debconf (db configdb): getfield done by config debconf (db configdb): trying to getfield(clamav-daemon/LogTime type) .. debconf (db passwords): cache miss on clamav-daemon/LogTime debconf (db configdb): trying to getfield(clamav-daemon/LogTime template) .. debconf (db configdb): getfield done by config debconf (db configdb): trying to getfield(clamav-daemon/LogTime template) .. debconf (db configdb): getfield done by config debconf (developer): --> 30 question skipped debconf (developer): <-- GO debconf (db configdb): trying to getfield(clamav-daemon/LogTime value) .. debconf (db configdb): getfield done by config debconf (db configdb): trying to getfield(clamav-daemon/LogTime value) .. debconf (db configdb): getfield done by config debconf (db configdb): trying to setfield(clamav-daemon/LogTime value true) .. debconf (db configdb): passing to config .. debconf (developer): --> 0 ok debconf (developer): <-- INPUT low clamav-daemon/LogRotate debconf (db configdb): trying to getfield(clamav-daemon/LogRotate type) .. debconf (db passwords): cache miss on clamav-daemon/LogRotate debconf (db configdb): trying to getfield(clamav-daemon/LogRotate template) .. debconf (db configdb): getfield done by config debconf (db configdb): trying to getfield(clamav-daemon/LogRotate template) .. debconf (db configdb): getfield done by config debconf (db configdb): trying to getfield(clamav-daemon/LogRotate
[Bug 1860217] Re: dpkg-reconfigure clamav-daemon in infinite loop
The use of 'DEBCONF_DEBUG='.*'' can be helpful here for debugging purpose. Simply need to set and export. And this link: https://wiki.debian.org/MaintainerScripts Following the appropriate workflow to understand what it is doing under the hood. As a debug exercise, one ca also add 'set -xv' in the clamav-daemon maintainer scripts to possibly isolate what is causing the loop in combination with the DEBCONF_DEBUG set. I actually took a few seconds to reproduce it inside a Xenial container and we can clearly see the loop in action: .. debconf (db configdb): trying to getfield(clamav-daemon/LogRotate type) .. debconf (db passwords): cache miss on clamav-daemon/LogRotate debconf (db configdb): trying to getfield(clamav-daemon/LogRotate template) .. debconf (db configdb): getfield done by config debconf (db configdb): trying to getfield(clamav-daemon/LogRotate template) .. debconf (db configdb): getfield done by config debconf (db configdb): trying to getfield(clamav-daemon/LogRotate type) .. debconf (db passwords): cache miss on clamav-daemon/LogRotate debconf (db configdb): trying to getfield(clamav-daemon/LogRotate template) .. debconf (db configdb): getfield done by config debconf (db configdb): trying to getfield(clamav-daemon/LogRotate template) .. debconf (db configdb): getfield done by config debconf (developer): --> 30 question skipped debconf (developer): <-- GO debconf (db configdb): trying to getfield(clamav-daemon/LogRotate value) .. debconf (db configdb): getfield done by config debconf (db configdb): trying to getfield(clamav-daemon/LogRotate value) .. debconf (db configdb): getfield done by config debconf (db configdb): trying to setfield(clamav-daemon/LogRotate value true) .. debconf (db configdb): passing to config .. debconf (developer): --> 0 ok debconf (developer): <-- INPUT low clamav-daemon/LogFile debconf (db configdb): trying to getfield(clamav-daemon/LogFile type) .. debconf (db passwords): cache miss on clamav-daemon/LogFile debconf (db configdb): trying to getfield(clamav-daemon/LogFile template) .. debconf (db configdb): getfield done by config debconf (db configdb): trying to getfield(clamav-daemon/LogFile template) .. debconf (db configdb): getfield done by config debconf (db configdb): trying to getfield(clamav-daemon/LogFile type) .. debconf (db passwords): cache miss on clamav-daemon/LogFile debconf (db configdb): trying to getfield(clamav-daemon/LogFile template) .. debconf (db configdb): getfield done by config debconf (db configdb): trying to getfield(clamav-daemon/LogFile template) .. debconf (db configdb): getfield done by config debconf (developer): --> 30 question skipped debconf (developer): <-- GO debconf (db configdb): trying to getfield(clamav-daemon/LogFile value) .. debconf (db configdb): getfield done by config debconf (db configdb): trying to getfield(clamav-daemon/LogFile value) .. debconf (db configdb): getfield done by config debconf (db configdb): trying to setfield(clamav-daemon/LogFile value /var/log/clamav/clamav.log) .. debconf (db configdb): passing to config .. debconf (developer): --> 0 ok debconf (developer): <-- METAGET clamav-daemon/LogFile value debconf (db configdb): trying to getfield(clamav-daemon/LogFile value) .. debconf (db configdb): getfield done by config debconf (developer): --> 0 /var/log/clamav/clamav.log debconf (developer): <-- INPUT low clamav-daemon/LogTime debconf (db configdb): trying to getfield(clamav-daemon/LogTime type) .. debconf (db passwords): cache miss on clamav-daemon/LogTime debconf (db configdb): trying to getfield(clamav-daemon/LogTime template) .. debconf (db configdb): getfield done by config debconf (db configdb): trying to getfield(clamav-daemon/LogTime template) .. debconf (db configdb): getfield done by config debconf (db configdb): trying to getfield(clamav-daemon/LogTime type) .. debconf (db passwords): cache miss on clamav-daemon/LogTime debconf (db configdb): trying to getfield(clamav-daemon/LogTime template) .. debconf (db configdb): getfield done by config debconf (db configdb): trying to getfield(clamav-daemon/LogTime template) .. debconf (db configdb): getfield done by config debconf (developer): --> 30 question skipped debconf (developer): <-- GO debconf (db configdb): trying to getfield(clamav-daemon/LogTime value) .. debconf (db configdb): getfield done by config debconf (db configdb): trying to getfield(clamav-daemon/LogTime value) .. debconf (db configdb): getfield done by config debconf (db configdb): trying to setfield(clamav-daemon/LogTime value true) .. debconf (db configdb): passing to config .. debconf (developer): --> 0 ok debconf (developer): <-- INPUT low clamav-daemon/LogRotate debconf (db configdb): trying to getfield(clamav-daemon/LogRotate type) .. debconf (db passwords): cache miss on clamav-daemon/LogRotate debconf (db configdb): trying to getfield(clamav-daemon/LogRotate template) .. debconf (db configdb): getfield done by config debconf (db configdb): trying to
[Bug 1860217] Re: dpkg-reconfigure clamav-daemon in infinite loop
Impact: production servers are not provisioning -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1860217 Title: dpkg-reconfigure clamav-daemon in infinite loop To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/clamav/+bug/1860217/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1860217] Re: dpkg-reconfigure clamav-daemon in infinite loop
I have reproduced it on Xenial. $ cat /etc/lsb-release .. DISTRIB_CODENAME=xenial DISTRIB_DESCRIPTION="Ubuntu 16.04.6 LTS" $ uname -rv 4.4.0-170-generic #199-Ubuntu SMP Thu Nov 14 01:45:04 UTC 2019 $ dpkg -l | grep clam ii clamav 0.102.1+dfsg-0ubuntu0.16.04.2 ii clamav-base 0.102.1+dfsg-0ubuntu0.16.04.2 ii clamav-daemon 0.102.1+dfsg-0ubuntu0.16.04.2 ii clamav-freshclam 0.102.1+dfsg-0ubuntu0.16.04.2 ii clamdscan 0.102.1+dfsg-0ubuntu0.16.04.2 ii libclamav9 0.102.1+dfsg-0ubuntu0.16.04.2 $ sudo DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true dpkg-reconfigure clamav-daemon (hangs) $ ps -fe | grep clamav root 20256 19801 0 07:54 pts/1 00:00:00 sudo DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true dpkg-reconfigure clamav-daemon root 20257 20256 70 07:54 pts/1 00:00:10 /usr/bin/perl -w /usr/sbin/dpkg-reconfigure clamav-daemon root 20306 20257 23 07:54 pts/1 00:00:03 /bin/sh /var/lib/dpkg/info/clamav-daemon.config reconfigure 0.102.1+dfsg-0ubuntu0.16.04.2 ubuntu 20647 17343 0 07:54 pts/0 00:00:00 grep --color=none clamav $ sudo strace -p 20257 ... read(8, "METAGET clamav-daemon/LogFile va"..., 8192) = 36 write(7, "0 /var/log/clamav/clamav.log\n", 29) = 29 read(8, "INPUT low clamav-daemon/LogTime\n", 8192) = 32 write(7, "30 question skipped\n", 20) = 20 read(8, "GO \n", 8192) = 4 write(7, "0 ok\n", 5) = 5 ... ^Cread(8, strace: Process 20257 detached ** Tags added: sts ** Changed in: clamav (Ubuntu) Importance: Undecided => High -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1860217 Title: dpkg-reconfigure clamav-daemon in infinite loop To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/clamav/+bug/1860217/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1860217] Re: dpkg-reconfigure clamav-daemon in infinite loop
Upstream bug from Debian has been fixed. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1860217 Title: dpkg-reconfigure clamav-daemon in infinite loop To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/clamav/+bug/1860217/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1860217] Re: dpkg-reconfigure clamav-daemon in infinite loop
I had filed https://bugs.launchpad.net/ubuntu/+source/clamav/+bug/1861497, but just found this and closed it as a duplicate. This is critical bug for us as we have `DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true dpkg-reconfigure clamav-daemon` in our provisioning which will hang the machine until it finally crashes. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1860217 Title: dpkg-reconfigure clamav-daemon in infinite loop To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/clamav/+bug/1860217/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1860217] Re: dpkg-reconfigure clamav-daemon in infinite loop
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=950296 ** Bug watch added: Debian Bug tracker #950296 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=950296 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1860217 Title: dpkg-reconfigure clamav-daemon in infinite loop To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/clamav/+bug/1860217/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1860217] Re: dpkg-reconfigure clamav-daemon in infinite loop
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: clamav (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1860217 Title: dpkg-reconfigure clamav-daemon in infinite loop To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/clamav/+bug/1860217/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1860217] Re: dpkg-reconfigure clamav-daemon in infinite loop
** Description changed: There appears to be another issue with > dpkg-reconfigure clamav-daemon Like in #1792051, the command ends up in an infinite loop, just that this time it happens between 'Log file for clamav-daemon' and 'Do you want to enable log rotation?', with one more step between also included in the loop. Purged and reinstalled the package with no effect. Effected package: clamav-daemon 0.102.1+dfsg-0ubuntu0.19.10.2 (arm64) + + EDIT: I was able to reproduce the error on a different system (also + 0.102.1+dfsg-0ubuntu0.19.10.2, just amd64 instead) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1860217 Title: dpkg-reconfigure clamav-daemon in infinite loop To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/clamav/+bug/1860217/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs