[Pkg-libvirt-maintainers] Bug#618036: Bug#618036: libvirt0: missing dependency: dmidecode

Guido Günther agx at sigxcpu.org
Sun Mar 13 17:15:52 UTC 2011


tags 618036 -patch
thanks

On Sun, Mar 13, 2011 at 05:50:19PM +0100, William Dauchy wrote:
> Package: libvirt0
> Version: 0.8.8-2
> Severity: normal
> Tags: patch
> 
> libvirt is using dmidecode in ./src/util/sysinfo.c
> It causes some segfaults in some cases if not installed.
> Please see my attached patch to fix the missing dependency.

Thanks for the patch but it looks like this is only being used by the
daemon not by the library itself. Any reason why you added the
dependencies to the lib? How do you trigger the segfaults?
Cheers,
 -- Guido

> 
> -- 
> William

> >From 5c4e0f358cd76867982dca6bbc6a87da66d90ce4 Mon Sep 17 00:00:00 2001
> From: William Dauchy <wdauchy at gmail.com>
> Date: Sun, 13 Mar 2011 17:38:29 +0100
> Subject: [PATCH] adding dmidecode as a dependency
> 
> used by libvirt on ./src/util/sysinfo.c
> ---
>  debian/control |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/debian/control b/debian/control
> index d517e7f..ad3a6e5 100644
> --- a/debian/control
> +++ b/debian/control
> @@ -39,7 +39,7 @@ Description: the programs for the libvirt library
>  
>  Package: libvirt0
>  Architecture: any
> -Depends: ${shlibs:Depends}, ${misc:Depends}
> +Depends: ${shlibs:Depends}, ${misc:Depends}, dmidecode
>  Recommends: lvm2
>  Description: library for interfacing with different virtualization systems
>   Libvirt is a C toolkit to interact with the virtualization capabilities
> -- 
> 1.7.2.3
> 

> _______________________________________________
> Pkg-libvirt-maintainers mailing list
> Pkg-libvirt-maintainers at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/pkg-libvirt-maintainers






More information about the Pkg-libvirt-maintainers mailing list