[Bug 812623] New: vm-install refuses to proceed as normal user
https://bugzilla.novell.com/show_bug.cgi?id=812623 https://bugzilla.novell.com/show_bug.cgi?id=812623#c0 Summary: vm-install refuses to proceed as normal user Classification: openSUSE Product: openSUSE 12.3 Version: Final Platform: x86-64 OS/Version: SUSE Other Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: carnold@suse.com ReportedBy: mhrusecky@suse.com QAContact: qa-bugs@suse.de Found By: --- Blocker: --- When using virt-manager and trying to install new machine (local libvirt), it says that I have to be root to do that, which is bogus as it comunicates with libvirt and my local permisions doesn't matter, libvirtd permisions do. I rememebered that in fact in other distribution it worked well, so I branched it in obs, droped two SUSE specific patches (virtman-virtinstall.diff and virtman-vminstall.diff) and it works again. So please, make vm-instll work for non-root users again. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=812623 https://bugzilla.novell.com/show_bug.cgi?id=812623#c1 Charles Arnold <carnold@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution| |INVALID QAContact|qa-bugs@suse.de |jdouglas@suse.com --- Comment #1 from Charles Arnold <carnold@suse.com> 2013-04-22 19:12:23 UTC --- Our suse distros have bundled two install tools for a long time now. The older and original version is called vm-install and originated as an internal project. The other is called virt-install and originates from redhat. Virt-manager on os12.3 allows you to launch either one (without disabling patches). There is on the main virt-manager screen where the installer icon is located a pop-down arrow that displays 'virt-install'. Selecting this allows you to install locally as a non-root user. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=812623 https://bugzilla.novell.com/show_bug.cgi?id=812623#c2 --- Comment #2 from Michal Hrusecky <mhrusecky@suse.com> 2013-04-23 07:43:00 UTC --- Ok, I admit that I didn't noticed the other option and requiring root seemed wrong to begin with, but that should go into different bug. btw. Why vm-install needs root anyway? It doesn't use libvirt? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=812623 https://bugzilla.novell.com/show_bug.cgi?id=812623#c3 --- Comment #3 from Charles Arnold <carnold@suse.com> 2013-04-23 15:04:13 UTC --- (In reply to comment #2)
... btw. Why vm-install needs root anyway? It doesn't use libvirt?
For installing Xen guests, vm-install communicates directly with the Xen toolstack. It has done this since before libvirt developed code to use policykit to allow non-root users to install guests. For KVM, vm-install uses libvirt but there is still code that 'touches' root owned locations. Vm-install could be updated to strictly use libvirt and leverage its policykit features but that would feature request :) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com