Red Hat Bugzilla – Bug 508665
virt-manager (running as unprivileged user) doesn't let me install from NFS locations
Last modified: 2009-09-22 09:55:59 EDT
Description of problem:
When attempting to install a VM from an NFS location, I get an error message about missing privileges after step 2 ("Provide the operating system URL").
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Start virt-manager
2. Create a new machine
3. In step 1, choose "Network Install (HTTP, FTP or NFS)"
4. In step 2, use an NFS URL like "nfs://somehost.domain.tld/.../fedora/11/Fedora/x86_64/os", then click on "Forward"
Error dialog titled "Input Error":
Error setting install media location.
Privilege is required for NFS installations
I'm never asked for any credentials which would possibly give me this privilege.
Possibly at this point, virt-manager/PolicyKit should prompt me to type in the root password to acquire the necessary authorization.
Thanks Nils, putting this on F12VirtTarget since it's unlikely to be fixed for F-11
Doing this via PolicyKit sounds sane - it would be similar to how nautilus allows users to do NFS mounts, probably
Perhaps virt-manager could display a slightly more informative error message in the meantime. E.g. if it's running as non-root, tell the user that nfs installations aren't possible?
Ah, I see we already had this filed - see bug #501922
*** This bug has been marked as a duplicate of bug 501922 ***