I'm seeing basically the same symptom: /etc/logrotate.d/upstart contains "compress" without "delaycompress", which means that logrotate attempts to compress /var/log/upstart/*.log while Upstart is still writing to those files. The result is "gzip: stdin: file size changed while zipping". I believe that at least PART of the appropriate solution is to add "delaycompress" and/or "copytruncate" to /etc/logrotate.d/upstart; however, logrotate might also need to notify Upstart that the file has moved via SIGHUP or some such.
I'm using Ubuntu 14.04.2 LTS.
I do not see the same bug on Ubuntu 12.04.5 LTS; however, I also do not see /lib/systemd/systemd-logind in the output of "ps aux", and I believe that's the particular Upstart service which is trying to log during the gzip.
I'm seeing basically the same symptom: /etc/logrotate. d/upstart contains "compress" without "delaycompress", which means that logrotate attempts to compress /var/log/ upstart/ *.log while Upstart is still writing to those files. The result is "gzip: stdin: file size changed while zipping". I believe that at least PART of the appropriate solution is to add "delaycompress" and/or "copytruncate" to /etc/logrotate. d/upstart; however, logrotate might also need to notify Upstart that the file has moved via SIGHUP or some such.
I'm using Ubuntu 14.04.2 LTS.
I do not see the same bug on Ubuntu 12.04.5 LTS; however, I also do not see /lib/systemd/ systemd- logind in the output of "ps aux", and I believe that's the particular Upstart service which is trying to log during the gzip.