<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/meta-virtualization.git/recipes-extended/libvirt/libvirt_1.3.5.bb, branch hardknott</title>
<subtitle>Mirror of git.yoctoproject.org/meta-virtualization</subtitle>
<id>https://git.enea.com/cgit/linux/meta-virtualization.git/atom?h=hardknott</id>
<link rel='self' href='https://git.enea.com/cgit/linux/meta-virtualization.git/atom?h=hardknott'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-virtualization.git/'/>
<updated>2018-06-05T16:01:01+00:00</updated>
<entry>
<title>libvirt: uprev to the latest release, v4.3.0</title>
<updated>2018-06-05T16:01:01+00:00</updated>
<author>
<name>Mark Asselstine</name>
<email>mark.asselstine@windriver.com</email>
</author>
<published>2018-06-05T14:01:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-virtualization.git/commit/?id=343b40ba0d44caeb22013a1586ae2159e415bd4c'/>
<id>urn:sha1:343b40ba0d44caeb22013a1586ae2159e415bd4c</id>
<content type='text'>
We have been using the 1.3.x release series for a long time now which
has been great for stability but is slowly becoming harder and harder
to track and port bug and CVE fixes. This is a big jump to the latest
upstream release which gives us access to a myriad of fixes as well as
puts us in a better position to contribute to the upstream project
when issues are found.

Several patches have been dropped as they are either no longer valid
against this release or have equivalent updates already applied to the
upstream project. Some patches were consolidated which should ease
future uprevs of this recipe. The majority of the updates were related
to ptest patches, which is not a huge surprise given this code has no
upstream equivalent.

The overall runtime behavior remains much the same from v1.3.5 with
the only notable configuration change being for 'seccomp_sandbox'
which has been disabled here but should possibly be revisited in the
near future.

As usual the normal runtime usecases for qemu/kvm and lxc have been
run successfully along with ptest results which are by and large OK:

    ====================================
    Testsuite summary for libvirt 4.3.0
    ====================================
    # TOTAL: 119
    # PASS:  115
    # SKIP:  0
    # XFAIL: 0
    # FAIL:  4
    # XPASS: 0
    # ERROR: 0

Signed-off-by: Mark Asselstine &lt;mark.asselstine@windriver.com&gt;
Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@windriver.com&gt;
</content>
</entry>
<entry>
<title>libvirt: fixups for glibc 2.27 - with Sun RPC Interfaces removed</title>
<updated>2018-05-10T20:43:28+00:00</updated>
<author>
<name>Mark Asselstine</name>
<email>mark.asselstine@windriver.com</email>
</author>
<published>2018-05-10T17:51:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-virtualization.git/commit/?id=2e8e06363369675c8cc15de418967392543a18a5'/>
<id>urn:sha1:2e8e06363369675c8cc15de418967392543a18a5</id>
<content type='text'>
With Sun RPC Interfaces removed from libc we need to use an external
provider for rpc. Polling other distros there seems to be consensus to
use libtirpc so we follow this trend.

Unfortunately this should only require the DEPENDS addition to the
recipe but the upstream project has a few flaws in their Makefiles and
configure which we need to work around so we add 2 new patches to
address these to allow for the use of a sysroot and to use the
$XDR_CFLAGS in a few more places.

Signed-off-by: Mark Asselstine &lt;mark.asselstine@windriver.com&gt;
Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@windriver.com&gt;
</content>
</entry>
<entry>
<title>dnsmasq: add dnsmasq.d entries for lxc and libvirt</title>
<updated>2017-12-28T16:12:26+00:00</updated>
<author>
<name>Mark Asselstine</name>
<email>mark.asselstine@windriver.com</email>
</author>
<published>2017-12-22T20:57:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-virtualization.git/commit/?id=00a801aee140c91ae968ffad271fc85702ff80ff'/>
<id>urn:sha1:00a801aee140c91ae968ffad271fc85702ff80ff</id>
<content type='text'>
A while ago changes were merged to meta-openembedded to make
/etc/dnsmasq.d (and specifically the files it contains) referenced
when the main instance of dnsmasq is run (see dnsmasq.service and
commit ba665493a0dd [dnsmasq: allow for dnsmasq instances to reuse
default dnsmasq.conf]).

We, however, continued to modify the global configuration
(/etc/dnsmasq.conf) to keep the main instance of dnsmasq from
attaching to virbr0 and lxcbr0, by using 'bind-dynamic'. This approach
is problematic, since it is common that other instances of dnsmasq
will make use of the global configuration file and may have
incompatible options. We see this for example when attempting to start
lxc-net which will attempt to use 'bind-interface' which is
incompatible with 'bind-dynamic' that we were adding to the global
configuration.

Here we remove our change to the global configuration (leaving it
mostly empty as it should be) and instead have lxc and libvirt
packages instruct the global instance not to bind to virbr0 and lxcbr0
by adding configuration files to /etc/dnsmasq.d (setting
except-interface).

The added benefit to this approach is that if lxc or libvirt are not
part of an image the global configuration will not be modified in such
a way as to expect that they are present.

Signed-off-by: Mark Asselstine &lt;mark.asselstine@windriver.com&gt;
Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@windriver.com&gt;
</content>
</entry>
<entry>
<title>libvirt: fix build failure, failing QA check</title>
<updated>2017-08-29T12:43:11+00:00</updated>
<author>
<name>Chunrong Guo</name>
<email>chunrong.guo@nxp.com</email>
</author>
<published>2017-08-28T06:24:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-virtualization.git/commit/?id=99013658ead87e8658d9041da86a2a76ecf76fbe'/>
<id>urn:sha1:99013658ead87e8658d9041da86a2a76ecf76fbe</id>
<content type='text'>
  The build is failing due to a failing QA check:

   ERROR: libvirt-1.3.5-r0 do_package_qa: QA Issue: /usr/lib/libvirt/ptest/tests/tests/check-file-access.pl
   contained in package libvirt-ptest requires /usr/bin/perl,
   but no providers found in RDEPENDS_libvirt-ptest? [file-rdeps]

Signed-off-by: Chunrong Guo &lt;chunrong.guo@nxp.com&gt;
Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@windriver.com&gt;
</content>
</entry>
<entry>
<title>libvirt: add DEPENDS for libdevmapper</title>
<updated>2017-04-27T20:37:59+00:00</updated>
<author>
<name>Mark Asselstine</name>
<email>mark.asselstine@windriver.com</email>
</author>
<published>2017-04-27T17:09:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-virtualization.git/commit/?id=b69f1478393193de136c33e70d7c2bdc6dcfcdb8'/>
<id>urn:sha1:b69f1478393193de136c33e70d7c2bdc6dcfcdb8</id>
<content type='text'>
Commit 8709d4504c35817ef1d7181b47ba96c3ca0c949e [lvm2: separate
libdevmapper to avoid circular dependency] in meta-oe meant that our
build would fail with

  checking for libdevmapper.h... no
  configure: error: You must install device-mapper-devel/libdevmapper &gt;= 1.0.0 to compile libvirt

Add the required DEPENDS for libdevmapper to get the build working as
it did prior to this meta-oe change.

NOTE: our previous dependency on lvm2 was not only to get libdevmapper
functionality, so lvm2 remains a valid DEPENDS, so is left in place.

Signed-off-by: Mark Asselstine &lt;mark.asselstine@windriver.com&gt;
Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@windriver.com&gt;
</content>
</entry>
<entry>
<title>libvirt: Fix conditional dependencies on polkit</title>
<updated>2017-04-25T02:51:26+00:00</updated>
<author>
<name>Rob Woolley</name>
<email>rob.woolley@windriver.com</email>
</author>
<published>2017-04-19T14:42:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-virtualization.git/commit/?id=67c86c4962170354ad8a2ec4cdbb9bc0056cfd66'/>
<id>urn:sha1:67c86c4962170354ad8a2ec4cdbb9bc0056cfd66</id>
<content type='text'>
The DIRFILES variable was a temporary workaround to resolve a do_rootfs
RPM package conflict between libvirt and polkit.

This happened because of the different permissions and ownership that the
packages placed on ${datadir}/usr/share/polkit-1/rules.d.

The behaviour is now conditional based on how PACKAGECONFIG is set.  The
polkit rules will be removed from the package if polkit is not enabled.
If polkit is enabled the permissions and ownership are set to match those
set by the polkit recipe.

This uses the useradd enhancements for RSS.  It requires that shadow-native
be included as a DEPENDS to provide the useradd command in the native
sysroot.

Signed-off-by: Rob Woolley &lt;rob.woolley@windriver.com&gt;
Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@windriver.com&gt;
</content>
</entry>
<entry>
<title>libvirt: fix polkit file conflict</title>
<updated>2017-03-21T03:57:39+00:00</updated>
<author>
<name>Bruce Ashfield</name>
<email>bruce.ashfield@windriver.com</email>
</author>
<published>2017-03-21T03:57:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-virtualization.git/commit/?id=b1995179660fc000e92431a48899de4533020526'/>
<id>urn:sha1:b1995179660fc000e92431a48899de4533020526</id>
<content type='text'>
The switch to RPM4 and dnf results in this error during rootfs construction:

  Error: Transaction check error:
    file /usr/share/polkit-1/rules.d conflicts between attempted installs of libvirt-1.3.5-r0.13.core2_64 and polkit-0.113-r0.9.core2_64

We can temporarily work around it by instructing RPM to not package/process
the dirfiles.

Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@windriver.com&gt;
</content>
</entry>
<entry>
<title>libvirt: fix QA warning caused by missing acl build dep</title>
<updated>2017-03-14T14:12:11+00:00</updated>
<author>
<name>Zhenbo Gao</name>
<email>zhenbo.gao@windriver.com</email>
</author>
<published>2017-03-14T01:56:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-virtualization.git/commit/?id=f26d43b7739351067cf4a9b232cfd87ffb412a09'/>
<id>urn:sha1:f26d43b7739351067cf4a9b232cfd87ffb412a09</id>
<content type='text'>
The patch fix the following QA warning:
--
WARNING: QA Issue: libvirt rdepends on libacl, but it isn't a build dependency? [build-deps]

Signed-off-by: Zhenbo Gao &lt;zhenbo.gao@windriver.com&gt;
Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@windriver.com&gt;
</content>
</entry>
<entry>
<title>libvirt: Place systemd units at appropriate location.</title>
<updated>2017-02-09T14:13:57+00:00</updated>
<author>
<name>Amarnath Valluri</name>
<email>amarnath.valluri@intel.com</email>
</author>
<published>2017-02-08T16:57:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-virtualization.git/commit/?id=ee0b5e316af429d4352abcad4a4110deae99e4f6'/>
<id>urn:sha1:ee0b5e316af429d4352abcad4a4110deae99e4f6</id>
<content type='text'>
Systemd untis should be placed as per ${systemd_system_unitdir}.

Patched the source code to support configure variable to set the systemd units
directory.

Signed-off-by: Amarnath Valluri &lt;amarnath.valluri@intel.com&gt;
Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@windriver.com&gt;
</content>
</entry>
<entry>
<title>libvirt: add 'wireshark' packageconfig</title>
<updated>2016-11-17T18:02:23+00:00</updated>
<author>
<name>Mark Asselstine</name>
<email>mark.asselstine@windriver.com</email>
</author>
<published>2016-11-16T19:56:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-virtualization.git/commit/?id=66997c4dcfc5cabd0b357ea46d6ac15ec3163c51'/>
<id>urn:sha1:66997c4dcfc5cabd0b357ea46d6ac15ec3163c51</id>
<content type='text'>
libvirt by default has '--with-wireshark-dissector' set to
'check'. Therefor if wireshark is built before vs after libvirt this
will result in a potentially unexpected difference in how libvirt is
configured. Additionally the build of libvirt with wireshark
capabilities enabled is currently broken and thus if attempted will
result in the error:

fatal error: ws_symbol_export.h: No such file or directory

To prevent the random configuration of libvirt with respect to
wireshark we add a new packageconfig for wireshark.

NOTE that the wireshark recipe is currently incomplete so this new
packageconfig will result in a build failure if used, until wireshark
is updated to build libwsutil.

Signed-off-by: Mark Asselstine &lt;mark.asselstine@windriver.com&gt;
</content>
</entry>
</feed>
