Quoting brian mullan (bmullan.m...@gmail.com):
> I'm not sure the lxc-user alias will take an file attachment or not. If
> not I'll try something else.
>
> I tried to document everything I did to finally get sound working in an LXC
> container on my Ubuntu 13.10 system.
Thanks Brian. If you're
Quoting Stéphane Graber (stephane.gra...@canonical.com):
> On Thu, Nov 14, 2013 at 11:57:04AM -0600, Serge Hallyn wrote:
> > Quoting brian mullan (bmullan.m...@gmail.com):
> > > I'm not sure the lxc-user alias will take an file attachment or not. If
> >
Quoting wang yao (yaowang2...@gmail.com):
> Hi Jake,
>
> First of all, thank you for your reply and I am very sorry for such a late
> response.
>
> Just as you said, I had ever tried the bonding style like this:
>
> eth0--+--bound0--[veth]--eth0
> eth1--/
>
> But when I used mod
Quoting Walt Chow (waltc...@hotmail.com):
> 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 nu
Quoting brian mullan (bmullan.m...@gmail.com):
> I'd recently uploaded a document on how I configured pulseaudio sound to
> work in an LXC container.
>
> I also posted the information to a WordPress blog I keep.
>
> To accompany the info on enabling PulseAudio sound in LXC I also just
> posted to
Quoting Tamas Papp (tom...@martos.bme.hu):
> On 10/01/2013 07:14 AM, Serge Hallyn wrote:
> > Right now if we say
> >
> > lxc-create -t ubuntu -n u1 -B zfs
> >
> > that means make the rootfs be type zfs. Where/how should it be
> > specified that $lx
Quoting Mars Gu (gukai...@163.com):
> hi aii,
> I want to put the container into 'Cloud'. So the checkpoint feature in
> necessory for HA and LB.
> do we have a plan to make it in version 1.0 or later ?
It's not in plan for 1.0. Definately would be great to have, but
someone needs to have th
Quoting Tamas Papp (tom...@martos.bme.hu):
>
> On 11/21/2013 04:30 AM, Serge Hallyn wrote:
> > Quoting Mars Gu (gukai...@163.com):
> >> hi aii,
> >> I want to put the container into 'Cloud'. So the checkpoint feature in
> >> necessory for
Quoting Nipun Arora (ni...@cs.columbia.edu):
> Hi,
>
> I've been tryint criu for checkpointing and restart. One of the issues is
> that criu does not support external console.
> I tried setting lxc.console = none, and lxc.tty = 0... but seem to get no
> progress when I run the following command..
Quoting Pavel Emelyanov (xe...@parallels.com):
> On 12/04/2013 10:12 PM, Serge Hallyn wrote:
> > Quoting Nipun Arora (ni...@cs.columbia.edu):
> >> Hi,
> >>
> >> I've been tryint criu for checkpointing and restart. One of the issues is
> >> that cr
Quoting Ranjib Dey (dey.ran...@gmail.com):
> Hi,
> Apologies in advance if im asking something stupid.
> Im trying to use nsenter with lxc. it works fine with systemd-nspawn based
> containers, but not with lxc based containers. Im using ubuntu 14.04 and
> nsenter from util-linux 2.24 and lxc 1.0.0
Quoting Brian K. White (br...@aljex.com):
> But also, since upgrading to kernel 2.6.36 (and already using lxc 0.7.2)
> I haven't had to delete any cgroups manually anyways. It's probably not
> my release_agent because I just noticed I didn't have a working
> release_agent (no output in it's log,
Quoting Miroslav Lednicky, AVONET, s.r.o. (ledni...@avonet.cz):
> Hello,
>
> i consulted it with Chris Evans and there is solution:
>
> Add this config settings to vsftpd.conf:
>
> isolate=NO
> isolate_network=NO
>
> vsftpd uses the kernel container support internally and it is problem.
Quoting Geordy Korte (gko...@gmail.com):
> This basically tells me that pivot_root is umounting the mount I just made.
>
> Can anyone help me with this??? I have also tried putting the mount inside
> the fstab for the container but same problem.
Have you entered the container to verify? I would
Quoting Daniel Lezcano (daniel.lezc...@free.fr):
> On 11/25/2010 06:05 PM, Alessandro Guido wrote:
> > After further investigation, I noticed that the remount only happens
> > when nothing keeps the host's mount point busy.
> >
> > So, launching the container with
> > "lxc-start -l DEBUG -o /var/li
You have:
lxc.cgroup.devices.allow = c 1:3 rwm
lxc.cgroup.devices.allow = c 1:5 rwm
lxc.cgroup.devices.allow = c 1:8 rwm
lxc.cgroup.devices.allow = c 1:9 rwm
lxc.cgroup.devices.allow = c 4:* rwm
lxc.cgroup.devices.allow = c 5:0 rwm
lxc.cgroup.devices.allow = c 5:1 rwm
lxc.cgroup.devices.allow = c
Quoting atp (andrew.phill...@lmax.com):
> Hi,
>
> Its not as simple as it seems. What you're asking for is to selectively
> hide or modify what gets shown to container processes by the /proc file
> system. In other words making /proc container aware. /proc is already
> partially there - with the p
d to slightly change the installed packages
for dhclient to be correclty installed.
Signed-off-by: Serge Hallyn
---
.gitignore|4 +-
configure.ac |4 +-
doc/lxc-create.sgml.in|2 +-
templates/Makefile.am |4 +-
templates/lx
Quoting Daniel Lezcano (daniel.lezc...@free.fr):
> On 01/21/2011 06:10 PM, Serge Hallyn wrote:
> >Rename 'ubuntu' template to 'lucid'
> >
> >Add new maverick and natty templates, which do much less tweaking
> >of the environment. These should o
Quoting Daniel Lezcano (daniel.lezc...@free.fr):
> On 01/23/2011 06:00 AM, Serge Hallyn wrote:
> >Quoting Daniel Lezcano (daniel.lezc...@free.fr):
> >>On 01/21/2011 06:10 PM, Serge Hallyn wrote:
> >>>Rename 'ubuntu' template to 'lucid'
> >>
Quoting Matthias P. Wuerfl (m...@taquiri.de):
> Hi.
>
> I Updated my Lucid-Container and it stopped working because of
> udev/mounting issues. After following some do-this-do-that-advices it
> works right now but i don't fully understand why.
>
> What is the difference between:
>
> - the fstab-f
Quoting Ramez Hanna (rha...@informatiq.org):
> On Wed, Mar 30, 2011 at 10:00 PM, Ramez Hanna wrote:
> > and here it is the final version
> just tested it on host f14
> created f14 and f13 guests successfully
>
> shall i send this to Daniel Lezcano for including
> it in the next release? or what?
Quoting Daniel Lezcano (daniel.lezc...@free.fr):
> I think more configuration tweaking will be needed but this patch
> looks good for me.
I'm hoping to set up a machine on which to play with lxc on btrfs
snapshots sometime this week. (In the background, starting the
build now).
...
> >+echo "Tw
Quoting Ulli Horlacher (frams...@rus.uni-stuttgart.de):
> On Mon 2011-04-04 (19:35), Ulli Horlacher wrote:
> > My first Ubuntu 10.04 container is up and running on a Ubuntu 10.04 host,
> > but the container can only connect to the host (and vice versa), but not
> > to the world outside.
>
> I foun
Quoting Krzysztof Karwacki (krzys...@motokirc.pl):
> Hi!
>
> I Compiled procfs from lxc sources, but when i want to lxc-execute –n vm0
> /bin/bash I’ve got error.
>
> root@debian:~# lxc-execute -n vm0 /bin/bash
> lxc-execute: No such file or directory - failed to exec /usr/lib/lxc/lxc-init
Do
Quoting Ulli Horlacher (frams...@rus.uni-stuttgart.de):
> On Tue 2011-04-12 (09:19), Ulli Horlacher wrote:
> > I use lxc with physical eth1.
> > I can start the container, connect to it, etc. Everything looks ok. But
> > when I stop the container and try to restart it, eth1 is no more availble.
> >
Quoting sanjay (genacct...@gmail.com):
> Hi! I am new to the technology and thread. I have two basic questions, hope
> you can provide some guidance.
>
> 1. UID Privilege Isolation.
> ~
> If I understand it right, currently if a host-uid and guest-uid have the
> same numerical valu
about/kernel-namespaces/user/).
>
> Regards,
> Sanjay
>
>
> On Thu, Apr 14, 2011 at 3:19 PM, Serge Hallyn
> wrote:
>
> > Quoting sanjay (genacct...@gmail.com):
> > > Hi! I am new to the technology and thread. I have two basic questions,
> > hope
> >
Quoting Benjamin Kiessling (mittages...@l.unchti.me):
> Hi,
>
> I've got several logical volumes in /dev/vms/ and want to assign each of those
> lv to a single LXC container, i.e. I have vm0 and vm1 and want vm0 to have
> access to only /dev/vms/vm0 (and vm1 to /dev/vms/vm1). Is there a way to do
Quoting Mauras Olivier (oliver.mau...@gmail.com):
> Hello,
>
> I'm struggling for two days now with some completely weird network
> behaviours.
> My host is a virtual machine hosted on an ESX farm. I planned to deploy
> several containers on it to achieve various tasks.
>
> Host is running Scient
> As you see in this example, before issuing the network restart, my veth MAC
> was already higher than the eth0 MAC but the guest hadn't a working network
> connection.
Thanks for the info.
> After restarting network on the host while the guest is still running, as
> you can see my MACs haven't
Quoting Daniel Lezcano (daniel.lezc...@free.fr):
> On 04/06/2011 04:05 PM, Serge E. Hallyn wrote:
> >Quoting Daniel Lezcano (daniel.lezc...@free.fr):
> >>>What do you think is the best way to do this? We could allow the user
> >>>to specify a 'firstboot' script, which gets copied into root directo
Quoting Christoph Mitasch (cmita...@thomas-krenn.com):
> Hi,
>
> I would really love to see the patch applied to latest Ubuntu natty
> kernel to have "lxc-attach" working again.
>
> Is this on the way?
Natty is closed. This patch isn't going into natty.
If Daniel resends the patchset, I'll hap
Quoting Greg Kurz (gk...@fr.ibm.com):
> On Wed, 2011-04-27 at 08:47 -0500, Serge Hallyn wrote:
> > Quoting Christoph Mitasch (cmita...@thomas-krenn.com):
> > > Hi,
> > >
> > > I would really love to see the patch applied to latest Ubuntu natty
> > &
Quoting Ulli Horlacher (frams...@rus.uni-stuttgart.de):
>
> Is there a way to get the corresponding host PID for a container PID?
>
> For example: inside the the container the process "init" has always PID 1.
> But what PID has this process in the host process table?
>
> ps aux | grep ... is not
Quoting Christoph Mitasch (cmita...@thomas-krenn.com):
> Hi Serge,
>
> great if you can create packages for Natty.
Kernel is built in ppa:serge-hallyn/lxc-natty
(https://launchpad.net/~serge-hallyn/+archive/lxc-natty)
I've not tested it, but it should be precisely the same as Dan
Quoting ian sison (mailing list) (ian.si...@gmail.com):
> Hi all -
>
> In openvz, a certain sysctl parameter,
>
> kernel.pid_ns_hide_child = 1
>
> when executed at HN system startup will hide any processes that run
> inside the running containers from appearing in the output of 'ps'.
> This make
Quoting Greg Kurz (gk...@fr.ibm.com):
> On Thu, 2011-04-28 at 09:41 -0500, Serge Hallyn wrote:
> > Quoting Ulli Horlacher (frams...@rus.uni-stuttgart.de):
> > >
> > > Is there a way to get the corresponding host PID for a container PID?
> > >
> > &
Quoting Daniel Lezcano (daniel.lezc...@free.fr):
> On 05/03/2011 05:36 PM, Greg Kurz wrote:
> >On Thu, 2011-04-28 at 09:41 -0500, Serge Hallyn wrote:
> >>Quoting Ulli Horlacher (frams...@rus.uni-stuttgart.de):
> >>>Is there a way to get the correspondin
Quoting Daniel Lezcano (daniel.lezc...@free.fr):
> Yes. And I think the positive side effect is we can determine if the
> pid belongs to the same pid namespace than the current one when the
> container_init is 1, no ?
Yup. (Presumably if one happens to access a /proc for a non-descendent
pid-name
Quoting David Serrano (dserra...@gmail.com):
> Hi,
>
> At $work we're currently using KVM and setting it up so that it uses a
> previously opened TAP interface: 'kvm -net tap,fd=3'. This way, we are
> able to create the interface a set up a couple of ebtables filters on
> it before going on. Now,
Quoting David Serrano (dserra...@gmail.com):
> On Mon, May 9, 2011 at 14:52, Serge Hallyn wrote:
> >
>
> Thanks for your response. Before scripting it, let's try manually first:
>
>
> > devs=`ls /sys/class/net/veth*`
> > ip link add type veth
> > new
gt;
> Signed-off-by: Daniel Lezcano
Acked-by: Serge Hallyn
I'm curious, whatcha got in mind?
> ---
> src/lxc/confile.c | 12
> 1 files changed, 8 insertions(+), 4 deletions(-)
>
> diff --git a/src/lxc/confile.c b/src/lxc/confile.c
> index 791f04f..d6
Quoting Daniel Lezcano (dlezc...@fr.ibm.com):
> On 05/13/2011 12:13 AM, Benjamin Kiessling wrote:
> >Hi,
> >
> >under Debian (and in general I think) LVM requires udev to work
> >at all which makes it unusable in a container environment. Has
> >anybody tried to get it working in a container?
>
> Y
Quoting arkai...@gmail.com (arkai...@gmail.com):
> Hi all,
> lxc-version says 0.7.3, kernel 2.6.38
> My problem is that I lose network conectivity to the host when I start a
> guest.
Immediately I assume that your problem is that the mac addresses
assigned to your containers are lower than that of
Quoting David Serrano (dserra...@gmail.com):
> On Sat, May 14, 2011 at 00:15, Serge Hallyn
> wrote:
> >
> > I'm curious, whatcha got in mind?
>
> I don't think you have to have something in mind to implement this.
> Just that old motto "Be lenient
Quoting arkai...@gmail.com (arkai...@gmail.com):
> I've setup a web server and do requests each 5 seconds from my laptop.
> Then start tcpdump in the host machine and after a while I do lxc-start.
>
> Inspecting later with wireshark, it looks like once the lxc guest finishes
> DHCP negotiation and
Quoting Benjamin Kiessling (mittages...@l.unchti.me):
> Hi,
>
> > That's still doable, just a bit more work. Take a look at
> >
> > ls -l /dev/lxc
> >
> > (or whatever is the vg you're looking at). It has symlinks to the real
> > devices. When you look at the link targets, you can find their
Quoting arkai...@gmail.com (arkai...@gmail.com):
> On Sat, May 14, 2011 at 2:39 PM, Serge Hallyn
> wrote:
>
> > Make sure stp is on on the bridge inside your kvm guest.
> >
> > If that doesn't work, I'll just have to try and reproduce, but you'll
> &g
Quoting Brian K. White (br...@aljex.com):
> On 5/14/2011 9:20 AM, Serge Hallyn wrote:
> > Quoting David Serrano (dserra...@gmail.com):
> >> On Sat, May 14, 2011 at 00:15, Serge Hallyn
> >> wrote:
> >>>
> >>> I'm curious, whatcha got in min
Quoting arkai...@gmail.com (arkai...@gmail.com):
> On Sat, May 14, 2011 at 4:06 PM, Serge Hallyn
> wrote:
>
> > Hm, I just did this on natty
> > (natty host, natty kvm VM, with a natty container inside that)
> >
> > and could actually not reproduce your problem.
Quoting arkai...@gmail.com (arkai...@gmail.com):
> On Mon, May 16, 2011 at 6:11 PM, Serge Hallyn
> wrote:
>
> > Quoting arkai...@gmail.com (arkai...@gmail.com):
> > > Well, as I said it has to be something from the setup I do because I keep
> > > having thos
Quoting Ulli Horlacher (frams...@rus.uni-stuttgart.de):
>
> Is there an easy way to set up a disk limit for a container?
> I could create a LVM partition for each container, but this is not what I
> call "easy" :-}
(Not trying to argue, just probe)
Why do you call it not easy? Because you don't
Quoting Corin Langosch (cor...@gmx.de):
> On 18.05.2011 17:52, Serge Hallyn wrote:
> >
> >Why do you call it not easy? Because you don't have spare partitions to
> >dedicate to a pv? Or because you're not used to using lvm?
> >
> >If the former, then
Quoting Corin Langosch (cor...@gmx.de):
> On 19.05.2011 11:18, Ulli Horlacher wrote:
> After some time users install data on their vservers and so the
> snapshots grow over time.
>
> disc: 500 GB (one big lvm partition)
> lvm volume: 10 GB (has vserver base system installation)
> snapshot 1: 5 GB
Quoting Francois-Xavier Bourlet (francois-xavier.bour...@dotcloud.com):
> and what about using xfs quota by project? is somebody tried?
Not me, sounds promising though - best suggestion yet. Someone let
us know if it works :)
thanks,
-serge
--
Quoting Roberto (prof...@gmail.com):
> Hi all,
>
> I'm new to LXC and I've been following the following instructions on
> how to setup a container:
>
> http://www.phenona.com/blog/using-lxc-linux-containers-in-amazon-ec2/
>
> Unfortunately, it seems I cannot start a container. In fact, after I
>
Quoting Roberto (prof...@gmail.com):
> > Not sure exactly what that tutorial is doing. Didn't see anything
> > obviously wrong with it. You might try verifying it by doing
> >
> > lxc-create -f /usr/share/doc/lxc/examples/lxc-macvlan.conf -t ubuntu -n u1
> > lxc-start -n u1
>
> Except the lxc-
Quoting Daniel Lezcano (daniel.lezc...@free.fr):
> On 05/31/2011 01:44 PM, Ramez Hanna wrote:
> > On Tue, May 31, 2011 at 2:07 PM, Daniel
> > Lezcanowrote:
> >
> >> On 05/31/2011 12:33 PM, Ramez Hanna wrote:
> >>
> >>> it seems that lxc cannot handle cgroups when capabilities are not all in
> >>>
Jinkeys. Could you please file a bug against 'linux (Ubuntu)' about
this? Or file it against lxc and I'll retarget it.
thanks,
-serge
Quoting Clemens Perz (cp...@gmx.net):
>
> Hi!
>
> Just hit something similar today. Ubuntu Lucid had a kernel update to
> 2.6.32-32 and now my dev container re
Quoting Ramez Hanna (rha...@informatiq.org):
> On Tue, May 31, 2011 at 5:38 PM, Serge Hallyn
> wrote:
>
> > Quoting Daniel Lezcano (daniel.lezc...@free.fr):
> > > On 05/31/2011 01:44 PM, Ramez Hanna wrote:
> > > > On Tue, May 31, 2011 at 2:07 PM, Daniel Lezc
Quoting matthew byers (faintstlsa...@gmail.com):
> Hey i am trying to run lxc on my laptop but am having problem setting up
> bridge. My internet connection consist of a WAN that i have absolutely no
> control over. I connect my tablet to the network and then tether it to my
> laptop. I followed di
device
> lxcbr0: ERROR while getting interface flags: No such device
> SIOCSIFNETMASK: No such device
> lxcbr0: ERROR while getting interface flags: No such device
> Failed to bring up lxcbr0.
>
>
> On Fri, Jun 3, 2011 at 6:14 PM, Serge Hallyn
> wrote:
>
> > Quoting
Quoting matthew byers (faintstlsa...@gmail.com):
> here is what i got when i ran last command:
>
> stlsaint@stlsaint-devcore:~$ sudo /opt/bin/lxcbr0-up
> iptables v1.4.4: host/network `' not found
Oh, fudge. The problem is I told you (in the blog post) to do
cat > file << EOF
hack hack $var hac
Quoting webcubator webcubator (webcuba...@mail.ru):
> Hello!
>
> Shortly...
>
> I want to install natty as guest without network isolation
> The problem is lxc-start hangs in this case
> If I add network all works fine
>
> With this network settings all works fine
> -- cut --
> lxc.network.type=
Quoting Brian K. White (br...@aljex.com):
> I thought we killed this problem?
...
> nj12:~ # rm -rf /sys/fs/cgroup/vps001
rmdir
--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Exper
Quoting Brian K. White (br...@aljex.com):
> On 6/16/2011 3:26 PM, Serge Hallyn wrote:
> > Quoting Brian K. White (br...@aljex.com):
> >> I thought we killed this problem?
> > ...
> >> nj12:~ # rm -rf /sys/fs/cgroup/vps001
> >
> > rmdir
> >
>
Quoting Brian K. White (br...@aljex.com):
> On 6/17/2011 12:06 PM, Serge Hallyn wrote:
> > Quoting Brian K. White (br...@aljex.com):
> >> On 6/16/2011 3:26 PM, Serge Hallyn wrote:
> >>> Quoting Brian K. White (br...@aljex.com):
> >>>> I thought we kill
Quoting Michael H. Warfield (m...@wittsend.com):
> On Tue, 2011-05-31 at 14:00 -0500, Serge Hallyn wrote:
> > Quoting Ramez Hanna (rha...@informatiq.org):
> > > On Tue, May 31, 2011 at 5:38 PM, Serge Hallyn
> > > wrote:
> > >
> > > > Quoting Danie
Quoting Elliot Pahl (elliot.p...@gmail.com):
> Is there a good solution for these issues? Is the solution to modify the
> debootstrap template, or does it lie elsewhere?
Thanks for bringing this up, Elliot. I've gone ahead and backported
the oneiric lxc package to lucid and pushed it to
https://
Hi Daniel,
Quoting Daniel Lezcano (daniel.lezc...@free.fr):
> >>>+echo "Tweaking configuration"
> >>>+cp $lxc_path/$lxc_orig/config $lxc_path/$lxc_new/config
> >>>+sed -i '/lxc.utsname/d' $lxc_path/$lxc_new/config
> >>>+echo "lxc.utsname = $hostname">> $lxc_path/$lxc_new/config
> >>We should not
Actually, perhaps this is better integrated into the templates.
I'm working on consolidating and extending the ubuntu templates into
one, and it looks like maybe it's better to put the cloning stuff
into that. Though it makes the create command syntax all the more
baroque, which I don't like. Bu
rts x86_64,
not i686.
And unfortunately debootstrap and lxc.arch each accept only the
opposite of each other (i386 vs i686) :)
Signed-off-by: Serge Hallyn
---
templates/lxc-ubuntu.in |9 +++--
1 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/templates/lxc-ubuntu.in b/templates/l
Quoting Stéphane Graber (stgra...@ubuntu.com):
>
> Signed-off-by: Stéphane Graber
My thought (which I meant to point out in the help output) was
that we should default to the latest LTS. lucid for now, 12.04
when it comes out.
What do you think?
If you think it's better to use the host's rele
Quoting Stéphane Graber (stgra...@ubuntu.com):
>
> Signed-off-by: Stéphane Graber
> ---
> templates/lxc-ubuntu.in | 24 ++--
> 1 files changed, 18 insertions(+), 6 deletions(-)
>
> diff --git a/templates/lxc-ubuntu.in b/templates/lxc-ubuntu.in
> index 2a20c7d..4f75336 1006
Quoting Stéphane Graber (stgra...@ubuntu.com):
> On Thu, 2011-06-23 at 11:13 -0500, Serge Hallyn wrote:
> > Quoting Stéphane Graber (stgra...@ubuntu.com):
> > >
> > > Signed-off-by: Stéphane Graber
> >
> > My thought (which I meant to point out in the help
Quoting Stéphane Graber (stgra...@ubuntu.com):
> On Thu, 2011-06-23 at 13:27 -0400, Stéphane Graber wrote:
> > On Thu, 2011-06-23 at 11:13 -0500, Serge Hallyn wrote:
> > > Quoting Stéphane Graber (stgra...@ubuntu.com):
> > > >
> > > > Signed-off-by: Stéph
Quoting Stéphane Graber (stgra...@ubuntu.com):
> Unless I missed something, the following commits should be good to
> apply:
> - [PATCH 1/2] lxc-create: pass remaining args to templates
> - [PATCH 2/2] templates: consolidate and extend ubuntu templates
>
> Then, the following should be fixed:
>
g the container
lxc-ubuntu: always install lxcguest in postprocess
Signed-off-by: Serge Hallyn
---
configure.ac |5 +-
doc/lxc-create.sgml.in|2 +-
templates/Makefile.am |5 +-
templates/lxc-lucid.in| 361 --
te
If can't match any valid release, use lucid.
Signed-off-by: Stéphane Graber
Signed-off-by: Serge Hallyn
---
templates/lxc-ubuntu.in |9 +
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/templates/lxc-ubuntu.in b/templates/lxc-ubuntu.in
index 0a55f4c..439e1d0 1
This does not supplant the need for a manpage, but it's a start.
Signed-off-by: Serge Hallyn
---
src/lxc/lxc-create.in | 13 -
1 files changed, 12 insertions(+), 1 deletions(-)
diff --git a/src/lxc/lxc-create.in b/src/lxc/lxc-create.in
index 00e6b21..63750e9 100644
--- a/sr
Changelog: [seh] Don't take arch from environment
Signed-off-by: Stéphane Graber
Signed-off-by: Serge Hallyn
---
templates/lxc-ubuntu.in | 20 +++-
1 files changed, 15 insertions(+), 5 deletions(-)
diff --git a/templates/lxc-ubuntu.in b/templates/lxc-ubuntu.in
index e7
le mount of cgroups under /cgroup.
Signed-off-by: Serge Hallyn
---
src/lxc/cgroup.c | 207 +
src/lxc/cgroup.h |2 +-
src/lxc/freezer.c |2 +-
src/lxc/lxc.h |8 +-
src/lxc/state.c |2 +-
5 files changed, 135 insertions(
Signed-off-by: Serge Hallyn
---
src/lxc/conf.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/lxc/conf.c b/src/lxc/conf.c
index 483d375..2eb598b 100644
--- a/src/lxc/conf.c
+++ b/src/lxc/conf.c
@@ -1633,7 +1633,7 @@ int lxc_assign_network(struct lxc_list *network
Quoting Julien VAUBOURG (jul...@vaubourg.com):
> Hi all,
>
> I would like to handle disk quotas of my containers, but in avoiding to
> use partitions.
>
> With linux-vserver, this is possible with the xid tagging and the
> vdlimit command[0].
>
> Would you know if LXC can use xid in the
Quoting Devendra K. Modium (dmod...@isi.edu):
> Hi
>
> Please let me know is it possible to hide PCI devices inside the container.
> Although I used the cgroups.deny=a option in the configuration script.
> When I run the command lspci inside container, I can see all the devices
> connected to ho
Quoting Michael H. Warfield (m...@wittsend.com):
...
> F15 systemd: Passed.
> F12 single mount: Passed.
> F13 single mount: Passed.
> F14 single mount: Passed.
> F14 libcgroup:Failed.
>
> I had the default /etc/cgconfig.conf file and here are the results:
>
> [root@berserker-base ~]# cat
From: Serge Hallyn
Otherwise building on armel fails with
checking for linux SRCARCH... configure: error: architecture
arm-unknown-linux-gnueabi not supported
See https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/745884 for details.
Author: Marcin Juszkiewicz
Signed-off-by: Serge Hallyn
From: Serge Hallyn
src/lxc/conf.c will explicitly mount it anyway. Furthermore, the fstab
entry, which is getting processed first, did not specify -o newinstance.
This can cause the host's devpts entry mount options to change, as in
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/6
From: Serge Hallyn
As people seem to want it, i.e.
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/800886
Signed-off-by: Serge Hallyn
---
templates/lxc-ubuntu.in |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/templates/lxc-ubuntu.in b/templates/lxc-ubuntu.in
Hi,
following are three small patches which are applied in the Ubuntu
lxc package, on top of the current lxc git HEAD. Would you mind
applying these before tagging 0.7.5?
thanks,
-serge
--
AppSumo Presents a FREE Video
Quoting Michael H. Warfield (m...@wittsend.com):
> [root@forest ~]# lxc-start --name Plover
> lxc-start: Invalid argument - pivot_root syscall failed
sort of unrelated, but Rob Landley had mentioned he wanted to fix chroot
to prevent the chdir-based chroot escape, allowing lxc to use chroot in
pla
Quoting Elliot Pahl (elliot.p...@gmail.com):
> Upgrading udev and plymouth in a lucid container seems to require access to
> udev devices with the following lines in /config
> lxc.cgroup.devices.allow = c 108:0 rwm
> lxc.cgroup.devices.allow = b 7:0 rwm
> lxc.cgroup.devices.allow = c 10:200 rwm
>
Hi,
This mailing list is intended for users of the lxc.sf.net toolsuite.
While the libvirt lxc implementation is in many ways similar, there
definately are differences.
I point this out because your first step has to be to get more
debugging information, and I don't know that anyone here can help
Quoting Daniel Lezcano (daniel.lezc...@free.fr):
> On 08/10/2011 06:56 PM, Remi Verchere wrote:
> >>> So, how can I migrate a container configuration managed by lxc tools
> >>> to libvirt ? Is there any tools or how-to?
> >> No. That could be very nice if we write a driver for libvirt for the lxc
>
Quoting Jäkel, Guido (g.jae...@dnb.de):
> Dear Daniel,
>
> What about to add little hints to such error messages; something like
>
> "Too many open files - failed to inotify_init. You may have to increase
> the value of fs.inotify.max_user_instances"
>
>
> And maybe this possible traps
Quoting Ramez Hanna (rha...@informatiq.org):
> Hi,
>
> I have started using lxc to setup a pre-production system instead of KVM
> at first glance clone seemd to me that it would copy everything to a new roots
> but turns out that in case of LVM it will snapshot
> AFAIK snapshots are meant more for
Thanks, Ramez. It looks good to me. My only comment would be that
if the rootfs copy fails (either rsync or lvm clone), and you've
frozen the original container, then you need to unfreeze the original
container before erroring out.
-serge
Quoting Ramez Hanna (rha...@informatiq.org):
> * allow c
Quoting nishant mungse (nishantmun...@gmail.com):
> Hi all
>
> I want to create a sym link between different containers. Is it possible to
> create?and how?
Hm. How about doing a bind mount instead?
--
Special Offer --
Thanks. No objections to the patchset. (Other than, better to simply
remove the code lines which you commented out - but no need for a new
set for that).
I haven't tested it, but it looks correct.
Acked-by: Serge Hallyn
thanks,
-
1 - 100 of 653 matches
Mail list logo