| Summary: | Logrotate fails with permissions error following upgrade. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | TR Bentley <home> |
| Component: | tor | Assignee: | Enrico Scholz <rh-bugzilla> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 16 | CC: | ben.lewis, cristian.ciupitu, djuran, jkaluza, liblit, lmacken, paskalis, rh-bugzilla, sergio.pasra, tsmetana |
| Target Milestone: | --- | Keywords: | Reopened |
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | tor-0.2.2.35-1601.fc16 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-01-11 06:15:25 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
TR Bentley
2011-11-05 07:29:58 UTC
Logrotate config of Tor has to be updated to fix this issue or the permissions of /var/log/tor directory has to be changed. This is needed, otherwise there's possible security hole when user in "toranon" group can theoretically email/truncate files owned by by other users using hardlinks even when he doesn't have permissions to do so. There are two ways how to fix it: 1) Add "su" directive to logrotate config file to let logrotate know which user/group should it use for rotation instead of root:root : su toranon toranon 2) Change /var/log/tor permissions to pass the check mentioned in error in Comment 1. Solution fixed problem Reopening (it is not fixed in the tor package yet) Solution #2 would create problems in creating logfiles after rotating. See also https://qa.mandriva.com/show_bug.cgi?id=58489 Solution #1 should be the preferred one. Please update /etc/logrotated.d/tor in tor-core rpm to silence logrotate. Thanks *** Bug 755060 has been marked as a duplicate of this bug. *** tor-0.2.2.35-1601.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/tor-0.2.2.35-1601.fc16 Package tor-0.2.2.35-1601.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 tor-0.2.2.35-1601.fc16' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2011-17248/tor-0.2.2.35-1601.fc16 then log in and leave karma (feedback). tor-0.2.2.35-1601.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report. |