First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 174498
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: William L. Thomson Jr. (RETIRED) <wltjr@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: candrews@integralblue.com
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
tomcat-6-init-baselayout2.patch tomcat 6 init script patch for Baselayout 2 text/plain Diego E. 'Flameeyes' Pettenò 2007-05-05 13:22 0000 2.44 KB Details
tomcat-6-init-baselayout2.patch tomcat 6 init script patch for Baselayout 2 [revised] patch Diego E. 'Flameeyes' Pettenò 2007-05-05 13:25 0000 2.90 KB Details | Diff
tomcat-5.5-init-baselayout2.patch tomcat 5.5 init script patch for Baselayout 2 text/plain Diego E. 'Flameeyes' Pettenò 2007-05-05 13:27 0000 3.26 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 174498 depends on: Show dependency tree
Show dependency graph
Bug 174498 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-04-13 18:17 0000
Using sys-apps/baselayout-2.0.0_alpha1, when I start or stop any service, I get
this error:
/etc/init.d/tomcat-6: line 48: `start-helper': not a valid identifier

I'm using www-servers/tomcat-6.0.10-r2

I hope I'm assigning this bug to the right people - I wasn't sure if I should
assign to baselayout or ebuilds.

Thanks!

------- Comment #1 From Roy Marples (RETIRED) 2007-04-13 18:27:46 0000 -------
- is not valid in POSIX shell function names.

------- Comment #2 From William L. Thomson Jr. (RETIRED) 2007-04-13 20:57:01 0000 -------
I will address closer to the time of baselayout-2 being unmasked. And/or when I
have a need to do a revision bump for other reasons.

------- Comment #3 From William L. Thomson Jr. (RETIRED) 2007-04-19 16:36:01 0000 -------
Fixed in tomcat-6.0.10-r3, can't address 5.5.23 since it's stable, although the
change is minor and quite moot. Will address that one when baselayout-2 is
stabilized or etc.

------- Comment #4 From Diego E. 'Flameeyes' Pettenò 2007-05-05 13:22:07 0000 -------
Created an attachment (id=118235) [edit]
tomcat 6 init script patch for Baselayout 2

Unfortunately that change is not enough to get tomcat 6 to work with
Baselayout2 on Gentoo/FreeBSD.

The attached patch also changes [[ in [ and == in =, so that it works with
BSD's sh (and probably dash).

It also adds a --name java instead of --quiet, otherwise the stop action will
silently fail, and report a success.

------- Comment #5 From Diego E. 'Flameeyes' Pettenò 2007-05-05 13:25:50 0000 -------
Created an attachment (id=118236) [edit]
tomcat 6 init script patch for Baselayout 2 [revised]

Actually, this patch is a bit better, it also changes the pidfile name to be
tomcat-6.pid rather than just tomcat.pid, otherwise starting it together with
tomcat-5.5 will fool up s-s-d.

------- Comment #6 From Diego E. 'Flameeyes' Pettenò 2007-05-05 13:27:05 0000 -------
Created an attachment (id=118237) [edit]
tomcat 5.5 init script patch for Baselayout 2

Same patch for 5.5 with also the start-helper vs start_helper change.
Although 5 is stable, Baselayout 2 is the only one usable on Gentoo/FreeBSD, so
to have Tomcat 5.5 on it, this is needed.

------- Comment #7 From Petteri Räty 2007-05-05 13:42:34 0000 -------
(In reply to comment #4)
> 
> Unfortunately that change is not enough to get tomcat 6 to work with
> Baselayout2 on Gentoo/FreeBSD.
> 

Reopening.

------- Comment #8 From William L. Thomson Jr. (RETIRED) 2007-05-15 04:50:42 0000 -------
Ok, address remaining non-posix compliant issue. We should be good to go now :)

Closing bug as it should be fixed now. Please comment or re-open if problem
remains.

------- Comment #9 From William L. Thomson Jr. (RETIRED) 2007-05-29 13:29:56 0000 -------
*** Bug 180207 has been marked as a duplicate of this bug. ***

First Last Prev Next    No search results available      Search page      Enter new bug