[Bug 799623] Re: Incorrect generated logrotate file
This bug was fixed in the package clamav - 0.98.1+dfsg- 4ubuntu1~ubuntu12.10.2 --- clamav (0.98.1+dfsg-4ubuntu1~ubuntu12.10.2) quantal-security; urgency=medium * Rebuild as a security update (LP: #1296856) -- Marc Deslauriers marc.deslauri...@ubuntu.com Thu, 27 Mar 2014 08:54:58 -0400 ** Changed in: clamav (Ubuntu Quantal) Status: Won't Fix = Fix Released -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to clamav in Ubuntu. https://bugs.launchpad.net/bugs/799623 Title: Incorrect generated logrotate file To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/clamav/+bug/799623/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 799623] Re: Incorrect generated logrotate file
Verified for both Saucy Precise. Work as expected. ** Tags removed: verification-needed ** Tags added: verification-done -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to clamav in Ubuntu. https://bugs.launchpad.net/bugs/799623 Title: Incorrect generated logrotate file To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/clamav/+bug/799623/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 799623] Re: Incorrect generated logrotate file
This bug was fixed in the package clamav - 0.97.8+dfsg-1ubuntu4.1 --- clamav (0.97.8+dfsg-1ubuntu4.1) saucy; urgency=low * debian/common_functions - Fix slurp_config() that is sometimes not discriminative enough which leads to invalid configuration files (LP: #799623) -- Louis Bouchard louis.bouch...@ubuntu.com Thu, 27 Feb 2014 17:05:17 -0600 ** Changed in: clamav (Ubuntu Saucy) Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to clamav in Ubuntu. https://bugs.launchpad.net/bugs/799623 Title: Incorrect generated logrotate file To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/clamav/+bug/799623/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 799623] Re: Incorrect generated logrotate file
This bug was fixed in the package clamav - 0.97.8+dfsg-1ubuntu1.12.04.2 --- clamav (0.97.8+dfsg-1ubuntu1.12.04.2) precise-proposed; urgency=low * debian/common_functions - Fix slurp_config() that is sometimes not discriminative enough which leads to invalid configuration files (LP: #799623) -- Louis Bouchard louis.bouch...@ubuntu.com Mon, 10 Feb 2014 17:54:42 +0100 ** Changed in: clamav (Ubuntu Precise) Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to clamav in Ubuntu. https://bugs.launchpad.net/bugs/799623 Title: Incorrect generated logrotate file To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/clamav/+bug/799623/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 799623] Re: Incorrect generated logrotate file
@Bryan : thanks I'll do my best to get it tested this week, I was off sick all of last week. @scott: thanks, I meant to do it but it somewhat dropped of -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to clamav in Ubuntu. https://bugs.launchpad.net/bugs/799623 Title: Incorrect generated logrotate file To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/clamav/+bug/799623/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 799623] Re: Incorrect generated logrotate file
** Branch linked: lp:debian/clamav -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to clamav in Ubuntu. https://bugs.launchpad.net/bugs/799623 Title: Incorrect generated logrotate file To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/clamav/+bug/799623/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 799623] Re: Incorrect generated logrotate file
I've also fixed this in Debian Unstable as well. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to clamav in Ubuntu. https://bugs.launchpad.net/bugs/799623 Title: Incorrect generated logrotate file To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/clamav/+bug/799623/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 799623] Re: Incorrect generated logrotate file
Hello Javier, or anyone else affected, Accepted clamav into saucy-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/clamav/0.97.8+dfsg- 1ubuntu4.1 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 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 to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision. Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance! ** Changed in: clamav (Ubuntu Saucy) Status: In Progress = Fix Committed -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to clamav in Ubuntu. https://bugs.launchpad.net/bugs/799623 Title: Incorrect generated logrotate file To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/clamav/+bug/799623/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 799623] Re: Incorrect generated logrotate file
** Branch linked: lp:ubuntu/saucy-proposed/clamav -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to clamav in Ubuntu. https://bugs.launchpad.net/bugs/799623 Title: Incorrect generated logrotate file To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/clamav/+bug/799623/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 799623] Re: Incorrect generated logrotate file
Hello Javier, or anyone else affected, Accepted clamav into precise-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/clamav/0.97.8+dfsg- 1ubuntu1.12.04.2 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 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 to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision. Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance! ** Changed in: clamav (Ubuntu Precise) Status: In Progress = Fix Committed ** Tags added: verification-needed -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to clamav in Ubuntu. https://bugs.launchpad.net/bugs/799623 Title: Incorrect generated logrotate file To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/clamav/+bug/799623/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 799623] Re: Incorrect generated logrotate file
** Branch linked: lp:ubuntu/precise-proposed/clamav -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to clamav in Ubuntu. https://bugs.launchpad.net/bugs/799623 Title: Incorrect generated logrotate file To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/clamav/+bug/799623/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 799623] Re: Incorrect generated logrotate file
** Also affects: clamav (Ubuntu Saucy) Importance: Undecided Status: New ** Changed in: clamav (Ubuntu Saucy) Assignee: (unassigned) = Louis Bouchard (louis-bouchard) ** Changed in: clamav (Ubuntu Saucy) Importance: Undecided = Low ** Changed in: clamav (Ubuntu Saucy) Status: New = In Progress -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to clamav in Ubuntu. https://bugs.launchpad.net/bugs/799623 Title: Incorrect generated logrotate file To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/clamav/+bug/799623/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 799623] Re: Incorrect generated logrotate file
Raring is EOL, and it's probably not worth any more SRUing this to quantal either. ** Changed in: clamav (Ubuntu Raring) Status: In Progress = Won't Fix -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to clamav in Ubuntu. https://bugs.launchpad.net/bugs/799623 Title: Incorrect generated logrotate file To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/clamav/+bug/799623/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 799623] Re: Incorrect generated logrotate file
Trusty branch uploaded. ** Changed in: clamav (Ubuntu) Status: In Progress = Fix Committed -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to clamav in Ubuntu. https://bugs.launchpad.net/bugs/799623 Title: Incorrect generated logrotate file To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/clamav/+bug/799623/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 799623] Re: Incorrect generated logrotate file
I uploaded the precise branch with the same change that I did to the trusty one: - value=`grep ^$variable $CLAMAVCONF | head -n1 | awk '{print $2}'` + value=`grep ^$variable[[:space:]] $CLAMAVCONF | head -n1 | awk '{print $2}'` Unsubscribing sponsors now. ** Changed in: clamav (Ubuntu Quantal) Status: In Progress = Won't Fix -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to clamav in Ubuntu. https://bugs.launchpad.net/bugs/799623 Title: Incorrect generated logrotate file To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/clamav/+bug/799623/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 799623] Re: Incorrect generated logrotate file
** Branch linked: lp:ubuntu/trusty-proposed/clamav -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to clamav in Ubuntu. https://bugs.launchpad.net/bugs/799623 Title: Incorrect generated logrotate file To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/clamav/+bug/799623/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 799623] Re: Incorrect generated logrotate file
This bug was fixed in the package clamav - 0.98.1+dfsg-1ubuntu5 --- clamav (0.98.1+dfsg-1ubuntu5) trusty; urgency=low * debian/common_functions - Fix slurp_config() that is sometimes not discriminative enough which leads to invalid configuration files (LP: #799623) -- Louis Bouchard louis.bouch...@ubuntu.com Mon, 10 Feb 2014 17:56:52 +0100 ** Changed in: clamav (Ubuntu) Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to clamav in Ubuntu. https://bugs.launchpad.net/bugs/799623 Title: Incorrect generated logrotate file To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/clamav/+bug/799623/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 799623] Re: Incorrect generated logrotate file
debdiff for Precise ** Description changed: + SRU justification : + + Without this fix, installation scripts can generate invalid configuration files + (i.e. logrotate.d/clamav-damemon) + + Impact : + + Invalid configuration files + + Fix : + + Make the parsing algorithm a bit more discriminative + + Test Case : + + 1) install clamav clamav-daemon + $ sudo apt-get -y install clamav clamav-daemon + + 2) Add the following line before the first LogFile statement + LogFileMaxSize 0 + + 3) Deinstall without purging the config file + apt-get -y remove clamav clamav-daemon clamav-base clamav-freshclam libclamav6 + + 4) Re-install clamav clamav-daemon keep the existing config file + apt-get -y install clamav clamav-daemon clamav-base clamav-freshclam libclamav6 + + The clamav-daemon file should look like this (which is wrong) : + 0 { + rotate 12 + weekly + compress + delaycompress + create 640 clamav adm + postrotate + /etc/init.d/clamav-daemon reload-log /dev/null + endscript + } + + The correct format of the file should be : + /var/log/clamav/clamav.log { + rotate 12 + weekly + compress + delaycompress + create 640 clamav adm + postrotate + /etc/init.d/clamav-daemon reload-log /dev/null + endscript + } + + Regression : + + None expected, the values returned are still valid. + + Original description of the problem : Binary package hint: clamav-daemon Version: 0.96.5+dfsg-1ubuntu1.10.04.2 Sometimes the logrotate conf file (/etc/logrotate.d/clamav-daemon) is incorrectly generated, with a '0' instead of '/var/log/clamav/clamav.log'. See the attached file for a example of bad configuration. I suspect the root cause is in the clamav-daemon.postinst script. In the 'configure' case the logrotate conf file could be generated and I feel the variable 'LogFile' is with a bad value thus printing like 0 in the conf file. Cheers, Javier ** Patch added: lp799623_fix_logrotate_precise.debdiff https://bugs.launchpad.net/ubuntu/+source/clamav/+bug/799623/+attachment/3977076/+files/lp799623_fix_logrotate_precise.debdiff -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to clamav in Ubuntu. https://bugs.launchpad.net/bugs/799623 Title: Incorrect generated logrotate file To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/clamav/+bug/799623/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 799623] Re: Incorrect generated logrotate file
debdiff for saucy ** Patch added: lp799623_fix_logrotate_saucy.debdiff https://bugs.launchpad.net/ubuntu/+source/clamav/+bug/799623/+attachment/3977077/+files/lp799623_fix_logrotate_saucy.debdiff -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to clamav in Ubuntu. https://bugs.launchpad.net/bugs/799623 Title: Incorrect generated logrotate file To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/clamav/+bug/799623/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 799623] Re: Incorrect generated logrotate file
** Changed in: clamav (Ubuntu) Assignee: (unassigned) = Louis Bouchard (louis-bouchard) ** Changed in: clamav (Ubuntu Precise) Assignee: (unassigned) = Louis Bouchard (louis-bouchard) ** Changed in: clamav (Ubuntu Raring) Assignee: (unassigned) = Louis Bouchard (louis-bouchard) ** Changed in: clamav (Ubuntu Quantal) Assignee: (unassigned) = Louis Bouchard (louis-bouchard) ** Changed in: clamav (Ubuntu Precise) Importance: Undecided = Low ** Changed in: clamav (Ubuntu Quantal) Importance: Undecided = Low ** Changed in: clamav (Ubuntu Raring) Importance: Undecided = Low ** Changed in: clamav (Ubuntu) Status: Confirmed = In Progress ** Changed in: clamav (Ubuntu Precise) Status: Confirmed = In Progress ** Changed in: clamav (Ubuntu Quantal) Status: Confirmed = In Progress ** Changed in: clamav (Ubuntu Raring) Status: Confirmed = In Progress -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to clamav in Ubuntu. https://bugs.launchpad.net/bugs/799623 Title: Incorrect generated logrotate file To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/clamav/+bug/799623/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 799623] Re: Incorrect generated logrotate file
** Branch linked: lp:~louis- bouchard/ubuntu/trusty/clamav/lp799623_fix_logrotate -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to clamav in Ubuntu. https://bugs.launchpad.net/bugs/799623 Title: Incorrect generated logrotate file To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/clamav/+bug/799623/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 799623] Re: Incorrect generated logrotate file
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: clamav (Ubuntu Quantal) Status: New = Confirmed -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to clamav in Ubuntu. https://bugs.launchpad.net/bugs/799623 Title: Incorrect generated logrotate file To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/clamav/+bug/799623/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 799623] Re: Incorrect generated logrotate file
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: clamav (Ubuntu Raring) Status: New = Confirmed -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to clamav in Ubuntu. https://bugs.launchpad.net/bugs/799623 Title: Incorrect generated logrotate file To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/clamav/+bug/799623/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 799623] Re: Incorrect generated logrotate file
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: clamav (Ubuntu Precise) Status: New = Confirmed -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to clamav in Ubuntu. https://bugs.launchpad.net/bugs/799623 Title: Incorrect generated logrotate file To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/clamav/+bug/799623/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 799623] Re: Incorrect generated logrotate file
** Also affects: clamav (Ubuntu Precise) Importance: Undecided Status: New ** Also affects: clamav (Ubuntu Quantal) Importance: Undecided Status: New ** Also affects: clamav (Ubuntu Raring) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to clamav in Ubuntu. https://bugs.launchpad.net/bugs/799623 Title: Incorrect generated logrotate file To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/clamav/+bug/799623/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 799623] Re: Incorrect generated logrotate file
This bug appears because of the way we get conf parameters values, for LogFile: grep '^LogFile' /etc/clamav/clamd.conf LogFileMaxSize 0 LogFile /var/log/clamav/clamav.log LogFileUnlock false LogFileMaxSize 0 The fix: diff clamav-daemon.postinst /var/lib/dpkg/info/clamav-daemon.postinst 175c175 value=`grep ^$variable[[:space:]] $CLAMAVCONF | head -n1 | awk '{print $2}'` --- value=`grep ^$variable $CLAMAVCONF | head -n1 | awk '{print $2}'` Test: + grep ^LogFile /etc/clamav/clamd.conf + value=0 + [ -z 0 ] + [ 0 != LogFile ] + export LogFile=0 --- + awk {print $2} + grep ^LogFile[[:space:]] /etc/clamav/clamd.conf + value=/var/log/clamav/clamav.log + [ -z /var/log/clamav/clamav.log ] + [ /var/log/clamav/clamav.log != LogFile ] + export LogFile=/var/log/clamav/clamav.log -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to clamav in Ubuntu. https://bugs.launchpad.net/bugs/799623 Title: Incorrect generated logrotate file To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/clamav/+bug/799623/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 799623] Re: Incorrect generated logrotate file
Hi there Javier is a developer on a linux control system / distribution called zentyal. It was myself and another user who spotted this on our installations. I've attatched my clamd.conf. If you need any further info please ask Details on the zentyal forum here. http://forum.zentyal.org/index.php/topic,14558.0.html ** Attachment added: clamd.conf from system with broken clam logrotate settings https://bugs.launchpad.net/ubuntu/+source/clamav/+bug/799623/+attachment/3600750/+files/clamd.conf -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to clamav in Ubuntu. https://bugs.launchpad.net/bugs/799623 Title: Incorrect generated logrotate file To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/clamav/+bug/799623/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 799623] Re: Incorrect generated logrotate file
I've looked a little bit at the .postinst script but I can't see how this could happen, except when there is something wrong in the config file itself. Like 'LogFile 0' in it or something :) @Javier, do you by any chance have the clamd.conf file ? Or can you reproduce this problem in any consistent way? -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to clamav in Ubuntu. https://bugs.launchpad.net/bugs/799623 Title: Incorrect generated logrotate file To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/clamav/+bug/799623/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 799623] Re: Incorrect generated logrotate file
Thanks for the bug report, Ill see if I can get this fixed. Regards chuck ** Changed in: clamav (Ubuntu) Importance: Undecided = Low ** Changed in: clamav (Ubuntu) Status: New = Confirmed -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to clamav in Ubuntu. https://bugs.launchpad.net/bugs/799623 Title: Incorrect generated logrotate file To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/clamav/+bug/799623/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 799623] Re: Incorrect generated logrotate file
** Attachment added: clamav-daemon https://bugs.launchpad.net/bugs/799623/+attachment/2175575/+files/clamav-daemon -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to clamav in Ubuntu. https://bugs.launchpad.net/bugs/799623 Title: Incorrect generated logrotate file To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/clamav/+bug/799623/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs