[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug: tomcat9



On Fri, 2019-01-11 at 11:11 +0100, Frederik Himpe wrote:
> Installing tomcat9 from backports on a Stretch backports gives this
> error:
> 
> Setting up tomcat9 (9.0.14-1~bpo9+1) ...
> [/usr/lib/sysusers.d/tomcat9.conf:7] Trailing garbage.

It probably should have a dependency on the newer systemd in backports,
or it should be made compatible with the Stretch systemd. Stretch
systemd does not accept defining a shell in sysusers.d files (by
defaults it's nologin). Then in the service file there are also things
which don't work with systemd from stretch:

systemd[1]: [/lib/systemd/system/tomcat9.service:35] Unknown lvalue 'LogsDirectory' in section 'Service'
systemd[1]: [/lib/systemd/system/tomcat9.service:36] Unknown lvalue 'LogsDirectoryMode' in section 'Service'
systemd[1]: [/lib/systemd/system/tomcat9.service:37] Unknown lvalue 'CacheDirectory' in section 'Service'
systemd[1]: [/lib/systemd/system/tomcat9.service:38] Unknown lvalue 'CacheDirectoryMode' in section 'Service'


-- 
Frederik Himpe <fhimpe@ai.vub.ac.be>
Vrije Universiteit Brussel


Reply to: