[lxc-devel] [PATCH 3/9] lxc_start: ERROR if container is already running.

Serge Hallyn serge.hallyn at ubuntu.com
Wed Oct 22 16:02:52 UTC 2014


If you can show me a case where something will break if the container
was already running, then we can perhaps add an option to lxc-start
to say "error-if-running".  But I can't think of any.

Besides, that only actually shortens the race.  We'd need to add a
'starting' file akin to the 'creating' locked file we use to mutex
container creates to really handle this.  

-serge


More information about the lxc-devel mailing list