/var/lib/tomcat6/temp directory could be cleaned up at each tomcat6 restart
Bug #287452 reported by
Thierry Carrez
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tomcat6 (Ubuntu) |
Fix Released
|
Low
|
Thierry Carrez |
Bug Description
Binary package hint: tomcat6
Tomcat 5.5 packages clean up the JVM temp directory (/var/lib/
To have that directory cleaned up sometimes in Tomcat 6, we should do the same.
Changed in tomcat6: | |
importance: | Undecided → Low |
status: | New → Triaged |
Changed in tomcat6: | |
assignee: | nobody → tcarrez |
status: | Triaged → In Progress |
To post a comment you must log in.
Steve Langasek reminded me of the following:
Shouldn't tomcat be using something other than /var/lib for a temp directory? This is an FHS violation, and is inconsistent with things like backup policies that try to avoid temp files.
Rather than cleaning up a static directory at each restart, creating (safely) a /tmp/tomcat.XXXX and setting it as the jvm TMPDIR at each restart might be cleaner.