| Summary: | logrotate doesn't rotate on /var/log/nocpulse/ | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Marcela Mašláňová <mmaslano> |
| Component: | nocpulse-common | Assignee: | Miroslav Suchý <msuchy> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 16 | CC: | msuchy |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | nocpulse-common-2.2.1-1.fc16 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-12-10 19:52:31 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
Fixed in upstream in commit 0c53a3a3d6a98049556d44d6805eebc5a3b85a2d nocpulse-common-2.2.1-1.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/nocpulse-common-2.2.1-1.fc16 Package nocpulse-common-2.2.1-1.fc16: * should fix your issue, * was pushed to the Fedora 16 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing nocpulse-common-2.2.1-1.fc16' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2011-16277/nocpulse-common-2.2.1-1.fc16 then log in and leave karma (feedback). nocpulse-common-2.2.1-1.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report. |
I'm not sure whether the bug is in logrotate or in nocpulse-common. The nocpulse log didn't rotate because of owner of /var/log/nocpulse directory. From root Mon Nov 21 10:37:03 2011 Return-Path: <root> Received: from localhost.localdomain (localhost [127.0.0.1]) by localhost.localdomain (8.14.5/8.14.5) with ESMTP id pAL9b3Ds004644 for <root>; Mon, 21 Nov 2011 10:37:03 +0100 Received: (from root@localhost) by localhost.localdomain (8.14.5/8.14.5/Submit) id pAL9b33A004643 for root; Mon, 21 Nov 2011 10:37:03 +0100 Date: Mon, 21 Nov 2011 10:37:03 +0100 Message-Id: <201111210937.pAL9b33A004643> From: Anacron <root> To: root Content-Type: text/plain; charset="ANSI_X3.4-1968" Subject: Anacron job 'cron.daily' on localhost.localdomain /etc/cron.daily/logrotate: error: skipping "/var/log/nocpulse/*log" because parent directory has insecure permissions (It's world writable or writable by group which is not "root") Set "su" directive in config file to tell logrotate which user/group should be used for rotation.