Bug#915791: tomcat9: broken symlinks: /var/lib/tomcat9/{logs,work}

2018-12-06 Thread Andreas Beckmann
Package: tomcat9
Version: 9.0.13-2
Severity: important
User: debian...@lists.debian.org
Usertags: piuparts

Hi,

during a test with piuparts I noticed your package ships (or creates)
a broken symlink.

>From the attached log (scroll to the bottom...):

0m40.0s ERROR: FAIL: Broken symlinks:
  /var/lib/tomcat9/work -> ../../cache/tomcat9 (tomcat9)
  /var/lib/tomcat9/logs -> ../../log/tomcat9 (tomcat9)


Shouldn't tomcat9 ship (or create) the targets as well?


cheers,

Andreas


tomcat9_9.0.13-2.log.gz
Description: application/gzip


Bug#915791: tomcat9: broken symlinks: /var/lib/tomcat9/{logs,work}

2018-12-06 Thread Emmanuel Bourg
Le 06/12/2018 à 21:01, Andreas Beckmann a écrit :

> during a test with piuparts I noticed your package ships (or creates)
> a broken symlink.
> 
> From the attached log (scroll to the bottom...):
> 
> 0m40.0s ERROR: FAIL: Broken symlinks:
>   /var/lib/tomcat9/work -> ../../cache/tomcat9 (tomcat9)
>   /var/lib/tomcat9/logs -> ../../log/tomcat9 (tomcat9)
> 
> 
> Shouldn't tomcat9 ship (or create) the targets as well?

Hi Andreas,

These directories are created automatically when the service is started.
Is it ok or should this be changed to directories created at install time?

Emmanuel Bourg