[Bug 599910] Re: Libvirt/kvm permissions/ownership issue on upgrade from Kosmic to Lucid

2010-07-01 Thread Charles Curley
Oh, after copying those two stanzas, I restarted the daemon:

service libvirt-bin stop
service libvirt-bin start

--

I'm not sure that this is the best solution. The libvirt folks
apparently decided that qemu should run as a non-root user, and that is
in general safer. The best solution would be to provide a way for users
to convert their systems so that they can run qemu as that user.

But this will do for a work-around.

-- 
Libvirt/kvm permissions/ownership issue on upgrade from Kosmic to Lucid
https://bugs.launchpad.net/bugs/599910
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libvirt in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 599910] Re: Libvirt/kvm permissions/ownership issue on upgrade from Kosmic to Lucid

2010-07-01 Thread Charles Curley
OK, I found a solution, likely the right one. After the upgrade, I found
a new file, /etc/libvirt/qemu.conf.dpkg-dist. After diffing it against
qemu.conf, I copied the following two stanzas from the upgrade file to
the configuration file:

# The user ID for QEMU processes run by the system instance
#user = "libvirt-qemu"
user = "root"

# The group ID for QEMU processes run by the system instance
#group = "kvm"
group = "root"

I don't know why I missed it during the upgrade. If enough other folks
have this problem, it might be worth investigating.

Thierry, I'm not sure I can change the status of this to "fixed"; if not
would you please do so?

Thanks.

-- 
Libvirt/kvm permissions/ownership issue on upgrade from Kosmic to Lucid
https://bugs.launchpad.net/bugs/599910
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libvirt in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


Re: [Bug 599910] Re: Libvirt/kvm permissions/ownership issue on upgrade from Kosmic to Lucid

2010-06-30 Thread Charles Curley
On Wed, 30 Jun 2010 08:56:07 -
Thierry Carrez  wrote:

> Are you part of the libvirtd group ?
> In doubt: just paste the output of "grep libvirtd /etc/group"

Yes.

r...@dzur:~# grep libvirtd /etc/group
libvirtd:x:127:ccurley

However, everything is owned by root:root, and libvirtd runs as root:

r...@dzur:~# ps aux | grep libvirtd | grep -v grep
root  6804  0.1  0.1 221764  5768 ?Sl   Jun29
1:04 /usr/sbin/libvirtd -d

r...@dzur:/var/lib/libvirt/images# ll finnix-93.0.iso 
-rw-rw-rw- 1 root root 126629888 2010-01-21 09:22 finnix-93.0.iso


-- 

Charles Curley  /"\ASCII Ribbon Campaign
Looking for fine software   \ /Respect for open standards
and/or writing?  X No HTML/RTF in email
http://www.charlescurley.com/ \No M$ Word docs in email

Key fingerprint = CE5C 6645 A45A 64E4 94C0  809C FFF6 4C48 4ECD DFDB

-- 
Libvirt/kvm permissions/ownership issue on upgrade from Kosmic to Lucid
https://bugs.launchpad.net/bugs/599910
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libvirt in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 599910] Re: Libvirt/kvm permissions/ownership issue on upgrade from Kosmic to Lucid

2010-06-30 Thread Thierry Carrez
Are you part of the libvirtd group ?
In doubt: just paste the output of "grep libvirtd /etc/group"


** Changed in: libvirt (Ubuntu)
   Status: New => Incomplete

-- 
Libvirt/kvm permissions/ownership issue on upgrade from Kosmic to Lucid
https://bugs.launchpad.net/bugs/599910
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libvirt in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 599910] Re: Libvirt/kvm permissions/ownership issue on upgrade from Kosmic to Lucid

2010-06-29 Thread Charles Curley

** Attachment added: "Dependencies.txt"
   http://launchpadlibrarian.net/51126564/Dependencies.txt

-- 
Libvirt/kvm permissions/ownership issue on upgrade from Kosmic to Lucid
https://bugs.launchpad.net/bugs/599910
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libvirt in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs