[lxc-devel] Dynamic devices

Serge Hallyn serge.hallyn at ubuntu.com
Wed Mar 13 13:41:07 UTC 2013


Quoting Stéphane Graber (stgraber at ubuntu.com):
...
> The short and rather usual reply to this is that we know we'll need a
> device namespace at some point. Exactly how it'll work is yet unknown

Yup.

> and it's never been high enough priority that anybody really worked on it.
> 
> However I'm a bit surprised by your e-mail because in Ubuntu we
> certainly run udev in all containers and I see the devices under /dev
> (and /dev/bus/usb in your case) get created as is expected.

We run udev in the container, but we don't allow udevadm trigger from
the container, to avoid making the host reset its hardware.  But yeah,
inserting a usb stick should send a uevent to the container.

-serge




More information about the lxc-devel mailing list