virt-manager assumes root user for qemu+ssh hosts
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| virt-manager |
Won't Fix
|
Medium
|
||
| virt-manager (Ubuntu) |
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 |
Soren Hansen (soren) wrote : | #1 |
You're absolutely right. I'll prepare an SRU ASAP. Thanks!
Changed in virt-manager: | |
assignee: | nobody → soren |
status: | New → In Progress |
Robstarusa (rob-naseca) wrote : | #2 |
I have this same issue. I couldn't believe the error I saw when I saw it. I have created a user that (from local machine) can access qemu:///system, but virt-manager is broken exactly as described above.
Thanks for working on this Soren!
|
#11 |
Thanks for the report. Just committed a fix for this, the user can now specify the username via user@hostname syntax when opening a new connection:
http://
I think this is the safest fix, rather than change existing behavior when no username is specified.
Closing as UPSTREAM.
Changed in virt-manager: | |
status: | Confirmed → Invalid |
Bryan McLellan (btm) wrote : | #3 |
This has been patched upstream [1] but there hasn't been a release since 0.6.0 on 2008-09-10. Accordingly, jaunty at the moment has virt-manager=
So this bug currently exists in the version of virt-manager that will ship with 9.04.
[1] http://
Changed in virt-manager: | |
status: | Invalid → Fix Released |
Jamie Strandboge (jdstrand) wrote : | #4 |
I'm still seeing this on karmic virt-manager 0.7.0-3ubuntu1.
Bryan McLellan (btm) wrote : Re: [Bug 294965] Re: virt-manager assumes root user for qemu+ssh hosts | #5 |
On Fri, Aug 7, 2009 at 3:52 AM, Jamie Strandboge<email address hidden> wrote:
> I'm still seeing this on karmic virt-manager 0.7.0-3ubuntu1.
in jaunty (virt-manager=
for qemu+ssh sessions, but if you don't specify a username it defaults
to using root.
Is this not the case in karmic?
Soren Hansen (soren) wrote : | #6 |
Yes, in Karmic you can specify "username@" before the hostname. However, I agree that "root" is a horrible default on Ubuntu, since we don't enable root logins by default.
Changed in virt-manager (Ubuntu): | |
importance: | Undecided → Wishlist |
Nicolas Diogo (nicolasdiogo) wrote : | #7 |
hi,
just checking if the release has been committed and propagated in Hardy (host) and 9.10 (remote clients).
i just tried and it is quite a shock to be asked for my root password..
thanks a lot
Changed in virt-manager (Ubuntu): | |
assignee: | Soren Hansen (soren) → nobody |
status: | In Progress → Triaged |
David Ayers (ayers) wrote : | #8 |
This is still the case for both:
Lucid 10.04 LTS
Maverick 10.10
Marc Deslauriers (mdeslaur) wrote : | #9 |
This is fixed now in virt-manager 0.8.6 in natty.
Changed in virt-manager (Ubuntu): | |
status: | Triaged → Fix Released |
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