[Pkg-freeipa-devel] Bug#801061: pki-server: pki-tomcatd at .service ExecStart and ExecStop refer to non-existant path /usr/libexec/tomcat/server
Diane Trout
diane at debian.org
Mon Oct 5 19:38:44 UTC 2015
Package: pki-server
Version: 10.2.6-2
Severity: important
Hello again,
Thank you for the quick response for the last two bugs I filed.
I got a bit further starting up pki-server under systemd, the paths in
the systemd .service file are wrong. I tried using
/usr/lib/pki/pki-tomcat/bin/startup.sh and
/usr/lib/pki/pki-tomcat/bin/shutdown.sh
instead of /usr/libexec/tomcat/server which almost works.
In order to have pki-tomcat start I have to manually do:
mkdir -p /var/run/pki/tomcat
and then I run:
chown -R pkiuser:pkiuser /var/run/pki
Though I'm just assuming I need to do the chown based on the
User/Group setting in the unit file.
I'm not sure those are the right startup/shutdown scripts as the
systemd unit seems like its supposed to be generic, perhaps
those shutdown/startup scripts paths should have pki-tomcat replaced
with a macro?
Diane Trout
-- System Information:
Debian Release: stretch/sid
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.2.0-1-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages pki-server depends on:
ii adduser 3.113+nmu3
ii dogtag-pki-server-theme 10.2.6-2
ii init-system-helpers 1.23
ii ldap-utils 2.4.42+dfsg-2
ii libatk-wrapper-java 0.33.3-1
ii libjackson-json-java 1.9.2-3
ii libjackson2-annotations-java 2.4.2-2
ii libjackson2-jaxrs-providers-java 2.4.2-1
ii libjs-jquery 1.11.3+dfsg-4
ii libjs-underscore 1.7.0~dfsg-1
ii libnuxwdog-java 1.0.3-3
ii libtomcatjss-java 7.1.3-3
ii libxml-commons-external-java 1.4.01-2
ii libxml-commons-resolver1.1-java 1.2-7
ii pki-base 10.2.6-2
ii pki-tools 10.2.6-2
ii python 2.7.9-1
ii python-selinux 2.3-2+b1
ii tomcat7-user 7.0.64-1
ii velocity 1.7-4
pki-server recommends no packages.
pki-server suggests no packages.
-- no debconf information
More information about the Pkg-freeipa-devel
mailing list