| Summary: | ceph logrotate rule invokes Debian binary | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Jerry James <loganjerry> |
| Component: | ceph | Assignee: | David Nalley <david> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | david, emailscottcollier, fedora, jbacik, josef, orion, steve |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | ceph-0.37-1.fc16 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-11-10 17:38:47 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
You also want a missingok line in there. I have ceph installed as a dep of qemu (for librados.so.2 and librbd.so.1) but not running and I get: /etc/cron.daily/logrotate: error: stat of /var/log/ceph/*.log failed: No such file or directory Perhaps it also make sense to have a ceph-libs package for such deps? ceph-0.37-1.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/ceph-0.37-1.fc16 I just pushed an update to testing, its ceph-0.37-1. Let me know if it works and up the karma if it does. ceph-0.37-1.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report. |
Description of problem: The file /etc/logrotate.d/ceph contains this: postrotate invoke-rc.d ceph reload >/dev/null || service ceph reload >/dev/null endscript The result is that every day I get email from logrotate telling me that the execution of invoke-rc.d failed. Since that is a Debian tool, can we please just remove that part of the line? That is, can you patch the logrotate script so that part reads: postrotate service ceph reload >/dev/null endscript That will stop the nag emails. Thanks. Version-Release number of selected component (if applicable): ceph-0.31-4.fc17.x86_64 How reproducible: Once per day Steps to Reproduce: 1. Install ceph and logrotate 2. Wait until cron.daily runs 3. Read the nag email Actual results: Logrotate warns every day about a failed execution of invoke-rc.d. Expected results: No warnings. Additional info: