[Bug 1297705] [NEW] keystone logrotate configuration causing service disruption
Magesh GV
magesh.gv at tcs.com
Wed Mar 26 08:44:49 UTC 2014
Public bug reported:
Logrotate is configured to rotate the keystone logs every 24 hours.
The problem is that restart keystone is added after logrotate. This
causes a disruption in service.
/var/log/keystone/keystone.log {
daily
missingok
rotate 5
postrotate
restart keystone >/dev/null 2>&1 || true
endscript
compress
delaycompress
notifempty
}
Just removing the line "restart keystone >/dev/null 2>&1 || true" fixes
this problem. Moreover, logging also happens to keystone.log itself
rather than keystone.log.1 even when logrotate is triggered after
deleting the restart line.
** Affects: keystone (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to keystone in Ubuntu.
https://bugs.launchpad.net/bugs/1297705
Title:
keystone logrotate configuration causing service disruption
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/keystone/+bug/1297705/+subscriptions
More information about the Ubuntu-server-bugs
mailing list