Article 53X8P Issue with lxc-net

Issue with lxc-net

by
chris.willing
from LinuxQuestions.org on (#53X8P)
For a long time I've been using my own mechanism for creating a bridge & running dnsmasq to enable networking for my LXC containers. I had seen lxc-net mentioned by others but never bothered with it because I had a system that worked well without it.

Recently I've had some time to finally look at lxc-net. It works quite well except that it specifies a strange place for dnsmasq's lease directory, namely /var/lib/misc/ which does not exist in a stock Slackware 14.2 (nor -current) - resulting in lxc-net failure. I can just create this directory beforehand and then lxc-net works but it somehow seems wrong. Instead, I've modified lxc-net to use the default leases directory specified in /etc/dnsmasq.conf i.e. /var/state/dnsmasq/

What are other lxc-net users doing about this?

chrislatest?d=yIl2AUoC8zA latest?i=TI1OLwxLKnU:lXcAe_kiAQU:F7zBnMy latest?i=TI1OLwxLKnU:lXcAe_kiAQU:V_sGLiP latest?d=qj6IDK7rITs latest?i=TI1OLwxLKnU:lXcAe_kiAQU:gIN9vFwTI1OLwxLKnU
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments