Re: [Lxc-users] Analise this: config without fstab / root directory (/) is read only

2010-07-30 Thread Daniel Lezcano
On 07/30/2010 07:52 AM, Osvaldo Filho wrote: What are the lxc and kernel version ? config lxc.utsname = lucid64 lxc.tty = 4 lxc.network.type = veth lxc.network.flags = up lxc.network.link = br0 lxc.network.name = eth0 lxc.network.mtu = 1500 lxc.network.ipv4 = 192.168.10.0/24

Re: [Lxc-users] is 0.7.1 the last version? Is there a ppa (ubuntu) for it?

2010-07-30 Thread Serge E. Hallyn
Quoting Dave Manginelli (dmangine...@comcast.net): On Thu, 2010-07-29 at 15:04 -0500, Serge E. Hallyn wrote: Quoting Osvaldo Filho (arquivos...@gmail.com): is 0.7.1 the last version? Is there a ppa (ubuntu) for it? Any ubuntu package for new LXC 0.7.1 is the default in maverick.

[Lxc-users] udev

2010-07-30 Thread Osvaldo Filho
Environment: === Host: Ubuntu 10.04 x64 Ubuntu 2.6.32-22.36-generic 2.6.32.11+drm33.2 lxc 0.7.1-1 r...@srvltsp01:/home/lxc/lucid64# cat config.lucid-64 lxc.utsname = lucid64 lxc.tty = 4 lxc.network.type = veth lxc.network.flags = up lxc.network.link = br0 lxc.network.name = eth0

Re: [Lxc-users] udev

2010-07-30 Thread John Drescher
On Fri, Jul 30, 2010 at 7:50 PM, Osvaldo Filho arquivos...@gmail.com wrote: Environment: === Host: Ubuntu 10.04 x64 Ubuntu 2.6.32-22.36-generic 2.6.32.11+drm33.2 lxc 0.7.1-1 r...@srvltsp01:/home/lxc/lucid64# cat config.lucid-64 lxc.utsname = lucid64 lxc.tty = 4 lxc.network.type

Re: [Lxc-users] udev

2010-07-30 Thread Osvaldo Filho
Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: libwrap0 tcpd xkb-data console-terminus Use 'apt-get autoremove' to remove them. The following packages will be REMOVED:

Re: [Lxc-users] udev

2010-07-30 Thread Serge E. Hallyn
Ah, here we go. I think you can do: echo udev hold | dpkg --set-selections to tell dpkg not to update udev. Can you try that? If that works, then we should probably have the ubuntu template always do that. -serge

Re: [Lxc-users] udev

2010-07-30 Thread Serge E. Hallyn
Quoting Osvaldo Filho (arquivos...@gmail.com): The problem is with config file, on lxc-create lxc.cgroup.devices.deny = a Solved. That's ok if you don't mind, but not the generally preferred solution, since without a custom selinux or smack policy you don't have anything else protecting your

Re: [Lxc-users] udev

2010-07-30 Thread Serge E. Hallyn
Quoting Osvaldo Filho (arquivos...@gmail.com): Ok but ... and the lxc-console problem? Sorry :) Did you proceed with the 'apt-get remove udev'? If not, can you get some logs from a lxc-start -n without backgrounding? -serge

Re: [Lxc-users] udev

2010-07-30 Thread C Anthony Risinger
(sorry for top post... mobiles don't make it easy otherwise) Yes it would be better if you deny all, then specifically allow any devices the container needs [to create]. Also, private devpts is already possible... just add newinstance to devpts mount options; you should also do this for the

Re: [Lxc-users] udev

2010-07-30 Thread Osvaldo Filho
r...@srvltsp01:/home/lxc/lucid64# lxc-start -n lucid64 init: lxc pre-start process (2) terminated with status 32 2010/7/30 Serge E. Hallyn serge.hal...@canonical.com: Quoting Osvaldo Filho (arquivos...@gmail.com): Ok but ... and the lxc-console problem? Sorry :)  Did you proceed with the

Re: [Lxc-users] udev

2010-07-30 Thread Serge E. Hallyn
Quoting Osvaldo Filho (arquivos...@gmail.com): r...@srvltsp01:/home/lxc/lucid64# lxc-start -n lucid64 init: lxc pre-start process (2) terminated with status 32 strace -f -ooutout lxc-start -n lucid64 -- The Palm PDK

Re: [Lxc-users] udev

2010-07-30 Thread Guillaume ZITTA
Hi, You could use dpkg-divert utility to rename files : dpkg-divert --rename $f It will rename $f to $f.distrib and store this fact to the dpkg database. After, any update from dpkg will go to the renamed file. Regards, Guillaume Le 31/07/2010 05:20, Serge E. Hallyn a écrit : All