Re: Log-rotation doesn't work for catalina.out in src:tomcat9 as intended

2022-05-12 Thread Andreas Hasenack
Hi, On Thu, May 12, 2022 at 10:53 AM Utkarsh Gupta wrote: > > Hi Andreas, > > On Thu, May 12, 2022 at 6:17 PM Andreas Hasenack > wrote: > > This reminded me that frr is also affected by this: > > https://bugs.launchpad.net/ubuntu/+source/frr/+bug/1958162 > > > > And frr is in main now. I'll

Re: Log-rotation doesn't work for catalina.out in src:tomcat9 as intended

2022-05-12 Thread Utkarsh Gupta
Hi Andreas, On Thu, May 12, 2022 at 6:17 PM Andreas Hasenack wrote: > This reminded me that frr is also affected by this: > https://bugs.launchpad.net/ubuntu/+source/frr/+bug/1958162 > > And frr is in main now. I'll work on it. Ah. D'you think there could be somewhat of a common solution

Re: Log-rotation doesn't work for catalina.out in src:tomcat9 as intended

2022-05-12 Thread Andreas Hasenack
Hi, On Tue, May 10, 2022 at 5:07 AM Evren Yurtesen wrote: > > Hi Robie and Utkarsh, > > > This issue is not isolated to tomcat9 package. For example, jetty9 package > logging does not work. Rsyslog says: This reminded me that frr is also affected by this:

Re: Log-rotation doesn't work for catalina.out in src:tomcat9 as intended

2022-05-10 Thread Evren Yurtesen
Hi Robie and Utkarsh, This issue is not isolated to tomcat9 package. For example, jetty9 package logging does not work. Rsyslog says: May 10 10:01:58 ubuntu-wayland rsyslogd: file '/var/log/jetty9/jetty-console.log': open error: Permission denied [v8.2112.0 try https://www.rsyslog.com/e/2433

Re: Log-rotation doesn't work for catalina.out in src:tomcat9 as intended

2022-05-09 Thread Robie Basak
On Fri, May 06, 2022 at 01:20:30AM +0530, Utkarsh Gupta wrote: > a) This is Ubuntu-specific because of the changes introduced in > src:rsyslog over a decade ago, which basically doesn't let it run as > root, which is where I think the problem(s) started to originate. > However, I am kinda stumped

Re: Log-rotation doesn't work for catalina.out in src:tomcat9 as intended

2022-05-06 Thread Evren Yurtesen
Hello, I think that the reason of why this surfacing recently is because tomcat8 was started using an init script which chowned the catalina.out every start. However it starts using systemd now. There was at least one other bug related to this:

Log-rotation doesn't work for catalina.out in src:tomcat9 as intended

2022-05-05 Thread Utkarsh Gupta
Hello, A few weeks ago, LP: #1964881/tomcat9 was opened by Evren (also CC'd here), mentioning that Logging/Log rotation does not work for catalina.out as expected. Since this was in sync w/ Debian, we forwarded this there via https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1008668. If you