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

Stig Sandbeck Mathisen ssm at debian.org
Wed Nov 26 22:37:23 UTC 2014


Gaudenz Steinlin <gaudenz at debian.org> writes:

> I'll try to find some time to have a look, but can't promise anything.

Adding the following files fixed this issue for me:

head /etc/tmpfiles.d/*
==> /etc/tmpfiles.d/ceilometer.conf <==
d /run/ceilometer 0755 ceilometer ceilometer - -

==> /etc/tmpfiles.d/glance.conf <==
d /run/glance 0755 glance glance - -

==> /etc/tmpfiles.d/keystone.conf <==
d /run/keystone 0755 keystone keystone - -

Packages will normally install these files into /usr/lib/tmpfiles.d/
instead.

If the packages:

* contain the file debian/packagename.tmpfile with content described
  above.

* is built using debhelper with dh_systemd (I see this is true for the
  "keystone" package)

...this will create the run directories when the packages are installed,
 as well as on boot, and then only if systemd is running as pid 1.

-- 
Stig Sandbeck Mathisen



More information about the Openstack-devel mailing list