Bug#1008668: bug #1008668: tomcat9: logrotated is not able to truncate catalina.out

2022-05-10 Thread Evren Yurtesen
Subject: Re: bug #1008668: tomcat9: logrotated is not able to truncate catalina.out Nevermind my previous idea. It does not work as the /var/log/tomcat9 is group writable by `adm` group. Causes the following problem: :( # logrotate -f /etc/logrotate.d/tomcat9 error: skipping "/var/log/to

Bug#1008668: bug #1008668: tomcat9: logrotated is not able to truncate catalina.out

2022-04-29 Thread Thorsten Glaser
On Fri, 29 Apr 2022, Evren Yurtesen wrote: > > 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

Bug#1008668: bug #1008668: tomcat9: logrotated is not able to truncate catalina.out

2022-04-29 Thread Timo Aaltonen
Evren Yurtesen kirjoitti 29.4.2022 klo 8.42: 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. try

Bug#1008668: bug #1008668: tomcat9: logrotated is not able to truncate catalina.out

2022-04-28 Thread Evren Yurtesen
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

Bug#1008668: bug #1008668: tomcat9: logrotated is not able to truncate catalina.out

2022-04-20 Thread Evren Yurtesen
schany; Utkarsh Gupta Cc: 1008...@bugs.debian.org Subject: Re: bug #1008668: tomcat9: logrotated is not able to truncate catalina.out Hi Markus, You are quite right. The root cause of the issue is Ubuntu dropping privileges of rsyslogd to `syslog` user. This change was done way back in ~20

Bug#1008668: bug #1008668: tomcat9: logrotated is not able to truncate catalina.out

2022-04-14 Thread Evren Yurtesen
h journald. :) Thanks, Evren From: Markus Koschany Sent: Thursday, April 14, 2022 5:31:49 PM To: Utkarsh Gupta; Evren Yurtesen Cc: 1008...@bugs.debian.org Subject: Re: bug #1008668: tomcat9: logrotated is not able to truncate catalina.out Am Donnerstag, dem 14.

Bug#1008668: bug #1008668: tomcat9: logrotated is not able to truncate catalina.out

2022-04-14 Thread Thorsten Glaser
On Thu, 14 Apr 2022, Utkarsh Gupta wrote: > The submitter has provided a debdiff, too: > https://bugs.debian.org/cgi-bin/bugreport.cgi?att=1;bug=1008668;filename=tomcat9_9.0.58-1ubuntu1.debdiff;msg=5. This will break other syslog implementations, though. What is the problem with logrotate? It

Bug#1008668: bug #1008668: tomcat9: logrotated is not able to truncate catalina.out

2022-04-14 Thread Markus Koschany
Am Donnerstag, dem 14.04.2022 um 16:23 +0530 schrieb Utkarsh Gupta: > Hi Emmanuel, > > We have bug #1008668 that's causing problems on the Ubuntu side and is > also reproducible via the Debian package (essentially, it's the same > in both places). Hi Utkarsh, I have been trying to reproduce