[PKG-Openstack-devel] Bug#770706: keystone.service does not start, /var/run/keystone not created

Stig Sandbeck Mathisen ssm at debian.org
Sun Nov 23 15:38:18 UTC 2014


Looks like my proposed solution (RuntimeDirectory=) does not work very
well with multiple services needing the same /run/something directories.

When I defined multiple services with the same RuntimeDir=, the services
delete each others runtime directories. This is documented in
systemd.exec(5) for RuntimeDirectory=. This affects the ceilometer-* and
glance-* services.

The processes are started, but since pidfiles are not created, and the
systemd units are configured with PIDFile=, systemd times out waiting
for the pidfiles to be created, and assumes the services didn't start
correctly, which again the packages from being installed.

I'll try using "tmpfiles.d" to solve this, as the systemd.exec(5) man
page already mentions.

-- 
Stig Sandbeck Mathisen



More information about the Openstack-devel mailing list