FS#45922 - [qemu] udevadm trigger vhost-net errors (believe an ignorable error)

Attached to Project: Arch Linux
Opened by James Harvey (jamespharvey20) - Saturday, 08 August 2015, 04:49 GMT
Last edited by Sébastien Luttringer (seblu) - Thursday, 27 August 2015, 15:33 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Tobias Powalowski (tpowa)
Sébastien Luttringer (seblu)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

#45821 is fixed by -6. Its fix included adding to post_install():

[[ -e /dev/kvm ]] && udevadm trigger /dev/kvm
[[ -e /dev/vhost-net ]] && udevadm trigger /dev/vhost-net

During the install:
(51/51) installing qemu [######################] 100%
unable to open the device '/dev/vhost-net'
error: command failed to execute correctly

After installing:
crw-rw---- 1 root kvm 10, 232 Aug 8 00:31 /dev/kvm
crw------- 1 root root 10, 238 Aug 8 00:18 /dev/vhost-net

file /dev/vhost-net
/dev/vhost-net: character special (10/238)

And /sys/dev/char/10:238 doesn't exist on my system.

Haven't set up vhost-net before. Don't know much more about this. Seems to be an "ignorable" error, just wanted to let you know.
This task depends upon

Closed by  Sébastien Luttringer (seblu)
Thursday, 27 August 2015, 15:33 GMT
Reason for closing:  Fixed
Additional comments about closing:  qemu-2.4.0-3
Comment by James Harvey (jamespharvey20) - Saturday, 08 August 2015, 04:56 GMT
The vhost_net kernel module isn't loaded on my system, and once loaded (for testing purposes), there is a /sys/dev/char/10:238.
Comment by Sébastien Luttringer (seblu) - Monday, 17 August 2015, 14:36 GMT
I don't think it's an ignorable error, file permission is not correct.
Comment by James Harvey (jamespharvey20) - Wednesday, 26 August 2015, 13:08 GMT
  • Field changed: Percent Complete (100% → 0%)
Still occurs on qemu-2.4.0-2. ("unable to open the device'/dev/vhost-net" is gone, but "error: command failed to execute correctly" remains. /dev/vhost-net permissions are still crw-------, /dev/vhost-net still is for character special (10/238) but /sys/dev/char/10:238 doesn't exist. Not even sure /dev/vhost-net should exist if 10:238 doesn't... but I'm not really sure on that.
Comment by Sébastien Luttringer (seblu) - Thursday, 27 August 2015, 13:15 GMT
Rights will not be correct until you load the kernel module, it's ok. If the module is loaded, right will be correct.

I will remove the error message which come from pacman because of the last test condition. Not because there is something wrong.

Loading...