[Bug 1242794] Re: Missing virtio-port symlinks

Matt Whiteley mattwhiteley at gmail.com
Wed Oct 30 07:58:37 UTC 2013


I was wrong about the default of the name attribute to the
virtserialport and when providing it the virtio-ports symlink is created
as expected in my direct qemu test. My original problem was that
libguestfs-test-tool doesn't work with this udev version and that is
still the case even though it calls qemu with a name correctly.

  /usr/bin/qemu-system-x86_64 \
      -global virtio-blk-pci.scsi=off \
      -nodefconfig \
      -nodefaults \
      -nographic \
      -device virtio-scsi-pci,id=scsi \
      -drive file=/tmp/libguestfs-test-tool-sda-Q5S2Kp,cache=none,format=raw,id=hd0,if=none \
      -device scsi-hd,drive=hd0 \
      -drive file=/var/tmp/.guestfs-0/root.3806,snapshot=on,id=appliance,if=none,cache=unsafe \
      -device scsi-hd,drive=appliance \
      -machine accel=kvm:tcg \
      -m 500 \
      -no-reboot \
      -no-hpet \
      -device virtio-serial \
      -serial stdio \
      -device sga \
      -chardev socket,path=/tmp/libguestfs9a65wc/guestfsd.sock,id=channel0 \
      -device virtserialport,chardev=channel0,name=org.libguestfs.channel.0 \
      -kernel /var/tmp/.guestfs-0/kernel.3806 \
      -initrd /var/tmp/.guestfs-0/initrd.3806 \
      -append 'panic=1 console=ttyS0 udevtimeout=600 no_timer_check acpi=off printk.time=1 cgroup_disable=memory root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=xterm

I'm not sure why it still fails with

  /dev/virtio-ports/org.libguestfs.channel.0: No such file or directory

but it would seem to be an issue with libguestfs-tools possibly and not
udev. Sorry for the misleading report.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1242794

Title:
  Missing virtio-port symlinks

Status in “systemd” package in Ubuntu:
  Incomplete

Bug description:
  After upgrading from Raring to Saucy, our libguestfs system stopped
  working. I then tried a fresh install of Saucy with the same results.
  I narrowed the issue down to the udev package. I was able to downgrade
  the udev package to the previous non-systemd (175-0ubuntu29) version
  and it works again with no other changes. This leads me to believe the
  issues isn't related to the updates of libguestfs, qemu, etc.

  1) Ubuntu 13.10

  2) systemd_204-0ubuntu18

  3) libguestfs-test-tool should succeed as it does on Ubuntu 13.04.

  4) libguestfs fails to communicate to the virtual machine due to
  missing /dev/virtio-ports (org.libguestfs.channel.0 in this case)
  symlink to /dev/vport1p1 (which is correctly created).

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1242794/+subscriptions



More information about the foundations-bugs mailing list