[libvirt] Release of libvirt-0.6.2

Trying to keep up with last week posted schedule, the new release was pushed to the usual place: ftp://libvirt.org/libvirt/ This is mostly a bug fix release, though it also includes a few new features and some improvements: * New features: - support SASL auth for VNC server (Daniel Berrange) - memory ballooning in QEMU (Daniel Berrange) - SCSI HBA storage pool support (Dave Allan) - PCI passthrough in Xen driver (Daniel Berrange) * Portability: - be more flexible in QEmu binaries paths (Daniel Berrange) - Mingw portability fixes (Daniel Berrange) * Documentation: - add security attributes in RNG schemas - cleanup of architecture docs - missing disk bus values in RNG schemas * Bug fixes: - tap vs vbd type on block detach (Cole Robinson and Takahashi Tomohiro) - bad free on storage volume error (Daniel Berrange) - maplenght computations in remote driver (Daniel Berrange) - event dispatching in the daemon (Daniel Berrange) - virDomainSetVcpus deadlock (Daniel Berrange) - save deadlock in test driver (Cole Robinson) - fix timing of security driver init (Cole Robinson) - forbid readonly connections from dumping the XML safe info (Cole Robinson) - file descriptor leak on remote access - fix labelling of shared/readonly devices (Dan Walsh) - virsh missing auth on shell commands (Matthias Bolte) - avoid zombie on exec pipe errors (Ryota Ozaki) - memory leak in virNodeDeviceGetParent (Daniel Berrange) - URI check in migration (Daniel Berrange) - various memory bug fixes (Daniel Berrange) - python bindings generator fix (Daniel Berrange) - NUMA memory fixes (Daniel Berrange) - various svirt fixes (Daniel Berrange) - fix sparse volume allocation reporting (Cole Robinson) - test driver domain restore return value (Cole Robinson) - do not lose file format info on volume refresh (Cole Robinson) * Improvements: - get CPU usage info for LXC (Ryota Ozaki) - fix domain RNG to add ac97 and tests (Pritesh Kothari) - OpenVZ support for non-template filesystem root (Florian Vichot) - improve arch capabilities generation (Daniel Berrange) - modularization of spec file (Ryota Ozaki) - better error reports in SEXPR generation (Daniel Berrange) - support for vifname parameter in VIF config (Daniel Berrange) - localtime handling for new xen (Daniel Berrange) - error reporting/ verification of security labels (Dan Walsh) - add --console arg for create and start virsh commands (Daniel Berrange) - refresh volume alloc/capacity when dumping XML (Cole Robinson) * Cleanups: - FILE * leaks removal - unused parameters flagging (Maximilian Wilhelm) - switch to pre-C99 struct initialization for drivers (Chris Lalancette) - symlinks resolving cleanup (Daniel Berrange) Thanks to everybody who helped with reports, ideas or patches ! Daniel -- Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/ daniel@veillard.com | Rpmfind RPM search engine http://rpmfind.net/ http://veillard.com/ | virtualization library http://libvirt.org/

"make rpm" or "rpmbuild --rebuild libvirt-0.6.2-1.fc9.src.rpm" is broken. With good reason he (rpmbuild) complains about not finding libvirt_proxy. In proxy/Makefile a lot of is commented out - is this due to the libvirt_proxy buffer overflow? There is no libvirt_proxy in the libvirt-0.6.2-1.fc9.x86_64.rpm package: rr016# rpm -pq --list /usr/src/redhat/RPMS/x86_64/libvirt-0.6.2-1.fc9.x86_64.rpm|grep proxy Warnung: /usr/src/redhat/RPMS/x86_64/libvirt-0.6.2-1.fc9.x86_64.rpm: Header V3 DSA-Signatur: NOKEY, key ID de95bc1f Therefore i think the libvirt.spec must be patched to not include libvirt_proxy by default as follows: --- /tmp/libvirt.spec.old 2009-04-03 22:12:26.000000000 +0200 +++ /tmp/libvirt.spec 2009-04-03 22:12:05.000000000 +0200 @@ -1,7 +1,7 @@ # -*- rpm-spec -*- %define with_xen 0%{!?_without_xen:1} -%define with_xen_proxy 0%{!?_without_xen_proxy:1} +%define with_xen_proxy 0%{!?_without_xen_proxy:0} %define with_qemu 0%{!?_without_qemu:1} %define with_openvz 0%{!?_without_openvz:1} %define with_lxc 0%{!?_without_lxc:1} Then the "make rpm" builds as the libvirt-0.6.2-1.fc9.x86_64.rpm.

Oops I notice I didn't replied to this. On Fri, Apr 03, 2009 at 10:13:48PM +0200, Gerrit Slomma wrote:
"make rpm" or "rpmbuild --rebuild libvirt-0.6.2-1.fc9.src.rpm" is broken.
Strange I actually use "make rpm" to make the releases.
With good reason he (rpmbuild) complains about not finding libvirt_proxy. In proxy/Makefile a lot of is commented out - is this due to the libvirt_proxy buffer overflow? There is no libvirt_proxy in the libvirt-0.6.2-1.fc9.x86_64.rpm package: rr016# rpm -pq --list /usr/src/redhat/RPMS/x86_64/libvirt-0.6.2-1.fc9.x86_64.rpm|grep proxy Warnung: /usr/src/redhat/RPMS/x86_64/libvirt-0.6.2-1.fc9.x86_64.rpm: Header V3 DSA-Signatur: NOKEY, key ID de95bc1f
Right it should be desactivated for fedora >= 8 as we use remote access controlled by policykit there: %if 0%{?fedora} >= 8 %define with_polkit 0%{!?_without_polkit:1} %define with_xen_proxy 0 %endif
Therefore i think the libvirt.spec must be patched to not include libvirt_proxy by default as follows:
I would rather try to understand why you have the problem, it does rebuild here as far as I can tell. I have a xen package installed but the above rule should prevent the proxy from building. I guess there is a different problem, I wonder why on Fedora9 you would have the above ignored. Daniel -- Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/ daniel@veillard.com | Rpmfind RPM search engine http://rpmfind.net/ http://veillard.com/ | virtualization library http://libvirt.org/

Daniel Veillard schrieb:
Oops I notice I didn't replied to this.
No problemo.
On Fri, Apr 03, 2009 at 10:13:48PM +0200, Gerrit Slomma wrote:
"make rpm" or "rpmbuild --rebuild libvirt-0.6.2-1.fc9.src.rpm" is broken.
Strange I actually use "make rpm" to make the releases.
With good reason he (rpmbuild) complains about not finding libvirt_proxy. In proxy/Makefile a lot of is commented out - is this due to the libvirt_proxy buffer overflow? There is no libvirt_proxy in the libvirt-0.6.2-1.fc9.x86_64.rpm package: rr016# rpm -pq --list /usr/src/redhat/RPMS/x86_64/libvirt-0.6.2-1.fc9.x86_64.rpm|grep proxy Warnung: /usr/src/redhat/RPMS/x86_64/libvirt-0.6.2-1.fc9.x86_64.rpm: Header V3 DSA-Signatur: NOKEY, key ID de95bc1f
Right it should be desactivated for fedora >= 8 as we use remote access controlled by policykit there:
%if 0%{?fedora} >= 8 %define with_polkit 0%{!?_without_polkit:1} %define with_xen_proxy 0 %endif
Therefore i think the libvirt.spec must be patched to not include libvirt_proxy by default as follows:
I would rather try to understand why you have the problem, it does rebuild here as far as I can tell. I have a xen package installed but the above rule should prevent the proxy from building.
I guess there is a different problem, I wonder why on Fedora9 you would have the above ignored.
Daniel I should have been more specific: I use RHEL5. My workaround was to disable the libvirt_proxy-stuff and rebuilt the PolicyKit/ConsoleKit for RHEL5. With the patch issued by you here: https://www.redhat.com/archives/libvir-list/2009-April/msg00269.html "make rpm" works flawless and no need anymore for the PolicyKit or ConsoleKit anymore. I must have missed to answer to that other post with the RHEL5-patch.

On Fri, Apr 17, 2009 at 10:19:41PM +0200, Gerrit Slomma wrote:
Daniel Veillard schrieb:
I would rather try to understand why you have the problem, it does rebuild here as far as I can tell. I have a xen package installed but the above rule should prevent the proxy from building.
I guess there is a different problem, I wonder why on Fedora9 you would have the above ignored.
Daniel I should have been more specific: I use RHEL5. My workaround was to disable the libvirt_proxy-stuff and rebuilt the PolicyKit/ConsoleKit for RHEL5. With the patch issued by you here: https://www.redhat.com/archives/libvir-list/2009-April/msg00269.html "make rpm" works flawless and no need anymore for the PolicyKit or ConsoleKit anymore. I must have missed to answer to that other post with the RHEL5-patch.
Ah, okay, I rebuild regulary on RHEL5 so yeah that got fixed :-) Daniel -- Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/ daniel@veillard.com | Rpmfind RPM search engine http://rpmfind.net/ http://veillard.com/ | virtualization library http://libvirt.org/
participants (2)
-
Daniel Veillard
-
Gerrit Slomma