Re: [lxc-devel] [PATCH 1/5] start child in its own process group, and put it into the foreground

2010-06-14 Thread Greg Kurz
On Fri, 2010-06-11 at 14:26 -0700, Matt Helsley wrote:
 I think shells implementing job control do it in the parent (shell) 
 rather than the child (job) purely out of convention. It might be good

They usually do it in both the parent and child.

 to follow a similar convention even if lxc is not, strictly speaking,
 a 
 shell.
 

This could be done but it isn't really needed as the parent and child
have a synchronization point anyway to setup the container.

Cheers.

-- 
Gregory Kurz gk...@fr.ibm.com
Software Engineer @ IBM/Meiosys  http://www.ibm.com
Tel +33 (0)534 638 479   Fax +33 (0)561 400 420

Anarchy is about taking complete responsibility for yourself.
Alan Moore.


--
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
___
Lxc-devel mailing list
Lxc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-devel


[lxc-devel] [GIT] lxc branch, master, updated. b0badabd2d3ec9c8506651bbb4900cc0ec3f8a16

2010-06-14 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  b0badabd2d3ec9c8506651bbb4900cc0ec3f8a16 (commit)
  from  4f9293b1f07722f18023bbec06c2a3719335d8f7 (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 b0badabd2d3ec9c8506651bbb4900cc0ec3f8a16
Author: Andrew Phillips andrew.phill...@lmax.com
Date:   Mon Jun 14 11:34:50 2010 +0200

support shutdown/reboot with upstart within a system container

Improve resiliency of utmp.c to removal of /var/run/utmp
Add shutdown timer as we transition to shutdown from running to check for 
the
number of tasks remaining. Improve container state handling. We can't rely 
on
the previous runlevel being maintained properly.

Signed-off-by: Andrew Phillips andrew.phill...@lmax.com
Signed-off-by: Daniel Lezcano dlezc...@fr.ibm.com

---

Summary of changes:
 src/lxc/utmp.c |  301 
 1 files changed, 261 insertions(+), 40 deletions(-)


hooks/post-receive
-- 
lxc

--
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
___
Lxc-devel mailing list
Lxc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-devel