logrotate is broken on non-controller nodes
Bug #1278549 reported by
Dmitry Borodaenko
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Released
|
High
|
Fuel QA Team |
Bug Description
In openstack/
https:/
When such files do not exist (e.g. on a compute node), logrotate cronjob fails and leaves log files in an unusable state. For example, /var/log/
Changed in fuel: | |
status: | Triaged → Fix Committed |
To post a comment you must log in.
From logrotate changelog:
3.7.8 -> 3.7.9 prerotate script
".dpkg- new", ".cfsaved", ".ucf-old", ".ucf-dist", ".ucf-new"
- fix building on Solaris (patch by András Szilárd)
- don't copy config files on the stack -- mmap them instead
(fixes segfaults with too large/invalid config files)
- symlinked conf file man page as requested by Fedora guidelines
(thanks to Ivana Hutarova Varekova)
- cron script logrotate.cron redirects output to /dev/null
- added rotating (copying) non-writable, readable files
(patch by Henrique Martins)
- fixed missingok problem with globs
(taken from the Debian patches by Ted Percival
<email address hidden>)
- fixed bug when log files could be removed even there was
some error in rotation process.
- allow setting size greater than 4.2GB in configuration file
- pass currently rotated file to postrotate/
in nosharedscripts mode
- added new TabooExts: ".disabled", ".dpkg-old", ".dpkg-dist",
(taken from the Debian patches by Paul Martin <email address hidden>)
- Don't change utime atime/mtime when compressing files
(taken from the Debian patches by Paul Martin <email address hidden>)
- Better *rotate scripts parser. (taken from the Debian patches)
- Allow 'include' directive in log file definitions
We're using logrotate 3.7.8 on CentOS and Ubuntu, we should upgrade to the latest version 3.8.7.