** Also affects: clamav (Ubuntu Jaunty)
   Importance: Undecided
       Status: New

** Changed in: clamav (Ubuntu Jaunty)
   Importance: Undecided => High

** Changed in: clamav (Ubuntu Jaunty)
       Status: New => In Progress

** Changed in: clamav (Ubuntu Jaunty)
    Milestone: None => jaunty-updates

** Description changed:

  Binary package hint: clamav-milter
  
  A fresh install of clamav-milter (0.95.1+dfsg-1ubuntu1) creates the
  following file in logrotate.d:
  
  r...@prizm:/tmp# cat /etc/logrotate.d/clamav-milter
  none {
       rotate 12
       weekly
       compress
       delaycompress
       create 640  clamav adm
       postrotate
       /etc/init.d/clamav-milter reload-log > /dev/null
       endscript
       }
  
  Unfortunately this file is very broken and just errors out whenever
  logrotate runs it:
  
  r...@prizm:/tmp# /etc/cron.daily/logrotate
  error: clamav-milter:1 unknown option 'none' -- ignoring line
  error: clamav-milter:1 unexpected text
  error: clamav-milter:10 unexpected }
  error: found error in file clamav-milter, skipping
  
  --------------------------------
  
  r...@prizm:/tmp# /etc/init.d/clamav-milter reload-log
   * Usage: /etc/init.d/clamav-milter {start|stop|restart|force-reload|status}
+ 
+ TEST CASE:
+ 
+ manually run /etc/cron.daily/logrotate (no need to do this as root or
+ with sudo).  Observer formatting errors:
+ 
+ error: clamav-milter:1 unknown option 'none' -- ignoring line
+ error: clamav-milter:1 unexpected text
+ error: clamav-milter:10 unexpected }
+ error: found error in file clamav-milter, skipping
+ 
+ Install the updated package.  Run /etc/cron.daily/logrotate again and
+ not the absence of clamav-milter related errors.  If you run it without
+ elevated privileges (sudo/root) it will fail to run, but will
+ demonstrate the absence for formatting errors.

-- 
clamav-milter logrotate script fails (jaunty)
https://bugs.launchpad.net/bugs/363804
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to