Displaying 20 results from an estimated 6000 matches similar to: "User Namespace in LXC"
2013 Nov 11
0
Re: User Namespace in LXC
On 11/11/2013 05:15 PM, Saurabh Deochake wrote:
> Hi all,
>
> I'm trying to restrict privileges of root user inside the container. I searched about it and got to know about "idmap" element in domain XML.
>
> I added "idmap" element in my container's XML file:
>
> <idmap>
> <uid start='0' target='1000'
2013 Nov 13
2
Re: User Namespace in LXC
Hi Gao,
I checked the output of "lxc-checkconfig" command and it showed
--- Namespaces ---
Namespaces: enabled
Utsname namespace: enabled
Ipc namespace: enabled
Pid namespace: enabled
*User namespace: missing*
Network namespace: enabled
Multiple /dev/pts instances: enabled
Here it shows that User namespace support is missing. I tried to check for
Namespaces Support in kernel
2013 Nov 11
2
Re: User Namespace in LXC
Hi Gao,
I appreciate your quick reply.
>you can try create a file in container, and on host, the owner of this
file is uid=1000.
>and on the other side, if a file's owner is uid 1000 on host. in this
container, you will
>see the owner of this file is uid 0.
I tried creating a file inside the container with root user. When I checked
uid of the file on the host,
it still gives me uid
2013 Mar 19
2
Errors while using blkiotune command
Hi all,
I want to limit the I/O bandwidth inside the container, so I used virsh
command blkiotune. But when I enter a command:
virsh # blkiotune lxcguest --weight 250
I get following errors:
error: Unable to change blkio parameters
error: Requested operation is not valid: blkio cgroup isn't mounted
I also have blkio cgroup mounted. What can be the problem?
Thanks in advance.
Regards,
2013 Jul 19
2
pinVcpu not working
Hi all,
I am working with libvirt and I am trying to set cpu affinity. Now I can always use
virsh vcpupin <domain_name> <vcpu> <pcpu>
to pin vcpus to pcpus. I want to do it using Python API. Now, there is function pinVcpu which is supposed to do that. But this is not working. For example I gave
dom.pinVcpu(0,1)
but still my vcpu affinity is for all the pcpus. The
2013 Nov 13
0
Re: User Namespace in LXC
Hi Saurabh,
First of all. I think there are something wrong in you container configure file
the <idmap> should under <domain>.
such as
<domain type='lxc'>
<name>xxx</name>
<memory unit='KiB'>102400</memory>
<currentMemory unit='KiB'>102400</currentMemory>
<vcpu placement='static'>1</vcpu>
2013 Mar 12
1
Check memory inside a container
Hi all,
I'm new to LXC and libvirt. I have created a LXC container using libvirt.
In domain XML file I have mentioned "memory" and "current memory" as 256
MB.
Now I want to check the memory inside the container, but whenever I run top
command or try to cat /proc/meminfo, it shows host machine's memory which
is 3GB.
So is there any command by which I can check
2013 Aug 26
0
Re: The error for creating a new vm for kvm
> Thanks, but I checked it and It shows I have already installed qemu-kvm.
Please check if kvm and kvm_intel ( for systems with 'vmx' flag) / kvm_amd
(systems with 'svm' flag) are loaded in the system.
On Mon, Aug 26, 2013 at 9:40 AM, Qian Feng <qianfeng04161001@gmail.com>wrote:
> Thanks, but I checked it and It shows I have already installed qemu-kvm.
>
>
2013 Nov 12
0
Re: User Namespace in LXC
On 11/11/2013 05:52 PM, Saurabh Deochake wrote:
> Hi Gao,
>
> I appreciate your quick reply.
>
>>you can try create a file in container, and on host, the owner of this file is uid=1000.
>>and on the other side, if a file's owner is uid 1000 on host. in this container, you will
>>see the owner of this file is uid 0.
>
> I tried creating a file inside the
2013 Aug 25
4
The error for creating a new vm for kvm
I checked the capabilities. I do not know why the guest is only for vbox.
<guest>
<os_type>hvm</os_type>
<arch name='i686'>
<wordsize>32</wordsize>
<domain type='vbox'>
</domain>
</arch>
</guest>
I want it run qemu-kvm. and when i run virsh define
/etc/libvirt/qemu/demo.xml. It shows error:
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
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:
> > >
2013 Jul 27
0
Re: pinVcpu not working
Hi Peeyush,
If we want to pin vcpu1 of a domain to CPUs 3 and 4, we need to pass:
dom.pinVcpu(1, (False, False, False, True, True, False....[and so on, til
number of logical CPUs of host]))
Can you please check this?
Regards,
Saurabh Deochake
[NTT DATA]
On Fri, Jul 19, 2013 at 11:45 AM, Peeyush Gupta <gpeeyush@ymail.com> wrote:
> Hi all,
>
> I am working with libvirt and I
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 May 12
1
Check Swap Usage on Guest VM from Host
I was wondering if swap usage of Guest VM can be checked from Host machine
via command line.Is it possible?
--
Nehal J. Wani
UG2, BTech CS+MS(CL)
IIIT-Hyderabad
http://commanlinewani.blogspot.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20130512/bee20a7e/attachment.htm>
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
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,
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,
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
2017 Mar 08
2
Vector trunc code generation difference between llvm-3.9 and 4.0
The regression for the reported case should be avoided after:
https://reviews.llvm.org/rL297232
https://reviews.llvm.org/rL297242
https://reviews.llvm.org/rL297280
It would still be good to understand if the clang change was intentional or
if that was a side effect that can be limited.
On Sat, Feb 18, 2017 at 9:11 AM, Sanjay Patel <spatel at rotateright.com>
wrote:
> Yes, there is an