vncterm fails because qemu is in different location than in Debian

Bug #1029453 reported by Mike McClurg
14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
XCP
In Progress
Medium
Unassigned
xcp-vncterm (Ubuntu)
In Progress
Undecided
Unassigned

Bug Description

In debian, the qemu directory is /usr/share/qemu, but in Ubuntu that directory is /usr/share/qemu-linaro. The workaround for this has been to manually create a symlink from /usr/share/qemu pointing to qemu-linaro. We should instead modify the Ubuntu package to point to the correct location.

Tags: patch
Changed in xcp-vncterm (Ubuntu):
assignee: nobody → Mike McClurg (mike-mcclurg)
Revision history for this message
Mike McClurg (mike-mcclurg) wrote :

Debdiff patch attached.

Changed in xcp-vncterm (Ubuntu):
status: New → In Progress
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "xcp-vncterm.debdiff" of this bug report has been identified as being a patch in the form of a debdiff. The ubuntu-sponsors team has been subscribed to the bug report so that they can review and hopefully sponsor the debdiff. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-sponsors team please also unsubscribe the team from this bug report.

[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]

tags: added: patch
Changed in xcp-vncterm (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Marc Deslauriers (mdeslaur) wrote :

NACK. On Ubuntu, the path is also /usr/share/qemu in the qemu-common package:

/usr/share/qemu/keymaps/ar
/usr/share/qemu/keymaps/bepo
/usr/share/qemu/keymaps/common
/usr/share/qemu/keymaps/da
/usr/share/qemu/keymaps/de
/usr/share/qemu/keymaps/de-ch
/usr/share/qemu/keymaps/en-gb
/usr/share/qemu/keymaps/en-us
/usr/share/qemu/keymaps/es
/usr/share/qemu/keymaps/et
/usr/share/qemu/keymaps/fi
/usr/share/qemu/keymaps/fo
/usr/share/qemu/keymaps/fr
/usr/share/qemu/keymaps/fr-be
/usr/share/qemu/keymaps/fr-ca
/usr/share/qemu/keymaps/fr-ch
/usr/share/qemu/keymaps/hr
/usr/share/qemu/keymaps/hu
/usr/share/qemu/keymaps/is
/usr/share/qemu/keymaps/it
/usr/share/qemu/keymaps/ja
/usr/share/qemu/keymaps/lt
/usr/share/qemu/keymaps/lv
/usr/share/qemu/keymaps/mk
/usr/share/qemu/keymaps/modifiers
/usr/share/qemu/keymaps/nl
/usr/share/qemu/keymaps/nl-be
/usr/share/qemu/keymaps/no
/usr/share/qemu/keymaps/pl
/usr/share/qemu/keymaps/pt
/usr/share/qemu/keymaps/pt-br
/usr/share/qemu/keymaps/ru
/usr/share/qemu/keymaps/sl
/usr/share/qemu/keymaps/sv
/usr/share/qemu/keymaps/th
/usr/share/qemu/keymaps/tr

Changed in xcp-vncterm (Ubuntu):
status: Fix Committed → Invalid
Revision history for this message
Mike McClurg (mike-mcclurg) wrote :

Ah, thanks Marc! I didn't know that. Why are the keymaps duplicated between these packages? There must have been a reason to deviate from Debian's qemu.

I'll rework the patch so that we have different depends based on the vendor, instead of using two different patch series.

Revision history for this message
Marc Deslauriers (mdeslaur) wrote :

What exactly doesn't work in xcp-vncterm that requires this change?

Revision history for this message
Mike McClurg (mike-mcclurg) wrote :

xcp-vncterm fails to start because it can't find the qemu keymaps, because it hardcodes the location of the keymaps. We have a patch that points xcp-vncterm at /usr/share/qemu/keymaps on Debian, but that wasn't working on Ubuntu because qemu-keymaps on Ubuntu puts the keymaps at /usr/share/qemu-linaro/keymaps.

The qemu-keymaps package is an indirect dependency of xcp-vncterm for both Debian and Ubuntu (by virtue of it needing to be installed alongside xen-hypervisor). On Debian, qemu-keymaps installs keymaps to /usr/share/qemu/keymaps. On Ubuntu, it looks like I'll need to make xcp-vncterm depend directly on qemu-common (which doesn't exist in Debian). I suppose that this is more maintainable than having two separate quilt patchqueues.

Revision history for this message
Marc Deslauriers (mdeslaur) wrote :

Ah! I see now.

The qemu-keymaps package on Ubuntu is an optional, mostly-unused package in universe. qemu-common would be the right dependency for the majority of users.

Revision history for this message
Mike McClurg (mike-mcclurg) wrote :

So xen-hypervisor-amd64 suggests xen-utils-4.1 suggests qemu-keymaps and qemu-utils in both Debian and Ubuntu. Perhaps one of the three packages (xen-utils-4.1, qemu-keymaps, qemu-utils) should also suggest qemu-common? It seems the only package that suggests/requires qemu-common is qemu-kvm. Is this correct?

Revision history for this message
Mike McClurg (mike-mcclurg) wrote :

Moving this from Invalid to In Progress. We still need to fix this package so that it depends on qemu-common when installing on Ubuntu.

Changed in xcp-vncterm (Ubuntu):
status: Invalid → In Progress
Changed in xcp:
status: New → In Progress
Changed in xcp:
importance: Undecided → Medium
assignee: nobody → Mike McClurg (mike-mcclurg)
Changed in xcp:
assignee: Mike McClurg (mike-mcclurg) → nobody
Changed in xcp-vncterm (Ubuntu):
assignee: Mike McClurg (mike-mcclurg) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.