Bug 1242212
| Summary: | [1.2.1] Cannot launch virt-manager from outside the build folder | ||
|---|---|---|---|
| Product: | [Community] Virtualization Tools | Reporter: | jean-christophe manciot <actionmystique> |
| Component: | virt-manager | Assignee: | Cole Robinson <crobinso> |
| Status: | CLOSED UPSTREAM | QA Contact: | |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | unspecified | CC: | berrange, crobinso, gscrivan, rbalakri |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-09-23 23:33:22 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
jean-christophe manciot
2015-07-12 10:47:15 UTC
I have not mentionned that it is necessary to modify all the /usr/local/bin/virt-* scripts so that their calls point to /usr/local/share/virt-manager/ instead of /usr/share//virt-manager/ Additional Info: ---------------- - libvirt 1.2.17 - libosinfo 0.2.12 - libvirt-glib 0.2.1 - libvirt-python 1.2.17 I think the root issue is that we were incorrectly setting the prefix value in the code, and ubuntu is defaulting back to /usr/local which isn't going to work for a lot of UI stuff. It should be fixed now but only for new install invocations:
commit 554a39ddae53004b786dc2f3fd6f8b4bb11649b8
Author: Cole Robinson <crobinso>
Date: Wed Sep 23 19:29:13 2015 -0400
setup: Fix system install on ubuntu
Ubuntu ends up installing in /usr/local, even though system prefix
variable tells us it's /usr. Lots of UI things don't work in /usr/local,
so point it back at /usr.
Great, now it works on Ubuntu. |