[lxc-devel] [GIT] lxc branch, master, updated. e239ff31a5c442ac1d006e836bc622371842dfa0
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 e239ff31a5c442ac1d006e836bc622371842dfa0 (commit) via 96bcd56ae258e8e591c94081957a63249d3be48e (commit) via 6168e99d5e04aaff9981803d0c04cc682b6a (commit) via 7ef6e4407307b3712218e68d71090e60a2fb0815 (commit) via 47ed344ad13f5c5cc8e4f801085d93991552c931 (commit) via c70293445742baf4f6a17ef8ab3f523640d6969c (commit) via dc456e995fafae7267e993cb06e54913b76d0a13 (commit) via 5da9e545b50ab173bb558879e65fc734f62e7ac2 (commit) from fb6d9b2f40efabe612b5eea4843cbddf5ce170cc (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 e239ff31a5c442ac1d006e836bc622371842dfa0 Author: Daniel Lezcano Date: Fri Jul 23 15:10:38 2010 +0200 Fix bad returned value In case of error the message will be always truncated. We check the message was truncated with the total size received which means the kernel as more info to give. Signed-off-by: Daniel Lezcano commit 96bcd56ae258e8e591c94081957a63249d3be48e Author: Daniel Lezcano Date: Fri Jul 23 15:10:38 2010 +0200 Dont' try to remove a physical nic on error Signed-off-by: Daniel Lezcano commit 6168e99d5e04aaff9981803d0c04cc682b6a Author: Daniel Lezcano Date: Fri Jul 23 15:10:38 2010 +0200 fix core dump when using physical interface If the physical link is not specified in the configuration the check in if_nametoindex(netdev->link) leads to a segfault. Check the link is specified. Signed-off-by: Daniel Lezcano Reported-by: Ferenc Wagner commit 7ef6e4407307b3712218e68d71090e60a2fb0815 Author: Daniel Lezcano Date: Fri Jul 23 15:10:38 2010 +0200 set rights to lxc-init Signed-off-by: Daniel Lezcano commit 47ed344ad13f5c5cc8e4f801085d93991552c931 Author: Daniel Lezcano Date: Fri Jul 23 15:10:38 2010 +0200 fix compilation warning Add missing include Signed-off-by: Daniel Lezcano commit c70293445742baf4f6a17ef8ab3f523640d6969c Author: Daniel Lezcano Date: Fri Jul 23 15:10:38 2010 +0200 initialize the capabilties for attach and unshare Signed-off-by: Daniel Lezcano commit dc456e995fafae7267e993cb06e54913b76d0a13 Author: Daniel Lezcano Date: Fri Jul 23 15:10:38 2010 +0200 fix setuid to attach, create and start Fix the setuid bit root script. Signed-off-by: Daniel Lezcano commit 5da9e545b50ab173bb558879e65fc734f62e7ac2 Author: Daniel Lezcano Date: Fri Jul 23 15:10:38 2010 +0200 fix lxc.spec file Signed-off-by: Daniel Lezcano --- Summary of changes: lxc.spec.in | 16 +++- src/lxc/conf.c|7 ++- src/lxc/lxc-setcap.in |1 + src/lxc/lxc-setuid.in |7 +++ src/lxc/lxc_attach.c |5 + src/lxc/lxc_unshare.c | 13 + src/lxc/nl.c |8 7 files changed, 47 insertions(+), 10 deletions(-) hooks/post-receive -- lxc -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel
[lxc-devel] [GIT] lxc branch, master, updated. 9de28746a5edd2b9ba6fbd79956891ed4692e5d5
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 9de28746a5edd2b9ba6fbd79956891ed4692e5d5 (commit) from e239ff31a5c442ac1d006e836bc622371842dfa0 (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 9de28746a5edd2b9ba6fbd79956891ed4692e5d5 Author: Michel Normand Date: Fri Jul 23 17:17:14 2010 +0200 avoid compile warning in src/lxc/console.c src/lxc/console.c:143: warning : return type defaults to âintâ Signed-off-by: Michel Normand Signed-off-by: Daniel Lezcano --- Summary of changes: src/lxc/console.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) hooks/post-receive -- lxc -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first___ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel
Re: [lxc-devel] segfault with insufficient network config
On 07/22/2010 10:08 PM, Ferenc Wagner wrote: > Daniel Lezcano writes: > > >> On 07/22/2010 09:44 PM, Ferenc Wagner wrote: >> >> >>> # lxc-execute --name net -s lxc.network.type=phys -s lxc.network.link=eth0 >>> bash >>> lxc-execute: failed to move 'eth0' to the container : Message too long >>> >>> It might as well have some sense, but I definitely don't get it this >>> late. :) I give up now. >>> >> I think the error is wrong, perhaps the kernel is returning a wrong >> value or there is a bad error catch in lxc. But I think the problem >> may come from the kernel version< 2.6.35 because it does not support >> physical interface moving across namespace. Is it a kernel< 2.6.35 ? >> > Yes, it's 2.6.32. In my opinion a more sensible error message would be > nice, even if this is what the kernel reports. > Fixed that was a bad error catch. It returns EINVAL now. I would have be happy to show a nicer message but the error is too deep in the code in a generic netlink layer. Fixed the core dump too. Thanks Ferenc for reporting this -- Daniel -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel