[Bug 1197754] [NEW] "lxc-start-ephemeral -d" is racy

Robie Basak 1197754 at bugs.launchpad.net
Fri Jul 5 12:15:36 UTC 2013

On Fri, Jul 05, 2013 at 12:01:08PM -0000, Serge Hallyn wrote:
> Practically speaking, have you actually created the container name with
> mktemp (i.e. mktemp -u -t lxc-XXXXXX | sed 's@/tmp/@@') and gotten name
> clashes?

No, but eyebrows were raised on my approach of generating a random name
on code review, so that's why I filed this bug.

> > Please add a machine-readable mechanism to "lxc-start-ephemeral -d" and
> > then we can modify adt-virt-lxc to use it.
> That does sound like a good idea - we could add a '--terse' suboption to
> -d to only print '$name $ip'

That'd be great.

You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to lxc in Ubuntu.

  "lxc-start-ephemeral -d" is racy

To manage notifications about this bug go to:

More information about the Ubuntu-server-bugs mailing list