[lxc-devel] [PATCH 1/2] Properly cleanup network devices if pinning root filesystem didn't work
Stéphane Graber
stgraber at ubuntu.com
Tue Mar 19 15:35:45 UTC 2013
On 13-03-18 03:27 PM, Serge Hallyn wrote:
> Quoting Christian Seiler (christian at iwakd.de):
>> Signed-off-by: Christian Seiler <christian at iwakd.de>
>
> Acked-by: Serge E. Hallyn <serge.hallyn at ubuntu.com>
Pushed to staging, thanks!
>> ---
>> src/lxc/start.c | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/src/lxc/start.c b/src/lxc/start.c
>> index 3fdfa04..7a982ce 100644
>> --- a/src/lxc/start.c
>> +++ b/src/lxc/start.c
>> @@ -785,7 +785,7 @@ int lxc_spawn(struct lxc_handler *handler)
>> handler->pinfd = pin_rootfs(handler->conf->rootfs.path);
>> if (handler->pinfd == -1) {
>> ERROR("failed to pin the container's rootfs");
>> - goto out_abort;
>> + goto out_delete_net;
>> }
>>
>> /* Create a process in a new set of namespaces */
>> --
>> 1.7.10.4
>>
>>
>> ------------------------------------------------------------------------------
>> Everyone hates slow websites. So do we.
>> Make your web apps faster with AppDynamics
>> Download AppDynamics Lite for free today:
>> http://p.sf.net/sfu/appdyn_d2d_mar
>> _______________________________________________
>> Lxc-devel mailing list
>> Lxc-devel at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/lxc-devel
>
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_mar
> _______________________________________________
> Lxc-devel mailing list
> Lxc-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/lxc-devel
>
--
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 901 bytes
Desc: OpenPGP digital signature
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20130319/95d69a58/attachment.pgp>
More information about the lxc-devel
mailing list