FS#33163 - [tomcat6] add tmpfiles.d config to create /var/log/tomcat6

Attached to Project: Arch Linux
Opened by Lukas Jirkovsky (6xx) - Saturday, 22 December 2012, 13:05 GMT
Last edited by Guillaume ALAUX (galaux) - Thursday, 10 January 2013, 11:22 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Guillaume ALAUX (galaux)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Currently if the /var/tmp is cleaned by systemd-tmpfiles, it will remove the /var/log/tomcat6 directory which is suplied by the tomcat6 package.
This causes following error when tomcat is started:

SEVERE: Cannot find specified temporary folder at /var/tmp/tomcat6/temp

Additional info:
* tomcat6 6.0.36-2
* this bug also likely applies to the tomcat7 package

Steps to reproduce:
1. clean /var/tmp using systemd-tmpfiles
2. start tomcat6
3. check the log: /var/log/tomcat6/catalina.err
This task depends upon

Closed by  Guillaume ALAUX (galaux)
Thursday, 10 January 2013, 11:22 GMT
Reason for closing:  Implemented
Additional comments about closing:  Implemented in 6.0.36-3
Comment by Guillaume ALAUX (galaux) - Thursday, 10 January 2013, 09:53 GMT
Implemented in tomcat7 7.0.34-3. Should follow for tomcat6.
Thanks Lukas: I learnt some valuable stuff about systemd :)

Loading...