[Lxc-users] Specify device access without using major number

2013-11-15 Thread Walt Chow
Hi, I would like to put a process into a container whenever the system boots up, and this container would limit what device the process can access. The commonway to limit device access in the container configuration file is to use the major numberof the device. However, the major number, assig

Re: [Lxc-users] Lxc-users Digest, Vol 47, Issue 13

2013-11-15 Thread Michael H. Warfield
On Fri, 2013-11-15 at 13:02 +, John wrote: > On 15/11/13 12:21, brian mullan wrote: > > John... > > > > Thanks for you note also.. I'd seen a very similar Bash script for > > Arch Linux here: > > > > http://pastebin.com/zZEAk3Ny > > > > while researching all of this. > > > > Brian > > > > >

Re: [Lxc-users] Bonding inside LXC container

2013-11-15 Thread Jäkel , Guido
Dear Yao, as I understand, you want to bound two physical interfaces of the host hardware to and use the bound inside a container. eth0--[phys]--eth0--+--bound0 eth1--[phys]--eth1--/ Because no other -- neither host nor another container -- may use one of NICs in addition, I w

Re: [Lxc-users] Lxc-users Digest, Vol 47, Issue 13

2013-11-15 Thread John
On 15/11/13 12:21, brian mullan wrote: > John... > > Thanks for you note also.. I'd seen a very similar Bash script for > Arch Linux here: > > http://pastebin.com/zZEAk3Ny > > while researching all of this. > > Brian > > Ah-ha, yes that pastebin is mine. That paste pre-dates systemd. I think the

Re: [Lxc-users] Lxc-users Digest, Vol 47, Issue 13

2013-11-15 Thread brian mullan
John... Thanks for you note also.. I'd seen a very similar Bash script for Arch Linux here: http://pastebin.com/zZEAk3Ny while researching all of this. Brian On Fri, Nov 15, 2013 at 5:14 AM, wrote: > Send Lxc-users mailing list submissions to > lxc-users@lists.sourceforge.net > >

Re: [Lxc-users] Fwd: LXC and sound in container

2013-11-15 Thread brian mullan
Stephane... Thanks I'd seen what you'd done in the Arkose .py code but I didn't know enough about pulseaudio to understand it at the time. > arkose basically runs: > pactl load-module module-native-protocol-unix socket=/some/path auth-cookie-enabled=0 > > The bind-mounts that socket inside the co

Re: [Lxc-users] LXC and sound in container -

2013-11-15 Thread John
sorry forgot to add - this is on Arch Linux :) -- DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access Free app hosting. Or install t

Re: [Lxc-users] LXC and sound in container -

2013-11-15 Thread John
On 09/11/13 15:12, brian mullan wrote: > I've searched the web for 2 weeks now and can find no documentation > describing steps to configure "sound" in an LXC container. > Here is what I do. It's just ALSA (not Pulseaudio) but I do run a desktop in a container and it works for me. 1. install als

[Lxc-users] Recommended kernel/lxc version for Ubuntu 12.04

2013-11-15 Thread Robert Pendell
I apologize for the noobish question here. What's the recommended LXC version and Kernel version combination for Ubuntu 12.04.2? Robert Pendell shi...@elite-systems.org A perfect world is one of chaos. -- DreamFactory -