Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 285431 Details for
Bug 381693
tomcat-6 init fails when CATALINA_TMPDIR does not exist
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
patch to tomcat-6 init script to create CATALINA_TMPDIR if needed
tomcat-6.patch (text/plain), 522 bytes, created by
Mark Keisler
on 2011-09-03 15:30:48 UTC
(
hide
)
Description:
patch to tomcat-6 init script to create CATALINA_TMPDIR if needed
Filename:
MIME Type:
Creator:
Mark Keisler
Created:
2011-09-03 15:30:48 UTC
Size:
522 bytes
patch
obsolete
>--- /tmp/tomcat-6 2011-09-03 11:27:40.000000000 -0400 >+++ /etc/init.d/tomcat-6 2011-09-03 11:05:21.325797625 -0400 >@@ -42,6 +42,11 @@ > touch "${CATALINA_BASE}logs/catalina.out" > chown "${CATALINA_USER}:${CATALINA_GROUP}" "${CATALINA_BASE}logs/catalina.out" > fi >+ >+ if [ ! -e "${CATALINA_TMPDIR}" ]; then >+ mkdir ${CATALINA_TMPDIR} 2>&1 >/dev/null >+ chown "${CATALINA_USER}:${CATALINA_GROUP}" "${CATALINA_TMPDIR}" >+ fi > } > > ssd() {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 381693
: 285431