Ошибка ротации лог-файлов, у которых владелец не root: ================== error: skipping "/var/log/uucp/errors" 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. 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. error: skipping "/var/log/uucp/warnings" 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. ================= Лечится правкой /etc/logrotate.d/syslog: /var/log/uucp/* { + su uucp uucp rotate 5 weekly postrotate
# rpm -qf /etc/logrotate.d/syslog syslog-common-1.4.1-alt30 Это не на logrotate должно висеть... *** This bug has been marked as a duplicate of bug 31636 ***
На p8 ничего не изменилось: [root@as logrotate.d]# logrotate syslog error: skipping "/var/log/uucp/errors" 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. 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. error: skipping "/var/log/uucp/warnings" 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. # rpm -qf /etc/logrotate.d/syslog syslog-common-1.4.1-alt30 * Чт фев 12 2009 Dmitry V. Levin <ldv@altlinux.org> 1.4.1-alt30 - klogd: Defined more syslog symbols to overcome unsuitable glibc syslog implementation. # cat /etc/logrotate.d/syslog /var/log/uucp/* { rotate 5 weekly postrotate /sbin/reload-syslog >/dev/null endscript }
Наверное можно собрать (давно было) 1.4.1-alt30.M80P.1 без syslog-common, а syslog-common скопировать из p9. Или совместить с Bug 29539.
Для p8 исправлено не будет, начиная с p9 исправлено.