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

2010-02-24 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  c08556c6ece8ad8308f7636adb0ad25b60e3a16d (commit)
   via  1560f6c9a7c822fd625914eefa0b985f67d76a0a (commit)
   via  e0dc0de76ed1ad9e284a37bd01268227d4eae8c9 (commit)
   via  63376d7db32acf2f8582627e5ff01d8d3f0d46d1 (commit)
   via  246541036cf5434749d91a566b70b7ddcdb294bd (commit)
   via  872e18998b723779e1e1b36130bc28e438bd9d1e (commit)
   via  7ee5bb5583abe0821780c2056c0dfff3444a4fdc (commit)
   via  6dae68151518a26f87169cf0d3bb2fd39624b75c (commit)
   via  236087a6c8791f1ade2f80e8ed89712eee161d3f (commit)
   via  90b59fd059e0c08a5ad3c598fdf6e8758ab10582 (commit)
   via  ef184f8c54534c38ac52dd84f46af0e624aa12f0 (commit)
  from  9eb09f87215e8df035df975635f8a68b3201a5b1 (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 c08556c6ece8ad8308f7636adb0ad25b60e3a16d
Author: Daniel Lezcano 
Date:   Wed Feb 24 10:57:43 2010 +0100

use lazy umount when umount returns EBUSY

When the umount fails, we force the umount and make the mount point
unaccessible by using a lazy umount.

Signed-off-by: Daniel Lezcano 

commit 1560f6c9a7c822fd625914eefa0b985f67d76a0a
Author: Daniel Lezcano 
Date:   Wed Feb 24 10:57:43 2010 +0100

fix no rootfs no console

When there is no rootfs, don't create a console.

Signed-off-by: Daniel Lezcano 

commit e0dc0de76ed1ad9e284a37bd01268227d4eae8c9
Author: Daniel Lezcano 
Date:   Wed Feb 24 10:57:43 2010 +0100

set terminal settings when console is a tty

As the console output can be a tty, we want to have the terminal to
be set as a specific manner to not echo and receive signals from the
keyboard.

Signed-off-by: Daniel Lezcano 

commit 63376d7db32acf2f8582627e5ff01d8d3f0d46d1
Author: Daniel Lezcano 
Date:   Wed Feb 24 10:57:43 2010 +0100

allocate a console to be proxied

The actual behaviour of the console is messy as:
 * it relies on a heuristic (tty or not, rootfs or not, etc ...)
 * the container init stole the tty and we lose the control

The following patch:
 * allocates a tty
 * maps this tty to the container console
 * proxy the io from the console to the file specified in the configuration
 lxc.console=

That allows to specify a file, a fifo, a $(tty), and can be extended with an
uri like file://mypath, net://1.2.3.4:1234, etc ...
That solves the problem with the heuristic and the container does no longer 
stole
our current tty.

Note by default, the console output will go to a blackhole if no 
configuration is
specified making the container showing nothing.

In order to access the console from the tty, use

 lxc-start -n foo -s lxc.console=$(tty)

I propose the make the container to daemonize by default now.

I tried the following:

 in a shell:
  touch /var/lib/lxc/foo/console
  tail --retry -f /var/lib/lxc/foo/console
 in another shell:
  lxc-start -n foo -s lxc.console=/var/lib/lxc/foo/console

Signed-off-by: Daniel Lezcano 

commit 246541036cf5434749d91a566b70b7ddcdb294bd
Author: Daniel Lezcano 
Date:   Wed Feb 24 10:57:43 2010 +0100

rename network type enum

Use a prefixed enum to avoid conflict later.

Signed-off-by: Daniel Lezcano 

commit 872e18998b723779e1e1b36130bc28e438bd9d1e
Author: Daniel Lezcano 
Date:   Wed Feb 24 10:57:43 2010 +0100

Fix header inclusion

No need to include the lxc_conf structure definition, a forward
declaration is enough.

Signed-off-by: Daniel Lezcano 

commit 7ee5bb5583abe0821780c2056c0dfff3444a4fdc
Author: Daniel Lezcano 
Date:   Wed Feb 24 10:57:42 2010 +0100

use a mainloop for the console

Use the mainloop to manage io of the console.

Signed-off-by: Daniel Lezcano 

commit 6dae68151518a26f87169cf0d3bb2fd39624b75c
Author: Daniel Lezcano 
Date:   Wed Feb 24 10:57:42 2010 +0100

factor-out-console code

Factor out the console code and encapsulate the code in
functions.

Signed-off-by: Daniel Lezcano 

commit 236087a6c8791f1ade2f80e8ed89712eee161d3f
Author: Daniel Lezcano 
Date:   Wed Feb 24 10:57:42 2010 +0100

fix empty network namespace

When there is an empty network namespace, we must not move the
network device.

Signed-off-by: Daniel Lezcano 

commit 90b59fd059e0c08a5ad3c598fdf6e8758ab10582
Author: Daniel Lezcano 
Date:   Wed Feb 24 10:57:42 2010 +0100

fix compilation warning

Add missing include

Signed-off-by: Daniel Lezcano 

commit ef184f8c54534c38a

[lxc-devel] [ lxc-Bugs-2958037 ] lxc-cgroup fails to output large files

2010-02-24 Thread SourceForge.net
Bugs item #2958037, was opened at 2010-02-24 16:49
Message generated for change (Tracker Item Submitted) made by legoater
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=826303&aid=2958037&group_id=163076

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: lxc cli
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Cedric Le Goater (legoater)
Assigned to: Nobody/Anonymous (nobody)
Summary: lxc-cgroup fails to output large files

Initial Comment:
lxc-cgroup uses a 4096 bytes buffer to which is too small to output large files.


--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=826303&aid=2958037&group_id=163076

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Lxc-devel mailing list
Lxc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-devel


[lxc-devel] [GIT] lxc branch, master, updated. 6a3111b87e838561db952255a3770a1e85eb361b

2010-02-24 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  6a3111b87e838561db952255a3770a1e85eb361b (commit)
   via  b4f8660eb27d0a93fa23e13795e53d34c5fd8538 (commit)
  from  c08556c6ece8ad8308f7636adb0ad25b60e3a16d (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 6a3111b87e838561db952255a3770a1e85eb361b
Author: Daniel Lezcano 
Date:   Wed Feb 24 16:24:55 2010 +0100

add missing cgroup include

Fix the warning:

start.c: In function ‘lxc_fini’:
start.c:250: warning: implicit declaration of function 
‘lxc_unlink_nsgroup’
start.c: In function ‘lxc_spawn’:
start.c:380: warning: implicit declaration of function 
‘lxc_rename_nsgroup’

Signed-off-by: Daniel Lezcano 

commit b4f8660eb27d0a93fa23e13795e53d34c5fd8538
Author: Silas Sewell 
Date:   Wed Feb 24 16:24:55 2010 +0100

Add missing stat.h include to start.c

The patch fixes a build error on the devel version of Fedora.

Signed-off-by: Silas Sewell 
Signed-off-by: Daniel Lezcano 

---

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


hooks/post-receive
-- 
lxc

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
Lxc-devel mailing list
Lxc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-devel


[lxc-devel] [ lxc-Bugs-2958234 ] network devices are not deleted on error

2010-02-24 Thread SourceForge.net
Bugs item #2958234, was opened at 2010-02-24 22:55
Message generated for change (Tracker Item Submitted) made by dlezcano
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=826303&aid=2958234&group_id=163076

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: liblxc
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Daniel Lezcano (dlezcano)
Assigned to: Daniel Lezcano (dlezcano)
Summary: network devices are not deleted on error

Initial Comment:
If an error occurs when starting the container, after creating the interfaces 
but before assigning them to the container, the error code path does not take 
care to delete these interfaces and they stay in the system.

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=826303&aid=2958234&group_id=163076

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Lxc-devel mailing list
Lxc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-devel