Quoting Stéphane Graber (stgra...@ubuntu.com):
> Probably should be under /run as we don't want this to persist across
> reboots.
Good thinking, and
...
> > +/* TODO These should be set through configure.ac */
> > +#define CONF_FILE "/etc/lxc/lxc-usernet"
> > +#define DB_FILE "/var/lib/lxc/nics"
On 08/08/2013 03:25:34 AM, Stéphane Graber wrote:
> The current schedule is visible at:
> http://www.linuxplumbersconf.org/2013/ocw/events/LPC2013/tracks/153
>
> The site is rather bad at showing how much time has been allocated to
> each entry, so there you go:
> - On the road to LXC 1.0: 30min
On Fri, Aug 09, 2013 at 04:50:31PM -0500, Serge Hallyn wrote:
> It is meant to be run setuid-root to allow unprivileged users to
> tunnel veths from a host bridge to their containers. The program
> looks at /etc/lxc/lxc-usernet which has entries of the form
>
> user type bridge number
>
>
It is meant to be run setuid-root to allow unprivileged users to
tunnel veths from a host bridge to their containers. The program
looks at /etc/lxc/lxc-usernet which has entries of the form
user type bridge number
The type currently must be veth. Whenver lxc-user-nic creates a
nic for a
Using mktemp() leads to build time warnings and isn't actually
appropriate for what we want to do as it's checking for the existence of
a file and not a network interface.
Replace those calls by an equivalent mkifname() function which uses the
same template as mktemp but instead checks for existin