[Pkg-libvirt-maintainers] Bug#712175: libvirt-bin: usb hotplug doesn't work anymore
Alexander V. Kudrevatykh
kudrevatykh at gmail.com
Thu Jun 13 20:19:03 UTC 2013
Package: libvirt-bin
Version: 1.0.6-1~bpo70
Severity: normal
I compiled libvirt from sid to stable and it seems that attach-device does not
work anymore
$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 005: ID 0665:5161 Cypress Semiconductor USB to Serial
Bus 001 Device 008: ID 0924:42af Xerox
$ cat /etc/libvirt/hostdev-0924\:42af.xml
<hostdev mode='subsystem' type='usb'>
<source>
<vendor id='0x0924'/>
<product id='0x42af'/>
</source>
</hostdev>
$ virsh -c qemu:///system attach-device cups /etc/libvirt/hostdev-0924:42af.xml
error: Failed to attach device from /etc/libvirt/hostdev-0924:42af.xml
error: unable to set user and group to '129:104' on '/dev/bus/usb/000/000':
Нет такого файла или каталога
If I describe device in domain.xml it attachs and works, so problem only for
attaching device for running guest
-- System Information:
Debian Release: 7.1
APT prefers proposed-updates
APT policy: (500, 'proposed-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages libvirt-bin depends on:
ii adduser 3.113+nmu3
ii gettext-base 0.18.1.1-10
ii libaudit0 1:1.7.18-1.1
ii libavahi-client3 0.6.31-2
ii libavahi-common3 0.6.31-2
ii libblkid1 2.20.1-5.3
ii libc6 2.13-38
ii libcap-ng0 0.7.3-1
ii libdbus-1-3 1.6.8-1+deb7u1
ii libdevmapper1.02.1 2:1.02.77-1
ii libgcrypt11 1.5.0-5
ii libgnutls26 2.12.20-7
ii libnetcf1 1:0.2.3-3~bpo70
ii libnl-3-200 3.2.7-4
ii libnl-route-3-200 3.2.7-4
ii libnuma1 2.0.8-1
ii libparted0debian1 2.3-12
ii libpcap0.8 1.3.0-1
ii libpciaccess0 0.13.1-2
ii libreadline6 6.2+dfsg-0.1
ii libsasl2-2 2.1.25.dfsg1-6+deb7u1
ii libudev0 175-7.2
ii libvirt0 1.0.6-1~bpo70
ii libxenstore3.0 4.1.4-4
ii libxml2 2.8.0+dfsg1-7+nmu1
ii libyajl2 2.0.4-2
ii logrotate 3.8.3-5
Versions of packages libvirt-bin recommends:
ii bridge-utils 1.5-6
ii dmidecode 2.11+20120326-3
ii dnsmasq-base 2.66-1
ii ebtables 2.0.10.4-2
ii gawk 1:4.0.1+dfsg-2.1
ii iproute 20120521-3+b4
ii iptables 1.4.16.3-4
ii libxml2-utils 2.8.0+dfsg1-7+nmu1
ii netcat-openbsd 1.105-7
ii parted 2.3-12
ii pm-utils 1.4.1-9
ii qemu-kvm 1.1.2+dfsg-6
Versions of packages libvirt-bin suggests:
ii auditd 1:1.7.18-1.1
ii policykit-1 0.105-3
pn radvd <none>
pn systemtap <none>
-- Configuration Files:
/etc/default/libvirt-bin changed [not included]
/etc/libvirt/qemu.conf [Errno 13] Отказано в доступе: u'/etc/libvirt/qemu.conf'
-- no debconf information
More information about the Pkg-libvirt-maintainers
mailing list