search for: gaofeng

Displaying 20 results from an estimated 66 matches for "gaofeng".

2013 Nov 14
2
Re: Problem about lxc-enter-namespace interface
On 11/14/2013 03:09 PM, hzguanqiang@corp.netease.com wrote: > On 2013-11-14 15:03 , Gao feng <mailto:gaofeng@cn.fujitsu.com> wrote: > > On 11/14/2013 02:57 PM, hzguanqiang@corp.netease.com wrote: > > On 2013-11-14 14:17 , Gao feng <mailto:gaofeng@cn.fujitsu.com> wrote: > > > > On 11/14/2013 01:52 PM, hzguanqiang@corp.netease.com wrote: > >...
2013 Nov 14
2
Re: Problem about lxc-enter-namespace interface
On 11/14/2013 02:57 PM, hzguanqiang@corp.netease.com wrote: > On 2013-11-14 14:17 , Gao feng <mailto:gaofeng@cn.fujitsu.com> wrote: > > On 11/14/2013 01:52 PM, hzguanqiang@corp.netease.com wrote: > > On 2013-11-14 13:41 , Gao feng <mailto:gaofeng@cn.fujitsu.com> wrote: > > > > On 11/14/2013 01:24 PM, Gao feng wrote: > > > On 11/14/2013...
2013 Dec 09
2
Re: Question about setns recognising in libvirt autoconf
...> ffffffff8105b78b T SyS_setns > ffffffff8105b78b T sys_setns > root@debian:~/github/libvirt# ./configure | grep setns > checking for setns... no > > What the problem really is ? How can I fix this problem? What's the result of grep -R "setns" /usr/include/* Hi Gaofeng, The result you want is as following: root@debian:~/github/libvirt# grep -R "setns" /usr/include/* /usr/include/asm-generic/unistd.h:#define __NR_setns 268 /usr/include/asm-generic/unistd.h:__SYSCALL(__NR_setns, sys_setns) /usr/include/x86_64-linux-gnu/bits/syscall.h:#define SYS_setns __...
2013 Nov 14
0
Re: Problem about lxc-enter-namespace interface
On 2013-11-14 16:40 , Gao feng wrote: On 11/14/2013 03:09 PM, hzguanqiang@corp.netease.com wrote: > On 2013-11-14 15:03 , Gao feng <mailto:gaofeng@cn.fujitsu.com> wrote: > > On 11/14/2013 02:57 PM, hzguanqiang@corp.netease.com wrote: > > On 2013-11-14 14:17 , Gao feng <mailto:gaofeng@cn.fujitsu.com> wrote: > > > > On 11/14/2013 01:52 PM, hzguanqiang@corp.netease.com wrote: > >...
2013 Nov 14
2
Re: Problem about lxc-enter-namespace interface
On 11/14/2013 01:52 PM, hzguanqiang@corp.netease.com wrote: > On 2013-11-14 13:41 , Gao feng <mailto:gaofeng@cn.fujitsu.com> wrote: > > On 11/14/2013 01:24 PM, Gao feng wrote: > > On 11/14/2013 10:59 AM, hzguanqiang@corp.netease.com wrote: > >> Hi experts, > >> > >> When I test lxc-enter-namespace interface, it turned out such an error: >...
2013 Aug 26
1
Re: 回复: How to deal with LXC cgroup access control withapparmor ?
...user namespace later. I am not working on x86 and not suer wheather the usernamespace is ok in the kernel I am going to use. I would try to disable the cgroup in lxc first. THX to Gao feng . ------------------ 止语 ------------------ Original ------------------ From: "Gao feng"<gaofeng@cn.fujitsu.com>; Date: Mon, Aug 26, 2013 05:07 PM To: "jj"<jj@yuzao.org>; Cc: "libvirt-users"<libvirt-users@redhat.com>; Subject: Re: [libvirt-users]回复: How to deal with LXC cgroup access control withapparmor ? On 08/26/2013 04:36 PM, jj wrote: > thx,...
2013 Nov 14
0
Re: Problem about lxc-enter-namespace interface
On 2013-11-14 15:03 , Gao feng wrote: On 11/14/2013 02:57 PM, hzguanqiang@corp.netease.com wrote: > On 2013-11-14 14:17 , Gao feng <mailto:gaofeng@cn.fujitsu.com> wrote: > > On 11/14/2013 01:52 PM, hzguanqiang@corp.netease.com wrote: > > On 2013-11-14 13:41 , Gao feng <mailto:gaofeng@cn.fujitsu.com> wrote: > > > > On 11/14/2013 01:24 PM, Gao feng wrote: > > > On 11/14/2013...
2013 Nov 14
2
Re: Problem about lxc-enter-namespace interface
On 11/14/2013 01:24 PM, Gao feng wrote: > On 11/14/2013 10:59 AM, hzguanqiang@corp.netease.com wrote: >> Hi experts, >> >> When I test lxc-enter-namespace interface, it turned out such an error: >> >> hzguanqiang@debian:~$ <mailto:hzguanqiang@debian:~$> vir version >> Compiled against library: libvirt 1.1.4 >> Using library: libvirt 1.1.4
2013 Dec 09
0
Re: Question about setns recognising in libvirt autoconf
Hi Gaofeng, It seems that I've got the answer. In manual page about setns, it said that library support was added to glibc in version 2.14 while my libc version is 2.13. Thanks for help anyway. On 2013-12-09 13:22 , hzguanqiang@corp.netease.com wrote: On 2013-12-09 13:18 , Gao feng wrote: On 12/09/2013...
2013 Nov 14
0
Re: Problem about lxc-enter-namespace interface
On 2013-11-14 14:17 , Gao feng wrote: On 11/14/2013 01:52 PM, hzguanqiang@corp.netease.com wrote: > On 2013-11-14 13:41 , Gao feng <mailto:gaofeng@cn.fujitsu.com> wrote: > > On 11/14/2013 01:24 PM, Gao feng wrote: > > On 11/14/2013 10:59 AM, hzguanqiang@corp.netease.com wrote: > >> Hi experts, > >> > >> When I test lxc-enter-namespace interface, it turned out such an error: >...
2013 Aug 26
2
回复: How to deal with LXC cgroup access control withapparmor ?
thx, Gao feng, If I do not want to disable the cgroup in container , is there any config file ? or do i have to do something to the libvirt source code to skip it ? ------------------ 原始邮件 ------------------ 发件人: "Gao feng"<gaofeng@cn.fujitsu.com>; 发送时间: 2013年8月26日(星期一) 下午4:06 收件人: "止语"<zhongjj@foxmail.com>; 抄送: "libvirt-users"<libvirt-users@redhat.com>; 主题: Re: [libvirt-users] How to deal with LXC cgroup access control withapparmor ? On 08/26/2013 03:42 PM, 止语 wrote: > I am playing...
2013 Jul 09
2
[PATCH 2/2] LXC: hostdev: parent directroy for hostdev atomically
Create parent directroy for hostdev atomically when we start a lxc domain or attach a hostdev to a lxc domain. Signed-off-by: Gao feng <gaofeng@cn.fujitsu.com> --- src/lxc/lxc_container.c | 42 ++++++++++++++++++++++++++++-------------- src/lxc/lxc_driver.c | 14 ++++++++++++++ 2 files changed, 42 insertions(+), 14 deletions(-) diff --git a/src/lxc/lxc_container.c b/src/lxc/lxc_container.c index b954107..a204789 100644 --- a/src/lx...
2013 Jul 08
4
Re: Permission problem with /dev/net/tun
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Daniel, On 07/08/2013 11:41 AM, Daniel P. Berrange wrote: >> the symptom my libvirt LXC container suffers from is: >> root@depot:/dev/net# ls -la total 0 drwxr-xr-x 2 root root 40 >> Jun 29 16:26 . drwxr-xr-x 5 root root 480 Jun 29 16:26 .. >> root@depot:/dev/net# mknod tun c 10 200 mknod: `tun': Operation >>
2013 Sep 09
2
Re: Problems with user namespaces
...unix_sock_group = "libvirtd" unix_sock_rw_perms = "0770" auth_unix_ro = "none" auth_unix_rw = "none" Can you please tell me easy to setup distro with systemd that user namespaces work, so i can compare. Thanks! On Mon, Sep 9, 2013 at 3:08 AM, Gao feng <gaofeng@cn.fujitsu.com> wrote: > On 09/06/2013 07:32 PM, Jaka Hudoklin wrote: > > Hello! > > > > Okay i tried again with only staticly linked busybox: > > offlinehacker:~/ $ /home/offlinehacker/busybox/busybox > > BusyBox v1.17.1 (Debian 1:1.17.1-8) multi-call binary. &...
2013 Sep 11
2
Re: libvirt-1.2.2-r1 (Gentoo) fails to start LXC containers
On 09/11/2013 04:44 PM, Daniel P. Berrange wrote: > On Tue, Sep 10, 2013 at 09:09:44AM -0500, Dennis Jenkins wrote: >> I recently upgraded "libvirt" on Gentoo to 1.2.2-r1 (latest available). I >> have not used LXC containers for a few weeks, so I don't recall what >> version of libvirt I was using when my container last booted successfully. >> >>
2013 Sep 06
3
Re: Problems with user namespaces
...roc └── [offlineh users ] sys I have debugging enabled, at least LIBVIRT_DEBUG is set to 1 and i get much more messages. If there's any my granular debug please let me know. PS: I forgot to mention my version of libvirt is 1.1.2 Thanks, Jaka! On Fri, Sep 6, 2013 at 3:41 AM, Gao feng <gaofeng@cn.fujitsu.com> wrote: > On 09/06/2013 03:15 AM, Jaka Hudoklin wrote: > > Hello! > > > > I'm testing user namespaces and I have quite some problem getting them > to work. > > > > First of all, I have user namespaces support enabled in kernel: > > &g...
2013 Jul 09
0
[PATCH 1/2] LXC: hostdev: introduce lxcContainerSetupHostdevCapsMakePath
This helper function is used to create parent directroy for the hostdev which will be added to the container. if the parent directory of this hostdev doesn't exist, the mknod of the hostdev will fail. Signed-off-by: Gao feng <gaofeng@cn.fujitsu.com> --- src/lxc/lxc_container.c | 17 +++++++++++++++++ src/lxc/lxc_container.h | 2 ++ 2 files changed, 19 insertions(+) diff --git a/src/lxc/lxc_container.c b/src/lxc/lxc_container.c index c8420db..b954107 100644 --- a/src/lxc/lxc_container.c +++ b/src/lxc/lxc_container.c @@ -15...
2013 Jul 09
0
Re: [PATCH 2/2] LXC: hostdev: parent directroy for hostdev atomically
On Tue, Jul 09, 2013 at 11:20:36AM +0800, Gao feng wrote: > Create parent directroy for hostdev atomically when we > start a lxc domain or attach a hostdev to a lxc domain. > > Signed-off-by: Gao feng <gaofeng@cn.fujitsu.com> > --- > src/lxc/lxc_container.c | 42 ++++++++++++++++++++++++++++-------------- > src/lxc/lxc_driver.c | 14 ++++++++++++++ > 2 files changed, 42 insertions(+), 14 deletions(-) ACK Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dber...
2013 Nov 14
0
Re: Problem about lxc-enter-namespace interface
...t; hzguanqiang@debian:~$ <mailto:hzguanqiang@debian:~$> ls /proc/self/ns >> ipc mnt net pid user uts >> >> What's the problem? >> > > Does your system have system call setns? grep setns /proc/kallsyms and grep setns the config.log of libvirt. Hi, Gaofeng, thanks for your help. The info you want are: hzguanqiang@debian:~/github/libvirt$ sudo grep setns /var/log/libvirt/libvirtd.log hzguanqiang@debian:~/github/libvirt$ grep setns /proc/kallsyms ffffffff8105b993 T sys_setns What I found really strange is that the error info returned by the command....
2013 Dec 18
2
fuse in libivrt-lxc
Hi, I created an LXC domain via libvirt (on Fedora 20), but when I'm trying to mount a FUSE filesystem, like sshfs, I'm getting a following error: $ sshfs 172.30.15.2:/<mntdir> /<mntpoint> fuse: device not found, try 'modprobe fuse' first I see that there's no /dev/fuse device. Is there a way to make it work? Can I get it working via libvirt domain xml file