Your message dated Fri, 24 Sep 2021 14:56:36 +0200
with message-id <[email protected]>
and subject line Re: tomcat9: systemd configuration fails to allow tomcat to 
write to it's own directory
has caused the Debian Bug report #935203,
regarding tomcat9: systemd configuration fails to allow tomcat to write to it's 
own directory
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
935203: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=935203
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: tomcat9
Version: 9.0.16-4~bpo9+1
Severity: normal

Dear Maintainer,

I'm trying to install tomcat9, and run it as a service.  After purging
and reinstalling, tomcat9 fails to start.  I had expected it to start.

`root@gelfly:/var/lib/tomcat9# service tomcat9 restart
Job for tomcat9.service failed because the control process exited with error 
code.
See "systemctl status tomcat9.service" and "journalctl -xe" for details.`

I expected the prompt to simply return, and tomcat9 to be running.

I editted: `/etc/systemd/system/multi-user.target.wants/tomcat9.service`
to add the following two lines:
`ReadWritePaths=/etc/tomcat9/
ReadWritePaths=/var/lib/tomcat9/`

When I then ran

`root@gelfly:/var/lib/tomcat9/conf# systemctl daemon-reload
root@gelfly:/var/lib/tomcat9/conf# service tomcat9 restart
root@gelfly:/var/lib/tomcat9/conf#`

The service started.

-- System Information:
Debian Release: 9.9
  APT prefers oldstable
  APT policy: (500, 'oldstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-9-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8), 
LANGUAGE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages tomcat9 depends on:
ii  lsb-base        9.20161125
ii  systemd         232-25+deb9u11
ii  tomcat9-common  9.0.16-4~bpo9+1
ii  ucf             3.0036

Versions of packages tomcat9 recommends:
pn  libtcnative-1  <none>

Versions of packages tomcat9 suggests:
pn  tomcat9-admin     <none>
ii  tomcat9-docs      9.0.16-4~bpo9+1
ii  tomcat9-examples  9.0.16-4~bpo9+1
pn  tomcat9-user      <none>

-- Configuration Files:
/etc/tomcat9/policy.d/01system.policy [Errno 13] Permission denied: 
'/etc/tomcat9/policy.d/01system.policy'
/etc/tomcat9/policy.d/02debian.policy [Errno 13] Permission denied: 
'/etc/tomcat9/policy.d/02debian.policy'
/etc/tomcat9/policy.d/03catalina.policy [Errno 13] Permission denied: 
'/etc/tomcat9/policy.d/03catalina.policy'
/etc/tomcat9/policy.d/04webapps.policy [Errno 13] Permission denied: 
'/etc/tomcat9/policy.d/04webapps.policy'
/etc/tomcat9/policy.d/50local.policy [Errno 13] Permission denied: 
'/etc/tomcat9/policy.d/50local.policy'

-- no debconf information

--- End Message ---
--- Begin Message ---
Thank you for the report. Unfortunately stretch-backports has reached end-of-
life hence I am going to close this bug report now.


Attachment: signature.asc
Description: This is a digitally signed message part


--- End Message ---

Reply via email to