Displaying 5 results from an estimated 5 matches for "security_manag".
Did you mean:
security_manager
2013 Jul 15
0
Re: libvrtd-1.1.0 crashes when attempting to start some (but not all) LXC containers
..."virsh edit" allows it).
>
Interesting. If you are still able to reproduce the crash, can you try to get the line number within virSecurityManagerGenLabel where the crash happened? I think it's the STREQ line (440 linenr). Question is whether model or name is NULL.
src/security/security_manager.c-438- for (i = 0; i < vm->nseclabels; i++) {
src/security/security_manager.c-439- for (j = 0; sec_managers[j]; j++)
src/security/security_manager.c-440- if (STREQ(vm->seclabels[i]->model, sec_managers[j]->drv->name))
src/security/security_manager.c-441-...
2013 Jul 12
2
Re: libvrtd-1.1.0 crashes when attempting to start some (but not all) LXC containers
Update: I am able to edit the XML in "dwj-hfax-dev" such that libvirtd no
longer crashes, and edit the XML for "dwj-lnx-dev" such that it will crash.
The presents of "<seclabel type='none'/>" near the bottom causes libvirtd
to crash.
I do not recall ever manually adding that to my domain.
In any event, libvirtd should probably not crash due to the
2013 Jul 15
1
Re: libvrtd-1.1.0 crashes when attempting to start some (but not all) LXC containers
...>>
>>
TL;DR: "vm->seclabels[i]->model" is NULL.
(gdb) bt full
#0 0x00007ffff6fc5d76 in __strcmp_sse42 () from /lib64/libc.so.6
No symbol table info available.
#1 0x00007ffff76e2ae2 in virSecurityManagerGenLabel (mgr=0x7fffe40bef20,
vm=0x7fffd00097a0)
at security/security_manager.c:442
ret = -1
i = 0
j = 0
sec_managers = 0x7fffd8003e60
seclabel = 0x7ffff74c4911 <virAllocN+54>
generated = false
__FUNCTION__ = "virSecurityManagerGenLabel"
__func__ = "virSecurityManagerGenLabel"
(gdb...
2013 Jul 15
3
Re: libvrtd-1.1.0 crashes when attempting to start some (but not all) LXC containers
On Mon, Jul 15, 2013 at 3:18 AM, Michal Privoznik <mprivozn@redhat.com>wrote:
>
> Interesting. If you are still able to reproduce the crash, can you try to
> get the line number within virSecurityManagerGenLabel where the crash
> happened? I think it's the STREQ line (440 linenr). Question is whether
> model or name is NULL.
>
>
I'll try.
I'm not sure why
2013 Jul 15
0
Re: libvrtd-1.1.0 crashes when attempting to start some (but not all) LXC containers
...eful values for the optimized variables. I'll
post again in a few minutes.
(gdb) bt full
#0 0x00007fe4750c5d76 in __strcmp_sse42 () from /lib64/libc.so.6
No symbol table info available.
#1 0x00007fe47578ad31 in virSecurityManagerGenLabel (mgr=0x7fe4640acfa0,
vm=0x7fe4640c5e40) at security/security_manager.c:442
ret = -1
i = <optimized out>
j = <optimized out>
sec_managers = 0x7fe458001880
seclabel = <optimized out>
generated = false
__FUNCTION__ = "virSecurityManagerGenLabel"
__func__ = "virSecurityMan...