Bug 32011 - решить вопрос с правами на /var/log/uucp
Summary: решить вопрос с правами на /var/log/uucp
Status: CLOSED DUPLICATE of bug 31636
Alias: None
Product: Sisyphus
Classification: Development
Component: syslog-common (show other bugs)
Version: unstable
Hardware: all Linux
: P3 normal
Assignee: placeholder@altlinux.org
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-21 15:09 MSK by Sergey Y. Afonin
Modified: 2016-04-22 08:08 MSK (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Y. Afonin 2016-04-21 15:09:51 MSK
С текущей версией logrotate (3.9.1-alt2) есть проблема с ротацией логов:

error: skipping "/var/log/uucp/info" because parent directory has insecure permissions (it's not owned by "root"); consider using "su" directive in config file to tell logrotate which user/group should be used for rotation.

# ls -dl uucp
drwxr-x--- 2 uucp adm 4096 Apr 21 16:04 uucp
Comment 1 Sergey Y. Afonin 2016-04-21 15:13:03 MSK
Как вариант, работает "su uucp adm" в /etc/logrotate.d/syslog
Comment 2 Evgenii Terechkov 2016-04-22 08:08:19 MSK
Уже есть баг и предложено минимум одно решение.

*** This bug has been marked as a duplicate of bug 31636 ***