[Pkg-libvirt-maintainers] Bug#704156: libvirt0 - lxc: Device passthrough does not create directory

Bastian Blank waldi at debian.org
Thu Mar 28 17:28:59 UTC 2013


Package: libvirt0
Version: 1.0.2-3
Severity: important

Device passthrough in the lxc backend of a device with an non-existant path
fails:
| error : lxcContainerSetupHostdevCapsMisc:1489 : Unable to create device /dev/dvb/adapter0/audio0: No such file or directory

The definition is:
| <hostdev mode='capabilities' type='misc'>
|   <source>
|     <char>/dev/dvb/adapter0/audio0</char>
|   </source>
| </hostdev>

It does not create the directory first and already mounts a tmpfs over
/dev.

Also the devices are always root:root 600.

Bastian

-- System Information:
Debian Release: 7.0
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.8-trunk-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash



More information about the Pkg-libvirt-maintainers mailing list