openstack-ansible-lxc_hosts/templates
Kevin Carter 69ab10bee5
Add ExecStartPre command to lxc-dnsmasq service unit
When upgrading from an older deployment without the lxc-dnsmaq service
unit it's possible for the lxc-dnsmasq process to have been left in
a defunct state; this is especially true when upgrading as the
background process will have been started as a post-up command within the
lxcbr0 interface configuration. If the service is in a defunct state, or
running without a valid pid file, the systemd service unit will fail to
start.

This change ensures systemd will clean up all processes owned by the
lxc-dnsmaq user with a limited scope of processes matching a regex of
"^dnsmasq" which is only effectuve when the service is not managed by
systemd and in a defunct state.

Change-Id: If183f0b6dfbe0646384cf3bb3b89bc3901643c1e
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2017-11-10 16:13:54 -06:00
..
default.conf.j2 Changed for lxc-host setup/build for multi-distro 2016-05-03 08:49:54 -05:00
irqbalance.j2 IRR for lxc_host 2015-11-03 04:22:57 -06:00
lxc-dnsmasq-systemd-init.j2 Add ExecStartPre command to lxc-dnsmasq service unit 2017-11-10 16:13:54 -06:00
lxc-net-bridge.cfg.j2 Use handlers to restart services and move dnsmasq to a unit file 2017-11-01 15:19:22 -05:00
lxc-net-redhat-bridge.cfg.j2 Stop trying to set MTU on LXC bridge interface 2017-10-19 15:58:51 -04:00
lxc-net-suse-bridge.cfg.j2 Stop trying to set MTU on LXC bridge interface 2017-10-19 15:58:51 -04:00
lxc-net-suse-routes.cfg.j2 Fix container bridge networking on SUSE 2017-05-08 11:24:12 +01:00
lxc-net-suseredhat-postdown.cfg.j2 Fix lxc_net configuration for CentOS/SUSE 2017-09-12 15:39:09 -06:00
lxc-openstack.apparmor.j2 IRR for lxc_host 2015-11-03 04:22:57 -06:00
lxc-openstack.conf.j2 Added to ability to set mtu for lxcbr0 2015-12-02 17:13:24 +01:00
lxc-system-manage.j2 Prevent dnsmasq from reading hosts file 2017-08-17 13:47:23 -05:00
lxc.default.j2 IRR for lxc_host 2015-11-03 04:22:57 -06:00
sudoers.j2 Remove requiretty for sudo on centos base image. 2016-09-15 20:18:56 +00:00
systemd-machined.service.j2 tasks: Set systemd installation prefix 2017-04-25 14:56:33 +01:00
systemd-proxy-unit.conf.j2 Download LXC image with async via aria2 2017-08-15 12:34:26 +00:00