Bug 1120828
| Summary: | logcheck doesn't have permossions to read logs | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | John Ellson <john.ellson> |
| Component: | logcheck | Assignee: | Matthias Runge <mrunge> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 20 | CC: | igeorgex, mrunge |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-07-18 09:24:03 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
Yes, that's a known issue, you need some additions tweaking; sadly, there's not much I can do about it. *** This bug has been marked as a duplicate of bug 1062147 *** Then why close the bug? Why not leave it open until someone fixes it, or removes the useless package? It's a configuration issue on your system. Add to /etc/logrotate.d/syslog: create 0640 root adm that makes /var/log/messages to be created with the appropriate ownerships. |
Description of problem: logcheck doesn't have permissions to read logs Version-Release number of selected component (if applicable): logcheck-1.3.14-9.fc20.noarch How reproducible: 100% Steps to Reproduce: 1.sudo -u logcheck logcheck -o -t 2. 3. Actual results: Error: Could not run logtail or save output. Expected results: Summary of interesting log messages Additional info: Tried: chown root:adm /var/log/messages; chmod 640 /var/log/messages but something change them back withun seconds. Tried: setfacl -m u:logcheck:r /var/log/messages but the effect permissions didn't change - no acl on default mounts.