mirror_lxc/config/init/common
Dwight Engen f3b8088dd8 systemd/selinux init scripts fixups
- RHEL/OL 7 doesn't have the ifconfig command by default so have the
  lxc-net script check for its existence before use, and fall back
  to using the ip command if ifconfig is not available

- When lxc-net is run from systemd on a system with selinux enabled,
  the mkdir -p ${varrun} will create /run/lxc as init_var_run_t which
  dnsmasq can't write its pid into, so we restorecon it
  after creation (to var_run_t)

- The lxc-net systemd .service file needs an [Install] section so that
  "systemctl enable lxc-net" will work

Signed-off-by: Dwight Engen <dwight.engen@oracle.com>
2014-10-08 17:57:33 -04:00
..
lxc-containers.in fix: grep not match interface listed by ip link list 2014-10-06 12:06:27 -04:00
lxc-net.in systemd/selinux init scripts fixups 2014-10-08 17:57:33 -04:00
Makefile.am Rework init scripts 2014-09-26 10:55:11 -04:00