Hi,

I am not sure if anybody received my previous e-mails as I do not see them in 
the mailing list thread. :(

>  What is the problem with logrotate? It happily rotates files owned by anyone 
> in Debian.

Because in Ubuntu rsyslog drops privileges to `syslog` user. Therefore, the log 
files generated by rsyslog are owned by the `syslog` user. But tomcat9 
logrotate configuration forces logrotate to become `tomcat` user, during 
rotation. Rsyslog fails to truncate the catalina.out file which has read/write 
permissions only for `syslog` user.

One solution would be undoing 
https://bugs.launchpad.net/ubuntu/+source/rsyslog/+bug/388608 at Ubuntu. But I 
do not know how to reach to correct people at Ubuntu side. I also do not think 
I could convince them that this is creating problems.

It is really sad to see that a simple problem related to a single file's 
permissions can take so long to resolve. Any help you can provide is welcome. 

Thanks,
Evren

Reply via email to