Re: [Lxc-users] What should 'uptime' say inside an lxc container?

2012-09-11 Thread Jäkel , Guido
Dear Dan, As a workaround you may use the following perl script written by Ullrich Horlacher. It also demonstrates the basic idea where to get a containers uptime from. Here he use a well known file, but I think one may also use the information related to the containers init process.

Re: [Lxc-users] problem opening usb device in container

2012-09-11 Thread kirimaks
On 09/10/2012 02:17 PM, kirimaks wrote: Hello, all I have a problem accessing my usb SMARGO smart reader from container. Accessing it from the host system is all fine. The access is done through libusb-1.0.9 and the OS is gentoo. I managed to trace the problem down to the open() system

Re: [Lxc-users] What should 'uptime' say inside an lxc container?

2012-09-11 Thread Dan Kegel
On Mon, Sep 10, 2012 at 11:39 PM, Jäkel, Guido g.jae...@dnb.de wrote: As a workaround you may use the following perl script written by Ullrich Horlacher. It also demonstrates the basic idea where to get a containers uptime from. Here he use a well known file, but I think one may also use the

[Lxc-users] /usr/lib/lxc/root must exist but be empty... README typo / misplaced?

2012-09-11 Thread Dan Kegel
I noticed that lxc-start complains if the empty directory /usr/lib/lxc/root does not exist. I also noticed that the file /usr/lib/lxc/README says This directory must exist, even though no contents are ever placed here. Should README say something different, e.g. The 'root' subdirectory must