Bug 31622 - Не ротируются логи с logrotate >= 3.9.1-alt1
Summary: Не ротируются логи с logrotate >= 3.9.1-alt1
Status: CLOSED DUPLICATE of bug 31623
Alias: None
Product: Sisyphus
Classification: Development
Component: logrotate (show other bugs)
Version: unstable
Hardware: all Linux
: P3 normal
Assignee: Alexey Gladkov
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-15 04:55 MSK by Evgenii Terechkov
Modified: 2015-12-15 13:40 MSK (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Evgenii Terechkov 2015-12-15 04:55:40 MSK
После обновления logrotate стали приходить такие письма от cron.daily:

=8<===================================================================
error: skipping "/var/log/tor/tor.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.
=8<===================================================================

лог-файлы при этом не ротируются.
Comment 1 Evgenii Terechkov 2015-12-15 05:38:06 MSK
Пишут, что проблема в самом logrotate.

*** This bug has been marked as a duplicate of bug 31623 ***
Comment 2 Dmitry V. Levin 2015-12-15 05:45:19 MSK
И все же chmod +t /var/log/tor необходим.
Comment 3 Владимир Диденко 2015-12-15 13:40:23 MSK
(В ответ на комментарий №2)
> И все же chmod +t /var/log/tor необходим.

Сделал.