Public bug reported: Hi, I get error: error: error opening /var/log/tomcat9/catalina.out: Permission denied logrotate.service: Main process exited, code=exited, status=1/FAILURE logrotate.service: Failed with result 'exit-code'.
Logrotate fails on tomcat(catalina) log rotate. I have never had tomcat installed in this machine. System: Description: Ubuntu 22.04.1 LTS Release: 22.04 logrotate: Installed: 3.19.0-1ubuntu1.1 Candidate: 3.19.0-1ubuntu1.1 Version table: *** 3.19.0-1ubuntu1.1 500 500 http://fi.archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages 500 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages 100 /var/lib/dpkg/status 3.19.0-1ubuntu1 500 500 http://fi.archive.ubuntu.com/ubuntu jammy/main amd64 Packages SH ProblemType: Bug DistroRelease: Ubuntu 22.04 Package: logrotate 3.19.0-1ubuntu1.1 ProcVersionSignature: Ubuntu 5.15.0-47.51-generic 5.15.46 Uname: Linux 5.15.0-47-generic x86_64 NonfreeKernelModules: nvidia_modeset nvidia ApportVersion: 2.20.11-0ubuntu82.1 Architecture: amd64 CasperMD5CheckResult: pass CurrentDesktop: ubuntu:GNOME Date: Sun Sep 18 12:07:15 2022 InstallationDate: Installed on 2021-09-28 (354 days ago) InstallationMedia: Ubuntu 21.04 "Hirsute Hippo" - Release amd64 (20210420) SourcePackage: logrotate UpgradeStatus: Upgraded to jammy on 2022-04-22 (148 days ago) ** Affects: logrotate (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug jammy -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to logrotate in Ubuntu. https://bugs.launchpad.net/bugs/1990056 Title: Logrotate fails on never installed tomcat (catalina) log rotate Status in logrotate package in Ubuntu: New Bug description: Hi, I get error: error: error opening /var/log/tomcat9/catalina.out: Permission denied logrotate.service: Main process exited, code=exited, status=1/FAILURE logrotate.service: Failed with result 'exit-code'. Logrotate fails on tomcat(catalina) log rotate. I have never had tomcat installed in this machine. System: Description: Ubuntu 22.04.1 LTS Release: 22.04 logrotate: Installed: 3.19.0-1ubuntu1.1 Candidate: 3.19.0-1ubuntu1.1 Version table: *** 3.19.0-1ubuntu1.1 500 500 http://fi.archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages 500 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages 100 /var/lib/dpkg/status 3.19.0-1ubuntu1 500 500 http://fi.archive.ubuntu.com/ubuntu jammy/main amd64 Packages SH ProblemType: Bug DistroRelease: Ubuntu 22.04 Package: logrotate 3.19.0-1ubuntu1.1 ProcVersionSignature: Ubuntu 5.15.0-47.51-generic 5.15.46 Uname: Linux 5.15.0-47-generic x86_64 NonfreeKernelModules: nvidia_modeset nvidia ApportVersion: 2.20.11-0ubuntu82.1 Architecture: amd64 CasperMD5CheckResult: pass CurrentDesktop: ubuntu:GNOME Date: Sun Sep 18 12:07:15 2022 InstallationDate: Installed on 2021-09-28 (354 days ago) InstallationMedia: Ubuntu 21.04 "Hirsute Hippo" - Release amd64 (20210420) SourcePackage: logrotate UpgradeStatus: Upgraded to jammy on 2022-04-22 (148 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/logrotate/+bug/1990056/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp