Project

General

Profile

Actions

Bug #11330

closed

logrotate reload error on Ubuntu 14.04

Added by Wim Heirman about 9 years ago. Updated over 8 years ago.

Status:
Resolved
Priority:
Urgent
Assignee:
Category:
-
Target version:
-
% Done:

100%

Source:
other
Tags:
Backport:
hammer
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

The logrotate script tries to restart ceph using invoke-rc.d, which results it the following error:

/etc/cron.daily/logrotate:
invoke-rc.d: policy-rc.d denied execution of reload.

On Ubuntu 14.04, both `invoke-rc.d' and `service' exist but the latter should be used instead. Switching the order of detection in /etc/logrotate.d/ceph should fix this.


Related issues 1 (0 open1 closed)

Copied to Ceph - Backport #12923: logrotate reload error on Ubuntu 14.04ResolvedNathan CutlerActions
Actions

Also available in: Atom PDF