Re: [lxc-devel] lxc-unshare woes and signal forwarding in lxc-start

2010-05-27 Thread Greg Kurz
On Thu, 2010-05-13 at 14:22 +0200, Ferenc Wagner wrote:
 I'd say we should setpgrp the container init, forward all signals we
 can to it, and have a configuration option for the set of signals
 which
 should be forwarded to the full process group of the container init.
 Or does it make sense to swallow anything?
 

That makes sense to setpgrp() in the container init if you also
tcsetpgrp(). This way, the appropriate process group is registered in
the tty driver. No need for lxc-start to forward tty based signals.

-- 
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.


--

___
Lxc-devel mailing list
Lxc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-devel


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

2010-05-27 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  b8da590f0e90f70baa2c29488db554d55507db0d (commit)
  from  d0817ec91abb63cafda5e1737771020026b98879 (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 b8da590f0e90f70baa2c29488db554d55507db0d
Author: Michel Normand norm...@fr.ibm.com
Date:   Thu May 27 14:26:09 2010 +0200

lxc-kill man update about SIGSTOP and SIGKILL

Signed-off-by: Michel Normand norm...@fr.ibm.com
Signed-off-by: Daniel Lezcano dlezc...@fr.ibm.com

---

Summary of changes:
 doc/lxc-kill.sgml.in |6 ++
 1 files changed, 6 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
lxc

--

___
Lxc-devel mailing list
Lxc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-devel


[lxc-devel] [GIT] lxc branch, master, updated. 0cd0cf5c1559c1de2eaa471728fde63f0f7a1db2

2010-05-27 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  0cd0cf5c1559c1de2eaa471728fde63f0f7a1db2 (commit)
  from  2ac29abe457c723373031cdfc36720a07f20afb7 (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 0cd0cf5c1559c1de2eaa471728fde63f0f7a1db2
Author: Daniel Lezcano dlezc...@fr.ibm.com
Date:   Thu May 27 16:27:15 2010 +0200

remove unused field

These fields were moved to another structure but not removed from
there.

Signed-off-by: Daniel Lezcano dlezc...@fr.ibm.com

---

Summary of changes:
 src/lxc/start.h |2 --
 1 files changed, 0 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
lxc

--

___
Lxc-devel mailing list
Lxc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-devel


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

2010-05-27 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  d674be08d4b282bb4717c51440811e39d3c2431e (commit)
   via  baf6671fd3847865da9b64dc8f8be85d81304840 (commit)
  from  b8da590f0e90f70baa2c29488db554d55507db0d (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 d674be08d4b282bb4717c51440811e39d3c2431e
Author: Daniel Lezcano daniel.lezc...@free.fr
Date:   Thu May 27 14:27:13 2010 +0200

move lxc-init to $libdir/lxc

As specified by FHS:

   /usr/lib includes object files, libraries, and internal binaries that
   are not intended to be executed directly by users or shell scripts.

   Applications may use a single subdirectory under /usr/lib. If an
   application uses a subdirectory, all architecture-dependent data
   exclusively used by the application must be placed within that
   subdirectory.


Signed-off-by: Daniel Lezcano dlezc...@fr.ibm.com

commit baf6671fd3847865da9b64dc8f8be85d81304840
Author: Daniel Lezcano daniel.lezc...@free.fr
Date:   Thu May 27 14:27:13 2010 +0200

change the rootfs mount location and add the README

Previous path was $libdir/lxc, changed to $libdir/lxc/rootfs.
Added a README file to be placed in this directory, describing
the purpose of this empty directory. Having a file to be installed
in this directory makes the Makefile to automatically create the
directory at install time.

Signed-off-by: Daniel Lezcano dlezc...@fr.ibm.com

---

Summary of changes:
 configure.ac   |   11 +++
 doc/Makefile.am|4 ++--
 doc/rootfs/Makefile.am |3 +++
 doc/rootfs/README  |4 
 src/lxc/Makefile.am|2 +-
 src/lxc/lxc-setcap.in  |4 ++--
 src/lxc/lxc_execute.c  |2 +-
 7 files changed, 20 insertions(+), 10 deletions(-)
 create mode 100644 doc/rootfs/Makefile.am
 create mode 100644 doc/rootfs/README


hooks/post-receive
-- 
lxc

--

___
Lxc-devel mailing list
Lxc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-devel