Re: [Lxc-users] Control panel

2011-03-07 Thread Jon Nordby
On 7 March 2011 22:35, Stuart Johnson stu...@stu.org.uk wrote:
 There is OpenQRM http://www.openqrm.com/?q=node/180

 But there are no ncurses and a simple web control panels for lxc
 neither an IHM yet, unfortunately ...
 That could be really nice ...


 Thanks. I have seen openQRM, but looks overkill for what I want.  A
 simple menu driven interface over ssh would have been ideal.
libvirt has pretty good support for LXC. Maybe virsh or the
ncurses-like/based UI that recently got committed to virt-manager is
something along the lines of what you're looking for?

-- 
Jon Nordby - www.jonnor.com

--
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d
___
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users


Re: [Lxc-users] ALSA in a container

2010-11-21 Thread Jon Nordby
On 8 September 2010 10:35, Jon Nordby jono...@gmail.com wrote:
 On 8 September 2010 00:07, l...@jelmail.com l...@jelmail.com wrote:
 If I have something on the host using ALSA then the guest complains:

 [r...@mycontainer ~]# aplay /usr/share/sounds/alsa/Front_Center.wav
 ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave
 aplay: main:654: audio open error: Device or resource busy
 This is when you use lsof/fuser to identify which process is hogging
 the device. For debugging you should use something dead simple like
 aplay in the host too. Also try configuring the programs/alsa to use a
 dmixed plug explicitly. Have you tried using the device from two
 containers (and not the host)?

 If neither of that leads to a solution, I would ask alsa people.

I recently realized that since ALSA does mixing in userspace one
probably cannot share an alsa device between containers (or
host+container) since they do not share userspace. OSSv4 on the other
hand does mixing in the kernel and might just-work. If not, once
could use PulseAudio to share one soundcard with several containers.

-- 
Regards Jon Nordby - www.jonnor.com

--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2  L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
___
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users


Re: [Lxc-users] Launch multiple apps in exactly on container

2010-09-17 Thread Jon Nordby
On 17 September 2010 06:55, Jue Hong hon...@gmail.com wrote:
 BKW, you're right. Now we're going to use the method as you say.
 But, being able to start apps outside is really convenient in some cases :)

It is. Before the kernel stuff for attach lands, you can use ssh for
this purpose as a workaround.

-- 
Regards Jon Nordby - www.jonnor.com

--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
___
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users


Re: [Lxc-users] ALSA in a container

2010-09-08 Thread Jon Nordby
On 8 September 2010 00:07, l...@jelmail.com l...@jelmail.com wrote:
 If I have something on the host using ALSA then the guest complains:

 [r...@mycontainer ~]# aplay /usr/share/sounds/alsa/Front_Center.wav
 ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave
 aplay: main:654: audio open error: Device or resource busy
This is when you use lsof/fuser to identify which process is hogging
the device. For debugging you should use something dead simple like
aplay in the host too. Also try configuring the programs/alsa to use a
dmixed plug explicitly. Have you tried using the device from two
containers (and not the host)?

If neither of that leads to a solution, I would ask alsa people.

-- 
Regards Jon Nordby - www.jonnor.com

--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users


Re: [Lxc-users] LXC and knockd

2010-08-17 Thread Jon Nordby
On 17 August 2010 21:39, Kaj Wiik kaj.w...@iki.fi wrote:
 Hi!

 It looks like knockd cannot be run inside a container (no iptables
 support)? Am I missing something?

 
 $ sudo iptables -L
 FATAL: Could not load /lib/modules/2.6.32-24-generic/modules.dep: No
 such file or directory
 iptables v1.4.4: can't initialize iptables table `filter': iptables
 who? (do you need to insmod?)
 Perhaps iptables or your kernel needs to be upgraded.
Insert the module into your kernel as it suggests?
In most container setups, that would have to be done on the host.

-- 
Regards Jon Nordby - www.jonnor.com

--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
___
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users


Re: [Lxc-users] starting a container causes Xorg to consume 100% cpu

2010-06-22 Thread Jon Nordby
On 22 June 2010 17:32, Stuart Nixon stu...@rednut.net wrote:
 Hello LXCers

 When ever I start a lxc container the hosts Xorg process starts
 consuming 100% cpu time.

 Is this a known issue? Are there any work-arounds to avoid this behaviour?
I can reproduce this issue on a container (with separate rootfs) which
does not even have
pts, tty or networking set up. gettys in the container are commented
out, of course. This is on 2.6.34 with lxc 0.7.0
It also leaves me unable to switch ttys in the host. Shutting down the
container does not fix the problem, I have to kill X for it to go back
to normal.

-- 
Regards Jon Nordby - www.jonnor.com

--
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
___
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users