[packaging] [Bug 5397] New: logrotate spec for chwala omits su

Kolab Bugzilla noreply at kolab.org
Sat Apr 9 02:11:31 CEST 2016


https://issues.kolab.org/show_bug.cgi?id=5397

            Bug ID: 5397
           Summary: logrotate spec for chwala omits su
    Classification: Kolab Server
           Product: Kolab Server
           Version: unspecified
          Hardware: PC
                OS: Mac OS
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: packaging
          Assignee: packaging-bugs at lists.kolabsys.com
          Reporter: brad.rubenstein at gmail.com
       Ticket Type: ---

Versions:
OS: CentOS 7
Kolab: 16
Chwala: chwala-0.4-1.3.el7.kolab_16.noarch

Various logrotate files were updated in Kolab 16 to resolve permissions errors,
per Bug 2638.  /etc/logrotate.d/chwala was missed.

Observed: In /etc/logrotate.d/chwala:

/var/log/chwala/console /var/log/chwala/errors /var/log/chwala/imap
/var/log/chwala/ldap /var/log/chwala/sendmail /var/log/chwala/sieve
/var/log/chwala/smtp /var/log/chwala/sql /var/log/chwala/userlogins {
    missingok
    compress
    notifempty
    size 30k
    create 0660 apache apache
}

Expected:
/var/log/chwala/console /var/log/chwala/errors /var/log/chwala/imap
/var/log/chwala/ldap /var/log/chwala/sendmail /var/log/chwala/sieve
/var/log/chwala/smtp /var/log/chwala/sql /var/log/chwala/userlogins {
    missingok
    compress
    notifempty
    size 30k
    create 0660 apache apache
    su apache apache
}

I'll also note, in passing, that the log directories have inconsistent
ownership/permissions, in case that needs to be adjusted:
# ls -l /var/log | grep apache
drwxr-x---. 2 apache   apache        6 Mar 19 11:54 chwala
drwxrwx---. 2 apache   apache        6 Mar 29 02:49 iRony
drwxr-x---. 2 apache   apache        6 Mar 19 11:54 kolab-autoconf
drwxrwx---. 2 root     apache        6 Mar 29 02:54 kolab-freebusy
drwxrwx---. 2 apache   apache        6 Mar 29 02:59 kolab-syncroton
drwxrwx---. 2 apache   apache        6 Mar 19 11:56 kolab-webadmin
drwxrwx---. 2 root     apache        6 Mar 29 00:12 roundcubemail


[I'm not sure if this should be reported as a packaging issue or a chwala issue
- apologies if I've categorized it wrong - BR]

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kolabsys.com/pipermail/packaging-bugs/attachments/20160409/6bc25ee5/attachment.htm>


More information about the packaging-bugs mailing list