Init script comming with www-servers/tomcat-6.0.20 ebuild creates log file Catalina.out with bad ownership in case you want to run tomcat server under different user/group than default (tomcat/tomcat). That's a common case when you are running multiple instances of tomcat. Problem is line 40 of init script where are user and group hardcoded instead of use of variables. Solution is pretty simple. I'll try to include a patch. Can someone add it to the portage tree to the aforementioned ebuild. Thanks! Reproducible: Always Steps to Reproduce: 1. emerge =www-servers/tomcat-6.0.20 Actual Results: Bad init script was installed. It has hardcoded tomcat user/group. Expected Results: Tomcat user/group shoudln't be hardcoded in the init script.
Created attachment 224069 [details, diff] Simple patch to change buggy line of the init script.
Created attachment 224075 [details, diff] Simple patch to change buggy line of the init script. Second version! In the first one is a tiny mistake.
Should be fixed in 6.0.26-r1