For some reason, the most recent lxc release really doesn't want to install the
pregenerated copies of the man pages in the doc directory.
I did a configure, make, and make install on it (installing the two
prerequisite packages it wanted), it installed into /usr/local (fine), but the
man pages
Second attempt, remembering to tell this darn webmail interface _not_ to spray
HTML all over my email. (I switched it off as a global option, dunno why it
keeps ignoring that.)
For some reason, the most recent lxc release really doesn't want to install the
pregenerated copies of the man pages
> > I did a configure, make, and make install on it (installing the two
> > prerequisite packages
> > it wanted), it installed into /usr/local (fine), but the man pages aren't
> > there. sudo find /
> > -xdev -name "lxc-kill*" found the installed binary and the man page in the
> > source
> > di
Is there any way to tell lxc that I'll run it as root if I want root access,
and not to fiddle with capabilities? (If there's a ./configure option for
this, I haven't found it...)
Rob
--
Lotusphere 2011
Register now for
3:12 AM
To: Rob Landley
Cc: lxc-devel@lists.sourceforge.net
Subject: Re: [lxc-devel] Building without libcap2?
17.12.2010 05:48, Rob Landley wrote:
> Is there any way to tell lxc that I'll run it as root if I want root access,
> and not to fiddle with capabilities? (If there'
> It's easy to blame something if you don't understand what
> you're blaming.
Yes, that's why I'm asking. To understand.
> Capabilities (libcap2) is a tiny library (on my i386
> userspace it's just a 13Kb shared object), it has _no_
> external dependencies whatsoever - neither at build nor
> at
One of the first containery bits that went into the vanilla kernel (in
2.6.15) was process-local mount points (I.E. shared subtrees):
http://lwn.net/Articles/159077/
But there's no mention of it on:
http://lxc.sourceforge.net/index.php/about/kernel-namespaces/
Anybody want to add it?
Ro
I'm attempting to write a simple HOWTO for setting up a container with
LXC. Unfortunately, console handling is really really brittle and the
only way I've gotten it to work is kind of unpleasant to document.
Using lxc 0.7.3 (both in debian sid and built from source myself), I can
lxc-create a
On 01/04/2011 06:52 AM, Daniel Lezcano wrote:
On 01/04/2011 09:36 AM, Rob Landley wrote:
I'm attempting to write a simple HOWTO for setting up a container with
LXC. Unfortunately, console handling is really really brittle and the
only way I've gotten it to work is kind of unpleasant t
On 01/05/2011 03:37 AM, Daniel Lezcano wrote:
On 01/05/2011 08:53 AM, Rob Landley wrote:
On 01/04/2011 06:52 AM, Daniel Lezcano wrote:
On 01/04/2011 09:36 AM, Rob Landley wrote:
I'm attempting to write a simple HOWTO for setting up a container with
LXC. Unfortunately, console handli
On 01/05/2011 05:19 AM, Daniel Lezcano wrote:
> On 01/04/2011 09:36 AM, Rob Landley wrote:
>> I'm attempting to write a simple HOWTO for setting up a container with
>> LXC. Unfortunately, console handling is really really brittle and the
>> only way I've gotten it t
On 01/05/2011 08:13 AM, Daniel Lezcano wrote:
Bug #1: If I exit that container, eth1 vanishes from the world. The
container's gone, but it doesn't reappear on the host. (This may be
related to the fact that the only way I've found to kill a container
is do "killall -9 lxc-start"
On 01/05/2011 08:20 AM, Daniel Lezcano wrote:
Rob thanks for the howto !
It's a work in progress. :)
I have a few comments/questions:
In step 6: I guess you can change the "lxc's console bug" by specifying
the correct inittab for busybox.
I'm happy to just wait for the next release of lxc
On 01/05/2011 05:19 AM, Daniel Lezcano wrote:
> there is a small bug when installing the template in the inittab, it should
> be:
>
> ::sysinit:/etc/init.d/rcS
> tty1::respawn:/bin/getty -L tty1 115200 vt100
> console::askfirst:/bin/sh
>
> Otherwise, I think the busybox version you are using is
On 01/13/2011 05:45 PM, Andreas Philipp wrote:
>
>
> On 13.01.2011 23:42, Daniel Lezcano wrote:
>> On 01/13/2011 08:30 PM, Andreas Philipp wrote:
>>> Hi all,
>>>
>>> After upgrading a machine to kernel version 2.6.35.8 to 2.6.37 my system
>>> froze each time when I issued a lxc-stop command. Unfo
On 01/27/2011 05:16 PM, Daniel Lezcano wrote:
> Author of the patch : Jonathan Liu posted as a bug fix on the lxc
> sourceforge website.
>
> OS: Arch Linux 32-bit
>
> /etc/init.d/rcS do not use full path to syslogd, mount and udhcpc executables.
> As busybox requires /proc mounted if CONFIG_BUS
Just wondering. The last news entry on lxc.sf.net was in June of last year.
Rob
--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better pri
On 01/25/2011 07:48 PM, SourceForge.net wrote:
> Bugs item #3165633, was opened at 2011-01-26 12:48
> Message generated for change (Tracker Item Submitted) made by net147
> You can respond by visiting:
> https://sourceforge.net/tracker/?func=detail&atid=826303&aid=3165633&group_id=163076
I note t
On 02/01/2011 07:50 AM, Daniel Lezcano wrote:
> - Log -
> commit 829dd9183cbefccdf38f87463fa5c2719e774204
> Author: Daniel Lezcano
> Date: Tue Feb 1 14:49:40 2011 +0100
>
> lxc-start can output the console to a file
>
>
On 02/02/2011 02:00 AM, matthew byers wrote:
> rc1 has been released for testing.
> http://sourceforge.net/projects/lxc/files/lxc/lxc-0.7.4/lxc-0.7.4-rc1.tar.gz/download
Ah, there wasn't anything in http://lxc.sourceforge.net/download/lxc/ so
I hadn't noticed.
Thanks,
Rob
--
On 02/02/2011 02:00 AM, matthew byers wrote:
> rc1 has been released for testing.
> http://sourceforge.net/projects/lxc/files/lxc/lxc-0.7.4/lxc-0.7.4-rc1.tar.gz/download
I also note that going to
https://sourceforge.net/projects/lxc/files/lxc/
A) Says that the latest version is 0.7.2 (even tho
On 02/02/2011 04:53 AM, Daniel Lezcano wrote:
> On 02/01/2011 07:17 PM, Rob Landley wrote:
>> Just wondering. The last news entry on lxc.sf.net was in June of last
>> year.
>
> Yeah, any volunteer to handle the news on the website ?
I could do it, but I don't
On 02/03/2011 07:04 AM, Daniel Lezcano wrote:
> On 02/03/2011 01:55 PM, matthew byers wrote:
>> I like the wiki idea as it gives another area where users can post
>> various
>> fixes to issues or even tutorials for lxc. That seems to be the biggest
>> issue i have come across that people have with
On 02/03/2011 03:15 AM, Daniel Lezcano wrote:
> On 02/03/2011 06:04 AM, Rob Landley wrote:
>> On 02/02/2011 04:53 AM, Daniel Lezcano wrote:
>>> On 02/01/2011 07:17 PM, Rob Landley wrote:
>>>> Just wondering. The last news entry on lxc.sf.net was in June of las
On 02/03/2011 06:55 AM, matthew byers wrote:
> I like the wiki idea as it gives another area where users can post
> various fixes to issues or even tutorials for lxc. That seems to be the
> biggest issue i have come across that people have with lxc itself...lack
> of documentation. I have the websi
On 02/01/2011 03:31 PM, SourceForge.net wrote:
> /etc/init.d/rcS do not use full path to syslogd, mount and udhcpc executables.
> As busybox requires /proc mounted if
> CONFIG_BUSYBOX_EXEC_PATH="/proc/self/exe" to run these commands without full
> path, the full path should be used in the startup
On 02/04/2011 07:24 AM, Maheswara Reddy C - ERS, HCL Tech wrote:
> Hi,
>
> Could some explain how to create a network namespace in linux kernel, I
> want to simulate the cisco VRF feature.
Pull up the clone(2) man page and look for CLONE_NEWNET.
Also, read http://lwn.net/Articles/219794/
Rob
-
Does the makefile's man page generation stuff do html files? Because if
so I'd like put them on the web page, it's some of the best
documentation on the thing and people trying to learn about containers
can't find it via google...
Rob
-
On 02/07/2011 09:28 AM, Daniel Lezcano wrote:
> On 02/07/2011 04:19 PM, Rob Landley wrote:
>> Does the makefile's man page generation stuff do html files? Because if
>> so I'd like put them on the web page, it's some of the best
>> documentation on the th
On 02/09/2011 02:19 AM, Daniel Lezcano wrote:
> On 02/09/2011 04:34 AM, Rob Landley wrote:
>> On 02/07/2011 09:28 AM, Daniel Lezcano wrote:
>>> On 02/07/2011 04:19 PM, Rob Landley wrote:
>>>> Does the makefile's man page generation stuff do html files?
>>&
On 02/07/2011 01:19 PM, richard -rw- weinberger wrote:
> Hi,
>
> Can KSM (http://lwn.net/Articles/306704/) help LXC?
> I guess there are a lot of identical pages when logs of containers are
> running.
>
Some of it we get for free by building on top of chroot instead of kvm.
If your binaries li
On 02/14/2011 05:54 PM, Trent W. Buck wrote:
> Rob Landley writes:
>>>> cannot generate system identifier for public text "-//Davenport//DTD
>>>> DocBook V3.0//EN"
>>
>> I'd guess the rest is fallout from being unable to find the right DTD..
On 02/14/2011 06:24 PM, Trent W. Buck wrote:
> Sorry about the previous post. I'm awake now.
>
> If I remove the .in from common_options.sgml.in and see_also.sgml.in,
> and change lxc-console.sgml.in's prelude to
>
>
>
> href="http://docbook.sourceforge.net/release/xsl/cur
On 02/15/2011 04:29 AM, Daniel Lezcano wrote:
>>> PS: the extension ought to be .xml, not .sgml, and I recommend you
>>> switch from Emacs' sgml-mode to nxml-mode, which is the default for .xml
>>> files in recent GNU Emacs releases.
>> I'd rather not get any emacs on me.
>>
>> But this should be e
On 02/16/2011 01:25 AM, Maheswara Reddy C - ERS, HCL Tech wrote:
> Hi,
>
> Could someone help me out,
>
> I want to run the two process on same name space, shall it possible
> using the clone()
You call clone with the CLONE_NEW* flags to create a new namespace. And
then you just fork() normall
Attached is is the world's ugliest shell script to convert the *.sgml.in
files to html.
The doc directory hasn't got a makefile in it, so there's nothing to add
an HTML output path to. If you cd in there and try to convert stuff
directly (as was suggested) you have to chop out @builddir@ from the
It would be really nice if the preview button worked. Changes don't
seem to publish on the website for about 15 seconds after I hit
"update". (Some sort of squid proxy?)
Rob
--
The ultimate all-in-one performance toolki
I want to collate the kernel namespaces documentation, man pages, and
add some cgroup docs under a documentation page. This involves changing
the "Pages" link on the left (to which somebody added a link to html man
pages dated last year that I didn't know about).
How do you edit that list of link
On 02/17/2011 12:48 AM, Maheswara Reddy C - ERS, HCL Tech wrote:
> Hi,
>
> Fine,fork() always create new process, but here both the processes are
> different stacks.
Different processes have different stacks, yes. Even if you use
pthread_create() each thread still has its own stack. That's not
On 02/16/2011 11:23 PM, Trent W. Buck wrote:
> PS: instead of HTML=$(echo $i | sed 's/\.sgml\.in$/.html/') try
> HTML="${i%.sgml.in}.html". See PATTERN SUBSTITUTIONS in the bash
> manpage, though this is POSIX portable sh.
Last I checked Ubuntu's Defective Annoying SHell didn't support that
const
On 02/17/2011 03:55 AM, Maheswara Reddy C - ERS, HCL Tech wrote:
> Thanks Rob,
>
> Here ABC_stack or XYZ_stack mean different vendor networking stack,
Good to know.
> these two network stack want to run in one namespace as tow different process.
In one _what_ namespace?
Ok, imagine I'm a bart
On 02/17/2011 07:50 PM, Trent W. Buck wrote:
> If you want bash, bloody well use a bash shebang.
I did. (Always do.)
I mentioned it was a quick-and-dirty shell script. I wasn't proposing
it for inclusion, just noting that this is what I needed to do to get it
to work. I agree tweaking the make
It looks like clone flags aren't the only way to create a new namespace,
any existing process can move to a new namespace via unshare(2).
This sounds like you could fairly easily make a super_chroot() function
that does most of the container stuff. The hard part would be doing
mount points, devic
After investigating I don't see any reason sshfs shouldn't work just
fine in a container out of the box (all the network stuff happens in
userspace), but I can't create the FUSE dev node from within the
container because mknod doesn't work from the container's root.
I thought the point of linking
On 02/23/2011 03:40 AM, Daniel Lezcano wrote:
> On 02/23/2011 09:53 AM, Daniel Lezcano wrote:
>> On 02/23/2011 05:22 AM, Rob Landley wrote:
>>> It looks like clone flags aren't the only way to create a new namespace,
>>> any existing process can move to a new namesp
On 02/24/2011 07:52 AM, Maheswara Reddy C - ERS, HCL Tech wrote:
> Hi, How can we create common default namespace which can be
> communicated with all the other namespaces.
What does that mean?
When you say "namespace", there's the mount namespace, network
namespace, PID namespace, /dev namespace
How do I tell what version of lxc I'm using? The new lxc isn't in the
debian repo yet so I a ./configure/make/install from source, but I'm not
sure where it installed it. there's no central "lxc" command that runs
the other stuff. I tried "lxc-create --version" but it didn't give me
the version
iner ever try to use the same IP,
the NFS cacheing stuff mixes stuff together and it all goes pear shaped.
As I said: working on it...
Rob
From: Rob Landley
[PATCH] Make NFSv3 work in a container.
This is the minimal fix to mount an NFSv3 server from a container, via the
following (somewh
On 03/18/2011 01:43 PM, Tim Spriggs wrote:
> On Fri, Mar 18, 2011 at 6:34 AM, Rob Landley wrote:
>> On 03/16/2011 01:51 PM, Tim Spriggs wrote:
>>> Thanks for the offer but I think I have networking under control. What
>>> is not working properly is that NFS happens from
On 03/18/2011 06:32 PM, Rob Landley wrote:
>> I guess the next step for me would be getting caching straight
>> as I will have the same mounts on several containers. What can I do to
>> help?
Oh, the _easy_ thing you can do for you use case is create the NFS mount
from the ho
On 04/06/2011 05:43 AM, Daniel Lezcano wrote:
> On 03/22/2011 10:20 AM, Nathan McSween wrote:
>> Can I get a quick rundown of what is implemented w.r.t UID/GID
>> containerization, is it safe yet to give containerized root to an
>> everyday user without huge security issues?
>
> Nope, it is not s
On 04/13/2011 12:49 PM, Francois-Xavier Bourlet wrote:
> Hi,
>
> Here's a patch with the purpose adding a way to browse containers trough
> liblxc.
What does "browse" mean in this context?
> I added the function lxc-browse, that simply call back a function with
> the container name as parameter
I'm reading through the LXC code and for some reason it's using
pivot_root() instead of chroot(). Is there a reason for this? (We need
to iterate through every process in the system and make sure that kernel
threads that are the children of the host's PID 1 get evicted from the
old mount point so
On 06/02/2011 02:41 PM, Daniel Lezcano wrote:
> On 06/02/2011 07:03 PM, Michael H. Warfield wrote:
>> On Wed, 2011-06-01 at 20:10 -0400, Michael H. Warfield wrote:
>>> On Fri, 2011-05-13 at 22:32 +0200, Daniel Lezcano wrote:
From: Daniel Lezcano
We ignore the line of in the configuration
On 01/16/2013 01:37:04 PM, Serge Hallyn wrote:
> Hi,
>
> Now that the core user namespace support is in both the 3.8 kernel
> and in the lxc staging branch, I thought it might be good to have
> a meeting to first make sure everyone understands what it is and
> what it can do, and second to discuss
On 04/10/2013 05:39:41 AM, Purcareata Bogdan-B43198 wrote:
> Hello,
>
> Thank you very much for your reply! I'm sorry for sending this in a
> hurry, and not providing enough explanations. Please find my
> additional comment inline.
>
> Thank you,
> Bogdan P.
>
> > -Original Message-
On 08/08/2013 03:25:34 AM, Stéphane Graber wrote:
> The current schedule is visible at:
> http://www.linuxplumbersconf.org/2013/ocw/events/LPC2013/tracks/153
>
> The site is rather bad at showing how much time has been allocated to
> each entry, so there you go:
> - On the road to LXC 1.0: 30min
On 09/12/2013 01:27:07 PM, Christian Seiler wrote:
> Hi there,
>
> just a quick question: currently, rootfs is pinned with a .hold file
> in
> the parent directory (which btw. does not help against file systems
> that
> are already mounted on the host but directly in the rootfs directory).
> T
On 09/13/2013 10:28:25 AM, Serge Hallyn wrote:
> Quoting Michael H. Warfield (m...@wittsend.com):
> > On Fri, 2013-09-13 at 07:56 -0500, Serge Hallyn wrote:
> > > Quoting Jäkel, Guido (g.jae...@dnb.de):
> > > > Hello,
> > > >
> > > > I'm late but I just want to mention that I expect that all this
On 09/23/2013 11:19:17 AM, Serge Hallyn wrote:
> Quoting Rob Landley (r...@landley.net):
> > On 09/12/2013 01:27:07 PM, Christian Seiler wrote:
> > > Hi there,
> > >
> > > just a quick question: currently, rootfs is pinned with a .hold
> file
> > >
60 matches
Mail list logo