Summary: | www-servers/tomcat-6.0.32-r1 init.d script does not work to stop running tomcat | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Willard Dawson <wfdawson> |
Component: | Current packages | Assignee: | Java team <java> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | jmbsvicetto, krzysztof, merlin |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Willard Dawson
2011-02-18 22:12:17 UTC
Some what a duplicate of bug 235795, or at least known and mentioned on that bug. Sorry, but a temp fix is to update to openrc echo sys-apps/baselayout >> /etc/portage/package.keywords echo sys-apps/openrc >> /etc/portage/package.keywords Might need udev as well can't recall. Same problem here. Updating to openrc on a production system isn't a good idea though. www-servers/tomcat-6.0.32-r1 is in the stable tree now so it shouldn't depend on any packages from the testing tree. (In reply to comment #2) > Updating to openrc on a production system isn't a good idea though. I and a few others use openrc on servers. There's a tracker bug to get it into stable. > www-servers/tomcat-6.0.32-r1 is in the stable tree now so it shouldn't depend > on any packages from the testing tree. You have a point here, though. (In reply to comment #2) > Updating to openrc on a production system isn't a good idea though. Nonsense my interesting maintain Tomcat is from a production system stand point of view. I run openrc on all my production systems across the board, including my production Tomcat server.... (In reply to comment #3) > >(In reply to comment #2) > > www-servers/tomcat-6.0.32-r1 is in the stable tree now so it shouldn't depend > > on any packages from the testing tree. > > You have a point here, though. It does not depend on anything from the unstable tree. That is just an option so you can get things working no. Its a long story if you read other bug you will start to get an idea. I referenced the wrong bug # in comment 1, but clearly people are not loooking at open bugs when filing new ones. Please read bug 191611 as this is a dup of that one. Please close this bug as a duplicate ASAP, ty! The old init script kept a instance of s-s-d running the entire time Tomcat is running. Which is hardly good or ideal on production systems, and its been that way for years now.... I was attempting to no longer have s-s-d running all the time, yet still retain output to catalina.out. I need to just drop support for catalina.out in the init script all together, as I did in 7.0. I accomplished the goal but for some reason came with an unwanted side effect. When tomcat starts, s-s-d is not notified so it thinks it did not start. Likely due to a subshell or something. Either way tomcat does start, just s-s-d is not aware of it, thus assumes it did not start. s-s-d pre-openrc is a piece of crap IMHO. openrc should have been stabilized long ago and I hope it is sometime really soon. Its years in the making, way past due to be in tree and stabilized IMHO. Though likely some reasons why it has not been. Either way time to move forward not backward, and really rather not repeat myself again as most all of this is documented on bug 191611, short of the work around, which I can add to that bug. Closing per William's comment. *** This bug has been marked as a duplicate of bug 191611 *** So this leaves people with the option of keywording baselayout and openrc or mask any stable tomcat versions equal or higher 6.0.26. Don't get me wrong, I am all for openrc and the new baselayout but if an init script of a package in stable is not working properly and the only way to get it to work is pulling in packages from testing, this package shouldn't have been stabilized in the first place. |