Package: dracut
Version: 020-2
Severity: normal
Tags: upstream

Hi there,

In wheezy, dracut will not add virtio_* modules to the initramfs if the 
systemd-detect-virt
command is not found.  In later versions of dracut the following code has been 
added to 
/usr/lib/dracut/modules.d/90qemu/module-setup.sh to alleviate the issue:

    for i in /sys/class/dmi/id/*_vendor; do
        [[ -f $i ]] || continue
        read vendor < $i
        [[  "$vendor" == "QEMU" ]] && return 0
        [[  "$vendor" == "Bochs" ]] && return 0
    done

Can this be patched into wheezy please?  As it stands dracut does not build 
compatible
initrds for virtual machines under qemu.

Thanks!

-- System Information:
Debian Release: 7.6
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.14-0.bpo.1-amd64 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages dracut depends on:
ii  cpio               2.11+dfsg-0.1
ii  kbd                1.15.3-9
ii  kpartx             0.4.9+git0.4dfdaf2b-7~deb7u2
ii  module-init-tools  9-3
ii  udev               204-14~bpo70+1
ii  util-linux         2.20.1-5.3

Versions of packages dracut recommends:
ii  cryptsetup  2:1.4.3-4
ii  dmraid      1.0.0.rc16-4.2
ii  dmsetup     2:1.02.74-8
ii  lvm2        2.02.95-8
ii  mdadm       3.2.5-5

Versions of packages dracut suggests:
pn  dracut-network  <none>

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to