[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] PATCH: 3/4: Introduce libvirt_lxc binary

On Thu, Aug 14, 2008 at 07:55:02AM -0700, Dan Smith wrote:
> DB> The deletion of veth's is the last thing the controller process
> DB> does.  So assuming it doesn't crash they should be cleaned up.
> Well, a destroy operation kills the container and leaves the veth
> devices 100% of the time for me.

Oh of course - libvirt_lxc isn't installing any signal handler for
SIGTERM so its never doing its cleanup - it just terminates from
the signal handler directly :-)

> I'll play around with it and see what I can figure out.
> DB> It is probably worth making the libvirtd LXC driver do cleanup of
> DB> veths too, as a safety net.

Definitely need this to make 'destroy' cleanup properly then

|: Red Hat, Engineering, London   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]