virt-manager assumes root user for qemu+ssh hosts
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
virt-manager |
Won't Fix
|
Medium
|
|||
virt-manager (Ubuntu) |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
Binary package hint: virt-manager
This is a packaging regression.
virt-manager=
Thus in virt-manager=
Adding the URI as 'username@host' creates a uri like 'qemu+ssh:
The work around is to use gconf-editor to modify the uris key in apps -> virt-manager -> connections, adding uri's by hand.
Changed in virt-manager: | |
status: | Unknown → Confirmed |
Changed in virt-manager: | |
status: | Confirmed → Invalid |
Changed in virt-manager: | |
status: | Invalid → Fix Released |
Changed in virt-manager (Ubuntu): | |
importance: | Undecided → Wishlist |
Changed in virt-manager (Ubuntu): | |
assignee: | Soren Hansen (soren) → nobody |
status: | In Progress → Triaged |
Changed in virt-manager: | |
importance: | Unknown → Medium |
status: | Fix Released → Won't Fix |
Description of problem:
Virt-manager forces the creation of qemu+ssh and xen+ssh URI's to include the root user.
Steps to Reproduce:
1. File, Open Connection
2. Choose Remote tunnel over SSH
3. Enter a hostname
Actual results:
The URI generated is 'qemu+ssh: //root@ hostname/ system'
Expected results:
The URI generated should be 'qemu+ssh: //hostname/ system'
Additional info:
libvirt does not require root access and should frown upon using the root account to access libvirt if anything. A username should not be hardcoded, or at the least should detect if a username is provided in the entry field and use that instead.
See src/virtManager /connect. py:260