/etc/cron.daily/logrotate: error: skipping "/var/log/roundcubemail/errors" 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. # ls -ld /var/log/roundcubemail drwxrwxr-x. 2 root apache 4096 2011-09-06 18:17 /var/log/roundcubemail BTW, it is empty: # ls -l /var/log/roundcubemail total 0 roundcubemail-0.5.4-1.fc16.noarch /var/log/roundcubemail was not changed by me: # rpm -V roundcubemail 5S.T..... c /etc/httpd/conf.d/roundcubemail.conf 5S.T..... c /etc/roundcubemail/db.inc.php 5S.T..... c /etc/roundcubemail/main.inc.php
Missing su in /etc/logrotate.d/roundcubemail [root@host logrotate.d]# /etc/cron.daily/logrotate error: skipping "/var/log/roundcubemail/errors" 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. add the "su" under create inside the file /etc/logrotate.d/roundcubemail [root@host logrotate.d]# cat roundcubemail /var/log/roundcubemail/errors { missingok notifempty size 30k create 0660 root apache su } That should fix it, and the error is not there. [root@host logrotate.d]# /etc/cron.daily/logrotate [root@host logrotate.d]#
> [root@host logrotate.d]# cat roundcubemail > /var/log/roundcubemail/errors { > missingok > notifempty > size 30k > create 0660 root apache > su > } > > That should fix it, and the error is not there. su requires 2 parameters, user and group. Please add apache apache. > [root@host logrotate.d]# /etc/cron.daily/logrotate > [root@host logrotate.d]# Maybe you started this when logs have been already rotated. Please, also add other files in /var/log/roundcubemail to rotation script. You can use: /var/log/roundcubemail/* I am not sure, if su and create ... root are compatible.
roundcubemail-0.5.4-2.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/roundcubemail-0.5.4-2.fc16
roundcubemail-0.5.4-2.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/roundcubemail-0.5.4-2.fc15
Package roundcubemail-0.5.4-2.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 roundcubemail-0.5.4-2.fc16' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-3043/roundcubemail-0.5.4-2.fc16 then log in and leave karma (feedback).
*** Bug 802811 has been marked as a duplicate of this bug. ***
roundcubemail-0.5.4-2.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report.
roundcubemail-0.5.4-2.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report.
Using 0.5.4-2 on fc15 I am now seeing the following error from logrotate error: roundcubemail:3 unknown option 'su' -- ignoring line
It seems update should have been released for F16 only.
Oh, that's a new feature with 3.8.x. Whoops. I'll get a fix out.
roundcubemail-0.5.4-3.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/roundcubemail-0.5.4-3.fc15
roundcubemail-0.5.4-3.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report.