I am getting the following errors from cron after upgrading my VM to walinuxagent 2.2.2-0ubuntu0~14.04.1 (the previous version was 2.0.8-0ubuntu1~14.04.0).
```
/etc/cron.daily/logrotate:
error: waagent.logrotate:1 duplicate log entry for /var/log/waagent.log
```
Indeed, there are two duplicate logrotate files that both appear to belong to the walinuxagent package:
```
$ dpkg -S /etc/logrotate.d/waagent*
walinuxagent: /etc/logrotate.d/waagent
walinuxagent: /etc/logrotate.d/waagent.logrotate
$ cmp /etc/logrotate.d/waagent*
$ cat /etc/logrotate.d/waagent
/var/log/waagent.log {
compress
monthly
rotate 6
notifempty
missingok
}
```
I am getting the following errors from cron after upgrading my VM to walinuxagent 2.2.2-0ubuntu0~ 14.04.1 (the previous version was 2.0.8-0ubuntu1~ 14.04.0) . daily/logrotate : waagent. log
```
/etc/cron.
error: waagent.logrotate:1 duplicate log entry for /var/log/
```
Indeed, there are two duplicate logrotate files that both appear to belong to the walinuxagent package: d/waagent* d/waagent d/waagent. logrotate d/waagent* d/waagent waagent. log {
```
$ dpkg -S /etc/logrotate.
walinuxagent: /etc/logrotate.
walinuxagent: /etc/logrotate.
$ cmp /etc/logrotate.
$ cat /etc/logrotate.
/var/log/
compress
monthly
rotate 6
notifempty
missingok
}
```
I'm on 14.04 LTS:
```
$ lsb_release -rd
Description: Ubuntu 14.04.5 LTS
Release: 14.04
```