[lxc-devel] [GIT] lxc branch, master, updated. 165015211fa9506b11ea1f4540d54b8a99a2f468

2011-09-13 Thread Daniel Lezcano
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "lxc".

The branch, master has been updated
   via  165015211fa9506b11ea1f4540d54b8a99a2f468 (commit)
   via  92c7f6295518decd3989b2790d75551e7d9a (commit)
   via  1c41ddcb4af633ac906f1d7c9ef1dc7d121d7850 (commit)
  from  f7b98d38f042c403114fd07187dfe7daed44bdda (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -
commit 165015211fa9506b11ea1f4540d54b8a99a2f468
Author: Tzafrir Cohen 
Date:   Tue Sep 13 15:08:04 2011 +0200

Set the utsname on the debian template

Signed-off-by: Tzafrir Cohen 
Signed-off-by: Daniel Lezcano 

commit 92c7f6295518decd3989b2790d75551e7d9a
Author: Greg Kurz 
Date:   Tue Sep 13 15:08:04 2011 +0200

only warn for inherited file descriptors

As discussed in thread:


http://sourceforge.net/mailarchive/forum.php?thread_name=4E5618C3.5060507%40free.fr&forum_name=lxc-devel

We think it's better for now to only warn the user about a fd leaking into
the container. Also remove the call to readlink() as it isn't really useful
now: since the container will start anyway, the user can look into 
/proc/../fd
or use lsof or whatever.

Signed-off-by: Greg Kurz 
Signed-off-by: Daniel Lezcano 

commit 1c41ddcb4af633ac906f1d7c9ef1dc7d121d7850
Author: Greg Kurz 
Date:   Tue Sep 13 15:08:04 2011 +0200

fixes for rpmbuild

This patch fixes some makefile/specfile issues when running
rpmbuild with the distributed lxc specfile:

- fixes usage of installation directories for config files,
  rootfs, templates and lxc-init so that they're calculated
  at make time instead of configure time. Thanks to this,
  all installed items go under $RPM_BUILD_ROOT when running
  rpmbuild
- introduce --disable-rpath option to configure to avoid
  check-rpaths errors when building non-root.
- introduce a lxc-libs package in the default spec file
  to allow concurrent installation of 32 bit and 64 bit
  libraries.

v2: - fix circular reference in lxc.pc
- ship lxc.pc with lxc-devel

Signed-off-by: Greg Kurz 
Signed-off-by: Daniel Lezcano 

---

Summary of changes:
 configure.ac|   24 
 lxc.pc.in   |2 +-
 lxc.spec.in |   26 +++---
 src/lxc/Makefile.am |   10 --
 src/lxc/start.c |   20 +++-
 templates/lxc-debian.in |5 +++--
 6 files changed, 46 insertions(+), 41 deletions(-)


hooks/post-receive
-- 
lxc

--
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
Learn about the latest advances in developing for the 
BlackBerry® mobile platform with sessions, labs & more.
See new tools and technologies. Register for BlackBerry® DevCon today!
http://p.sf.net/sfu/rim-devcon-copy1 
___
Lxc-devel mailing list
Lxc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-devel


[lxc-devel] LXC templates

2011-09-13 Thread Matt Sayler
Hello,

(I'm not certain if this question is better-suited for the -devel or -user 
lists, but I thought I'd start here)

I'm interested in using lxc for some infrastructure projects I'm currently 
working on.  In a previous life, I used linux-vserver extensively, but for 
various reasons I would like to try out lxc now.

1) If I'm planning on making Debian-based containers with customizations, would 
a good approach be to create some simple templates that call the lxc-debian 
template and *then* run some post-processing scripts?

1a) Are variables in the .conf file accessible in some easy format inside the 
template script or would I need to parse out the lines myself (e.g. IP address)

2) I'm currently running on squeeze/amd64, which claims to be lxc 0.7.2.  How 
ideosynchratic is Debian's packaging of lxc (my experiences with linux-vserver 
make me a bit nervous about this).  Is it useful to upgrade to the current git 
version of lxc?  Does that answer change if I don't plan on recompiling my 
kernel?

Any help its appreciated!

Regards,

Matt

-- 
Matt Sayler
systems engineer, log manager program
msay...@alertlogic.com



--
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
Learn about the latest advances in developing for the 
BlackBerry® mobile platform with sessions, labs & more.
See new tools and technologies. Register for BlackBerry® DevCon today!
http://p.sf.net/sfu/rim-devcon-copy1 
___
Lxc-devel mailing list
Lxc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-devel