Displaying 7 results from an estimated 7 matches for "virsecuritymanagerptr".
2016 Jan 15
1
Re: [libvirt] Quantifying libvirt errors in launching the libguestfs appliance
...he problems. Can it
be applied to libvirt?
Rich.
> diff --git i/src/security/security_dac.c w/src/security/security_dac.c
> index 80709fe..378b922 100644
> --- i/src/security/security_dac.c
> +++ w/src/security/security_dac.c
> @@ -1128,14 +1128,6 @@ virSecurityDACRestoreAllLabel(virSecurityManagerPtr mgr,
> virSecurityDACRestoreFileLabel(priv, def->os.loader->nvram) < 0)
> rc = -1;
>
> - if (def->os.kernel &&
> - virSecurityDACRestoreFileLabel(priv, def->os.kernel) < 0)
> - rc = -1;
> -
> - if (def->os....
2013 Jul 15
1
Re: libvrtd-1.1.0 crashes when attempting to start some (but not all) LXC containers
...1
#1 0x00007ffff76e2ae2 in virSecurityManagerGenLabel (mgr=0x7fffe40bef20,
vm=0x7fffd00097a0)
at security/security_manager.c:442
442 if (STREQ(vm->seclabels[i]->model,
sec_managers[j]->drv->name))
(gdb) print vm->nseclabels
$1 = 1
(gdb) print sec_managers
$2 = (virSecurityManagerPtr *) 0x7fffd8003e60
(gdb) print sec_managers[0]
$3 = (virSecurityManagerPtr) 0x7fffe40bef20
(gdb) print vm->seclabels[i]->model
$4 = 0x0
(gdb) print sec_managers[j]->drv->name
$5 = 0x7ffff77729c0 "none"
2016 Jan 14
2
Re: [libvirt] Quantifying libvirt errors in launching the libguestfs appliance
On 01/14/2016 05:12 AM, Daniel P. Berrange wrote:
> On Thu, Jan 14, 2016 at 10:51:47AM +0100, Jiri Denemark wrote:
>> On Wed, Jan 13, 2016 at 16:25:14 +0100, Martin Kletzander wrote:
>>> On Wed, Jan 13, 2016 at 10:18:42AM +0000, Richard W.M. Jones wrote:
>>>> As people may know, we frequently encounter errors caused by libvirt
>>>> when running the
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 09
0
[PATCH 1/2] LXC: hostdev: introduce lxcContainerSetupHostdevCapsMakePath
...= -1;
+
+ *dir = '/';
+ }
+
+ return ret;
+}
+
+
static int lxcContainerSetupHostdevCapsStorage(virDomainDefPtr vmDef ATTRIBUTE_UNUSED,
virDomainHostdevDefPtr def ATTRIBUTE_UNUSED,
virSecurityManagerPtr securityDriver ATTRIBUTE_UNUSED)
diff --git a/src/lxc/lxc_container.h b/src/lxc/lxc_container.h
index ada72f7..f168703 100644
--- a/src/lxc/lxc_container.h
+++ b/src/lxc/lxc_container.h
@@ -63,6 +63,8 @@ int lxcContainerStart(virDomainDefPtr def,
int lxcContainerAvailable(int features);
+int l...
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
>>
2011 Apr 04
0
Release of libvirt-0.9.0
...(Daniel Veillard)
- Add logrotate support for libvirtd.log (Daniel Veillard)
- Change default log policy to libvirtd.log instead of syslog (Daniel Veillard)
- Force all logs to go to the round robbin memory buffer (Daniel Veillard)
- AUTHORS: adjust to preferred spelling (KAMEZAWA Hiroyuki)
- Pass virSecurityManagerPtr to virSecurityDAC{Set, Restore}ChardevCallback (Soren Hansen)
- maint: update to latest gnulib (Eric Blake)
- Attempt to improve an error message (Daniel P. Berrange)
- add additional event debug points (Daniel P. Berrange)
- qemu: only request sound cgroup ACL when required (Eric Blake)
- Add supp...