[lxc-devel] [GIT] lxc branch, master, updated. 74741dcc9e4a30a57cd30fdf938ae94d14a23734
Daniel Lezcano
git at users.sourceforge.net
Fri Jul 10 06:59:08 UTC 2009
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 74741dcc9e4a30a57cd30fdf938ae94d14a23734 (commit)
via 92fc52d3db7df485bae1d62a6a6c9af5bf2d07cf (commit)
via 3e3bf8aee6df8247e80953ae8d9eb603dc8ba5f3 (commit)
via cb0395643b86e56ecd2a22974b826f08bd33d229 (commit)
via 50e98013d518a3b6c57d0288887590af96689998 (commit)
via 5bb3ba8acd29d11c92845b06a1f0852b642f02c7 (commit)
from b3cb3272900526b25004173fceb127203563a2e0 (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 74741dcc9e4a30a57cd30fdf938ae94d14a23734
Author: Daniel Lezcano <daniel.lezcano at free.fr>
Date: Fri Jul 10 08:58:27 2009 +0200
create the lxc directory with lxc-setcap
There are several cases:
* we run the lxc-create as root, the @path@/var/lib/lxc will be created
* we run the lxc-create as non-root, the creation of the directory will
fail with "permission denied", so we should call lxc-setcap before
* we run lxc-setcap (always as root), we create the directory and set
the permission for everyone.
Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>
commit 92fc52d3db7df485bae1d62a6a6c9af5bf2d07cf
Author: Daniel Lezcano <daniel.lezcano at free.fr>
Date: Fri Jul 10 08:58:27 2009 +0200
don't create the lxc directory at rpm installation
Don't create the directory when we install the lxc package.
This is handled by lxc-create.
Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>
commit 3e3bf8aee6df8247e80953ae8d9eb603dc8ba5f3
Author: Ryousei Takano <takano-ryousei at aist.go.jp>
Date: Fri Jul 10 08:58:27 2009 +0200
Remove install-exec-local rule
Hi Daniel and all,
I am trying to run LXC on the CentOS 5.3 and the Linux kernel 2.6.30.
I found a problem with running the rpmbuild command. The error message
is shown below:
$ rpmbuild -bb lxc.spec
<snip>
/usr/bin/install -c 'lxc-setcap' '/var/tmp/lxc-0.6.2-build/usr/bin/lxc-setcap'
/usr/bin/install -c 'lxc-version' '/var/tmp/lxc-0.6.2-build/usr/bin/lxc-version'
mkdir: cannot create directory `/var/lib/lxc': Permission denied
make[3]: *** [install-exec-local] Error 1
make[3]: Leaving directory `/home/ryousei/rpm/BUILD/lxc-0.6.2/src/lxc'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/home/ryousei/rpm/BUILD/lxc-0.6.2/src/lxc'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/ryousei/rpm/BUILD/lxc-0.6.2/src'
make: *** [install-recursive] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.26914 (%install)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.26914 (%install)
This patch removes 'install-exec-local' rule in Makefile. It is not necessary,
and it causes rpmbuild failure on the CentOS 5.3.
Signed-off-by: Ryousei Takano <takano-ryousei at aist.go.jp>
Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>
commit cb0395643b86e56ecd2a22974b826f08bd33d229
Author: Daniel Lezcano <daniel.lezcano at free.fr>
Date: Tue Jul 7 22:53:05 2009 +0200
remove fork_ns code
This code is no longer used, remove it.
Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>
commit 50e98013d518a3b6c57d0288887590af96689998
Author: Daniel Lezcano <daniel.lezcano at free.fr>
Date: Tue Jul 7 22:51:18 2009 +0200
replace fork_ns by lxc_clone
Make use of the lxc_clone function and do no longer
use the fork_ns function.
The lxc-unshare utility has been changed to always do a fork.
Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>
commit 5bb3ba8acd29d11c92845b06a1f0852b642f02c7
Author: Daniel Lezcano <daniel.lezcano at free.fr>
Date: Tue Jul 7 22:51:18 2009 +0200
use glibc clone instead of clone syscall
This patch replaces the clone syscall by the glibc clone making
the code not tied with the syscalls number declaration.
The unshare syscall has been removed as it is not interesting.
Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>
-----------------------------------------------------------------------
Summary of changes:
lxc.spec.in | 2 -
src/lxc/Makefile.am | 5 +-
src/lxc/lxc-setcap.in | 4 +-
src/lxc/lxc_unshare.c | 103 ++++++++++++++------------------
src/lxc/{restart.c => namespace.c} | 54 ++++++++++-------
src/lxc/namespace.h | 33 ++--------
src/lxc/start.c | 116 +++++++++++++++++++++---------------
7 files changed, 156 insertions(+), 161 deletions(-)
copy src/lxc/{restart.c => namespace.c} (58%)
hooks/post-receive
--
lxc
More information about the lxc-devel
mailing list