[prev in list] [next in list] [prev in thread] [next in thread]
List: libguestfs
Subject: Re: [Libguestfs] Test fails in arch linux
From: "Richard W.M. Jones" <rjones () redhat ! com>
Date: 2012-02-24 8:25:13
Message-ID: 20120224082513.GL2609 () amd ! home ! annexia ! org
[Download RAW message or body]
On Thu, Feb 23, 2012 at 08:50:12PM +0200, Nikos Skalkotos wrote:
[...]
I don't know specifically why it fails with ArchLinux, but the problem
is caused by the /dev/virtio-ports/* symlinks not getting created by
udev.
/dev/vport0p1 exists:
> crw------- 1 root root 252, 1 Feb 23 18:17 vport0p1
but udev doesn't make the corresponding /dev/virtio-ports symlink:
> /dev/virtio-ports/org.libguestfs.channel.0: No such file or directory
The symlink is supposed to be created by this udev rule:
/lib/udev/rules.d/50-udev-default.rules:KERNEL=="vport*", ATTR{name}=="?*", \
SYMLINK+="virtio-ports/$attr{name}"
So I'd start by looking to see if that rule exists in the udev rules
that Arch is using. Secondly if it does exist, is the corresponding
*.rules being copied into the appliance? (Check appliance/supermin.d/
hostfiles)
In an old Ubuntu that has udev that predates having this rule, we add
the following patch:
http://libguestfs.org/download/binaries/ubuntu1004-packages/0002-ubuntu-10.04-Use-dev-vport0p1.patch
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-p2v converts physical machines to virtual machines. Boot with a
live CD or over the network (PXE) and turn machines into Xen guests.
http://et.redhat.com/~rjones/virt-p2v
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic