- 12 Aug, 2021 1 commit
-
-
Signed-off-by:
Christian Ehrhardt <christian.ehrhardt@canonical.com>
-
- 11 Aug, 2021 1 commit
-
-
Christian Ehrhardt authored
In Debian we nowadays only have libssh2 via https://salsa.debian.org/libvirt-team/libvirt/-/blob/debian/master/debian/control#L41 https://salsa.debian.org/libvirt-team/libvirt/-/blob/debian/master/debian/rules#L111 But in Ubuntu this has to stay disabled due to not being in main https://git.launchpad.net/ubuntu/+source/libvirt/commit/?h=ubuntu/impish-devel&id=6ef5c50d74b89e766ad3bf09e7ccc948a59b57d3 Fedora/Rhel builds always have libssh, and only newer have libssh2 https://gitlab.com/libvirt/libvirt/-/commit/11a2550c27176745a0f786abd5b99822931ca3c6 https://gitlab.com/libvirt/libvirt/-/commit/0f601d2f868f2017cdd16e0a7ca90a59e7d5e120#a546a23b2e505b8b9636351c964faa9d89e0b9eb_189_162 Related projects have even switched libssh2 -> libssh https://gitlab.com/qemu-project/qemu/-/commit/b10d49d7619e4957b4b971f816661b57e5061d71 While not knowing the library one might think libssh2 is the newer libssh that is wrong. It seems it provides some extra use cases for users. And furthermore it seems safe to enable both. That would Debian allow to provide both and Ubuntu to have at least some libssh features. LP: #1939416 Closes: #985969 Signed-off-by:
Christian Ehrhardt <christian.ehrhardt@canonical.com>
-
- 09 Aug, 2021 1 commit
-
-
Andrea Bolognani authored
libvirt 7.6.0 doesn't introduce any new public symbols. Two small existing issue are fixed in the process: * since libvirt 7.4.0 didn't introduce any new public symbols either, the entry for @LIBVIRT_7.4.0 should not exist; * instead of @LIBVIRT_ADMIN_PRIVATE_7.4.0, the entry should have been created for @LIBVIRT_ADMIN_PRIVATE_7.5.0. Gbp-Dch: Ignore
-
- 08 Aug, 2021 4 commits
-
-
Andrea Bolognani authored
Gbp-Dch: Ignore
-
Andrea Bolognani authored
Gbp-Dch: Ignore
-
Andrea Bolognani authored
Update to upstream version '7.6.0' with Debian dir d0b377bced437ac4fbc0753c4cbf9d37edf0e631
-
Andrea Bolognani authored
-
- 05 Jul, 2021 13 commits
-
-
Christian Ehrhardt authored
Signed-off-by:
Christian Ehrhardt <christian.ehrhardt@canonical.com> -
Christian Ehrhardt authored
Detection is now weaker, _libvirtd / _remote are needed to build. _test follows the upstream change b4ee29e1cb that did the same for .spec files. Signed-off-by:
Christian Ehrhardt <christian.ehrhardt@canonical.com> -
Christian Ehrhardt authored
Signed-off-by:
Christian Ehrhardt <christian.ehrhardt@canonical.com> -
Christian Ehrhardt authored
Signed-off-by:
Christian Ehrhardt <christian.ehrhardt@canonical.com> -
Christian Ehrhardt authored
Signed-off-by:
Christian Ehrhardt <christian.ehrhardt@canonical.com> -
Christian Ehrhardt authored
Signed-off-by:
Christian Ehrhardt <christian.ehrhardt@canonical.com> -
Christian Ehrhardt authored
7.4 didn't add symbols but 7.1/7.2/7.3 did. + virDomainGetMessages@LIBVIRT_7.1.0 7.4.0-1 + virDomainStartDirtyRateCalc@LIBVIRT_7.2.0 7.4.0-1 + virNodeDeviceCreate@LIBVIRT_7.3.0 7.4.0-1 + virNodeDeviceDefineXML@LIBVIRT_7.3.0 7.4.0-1 + virNodeDeviceUndefine@LIBVIRT_7.3.0 7.4.0-1 Signed-off-by:
Christian Ehrhardt <christian.ehrhardt@canonical.com> -
Christian Ehrhardt authored
This backend is only really meaningful to openVZ which isn't really a thing on Debian. But since [1] the binary checks were converted from build to runtime and due to that it now would build automatically. [1]: https://libvirt.org/git/?p=libvirt.git;a=commit;h=6503e1a0 Signed-off-by:
Christian Ehrhardt <christian.ehrhardt@canonical.com> -
Christian Ehrhardt authored
Signed-off-by:
Christian Ehrhardt <christian.ehrhardt@canonical.com> -
Christian Ehrhardt authored
Signed-off-by:
Christian Ehrhardt <christian.ehrhardt@canonical.com> -
Christian Ehrhardt authored
Signed-off-by:
Christian Ehrhardt <christian.ehrhardt@canonical.com> -
Christian Ehrhardt authored
Signed-off-by:
Christian Ehrhardt <christian.ehrhardt@canonical.com> -
Christian Ehrhardt authored
Drop d/p/backport/apparmor-let-image-label-setting-loop-over-backing-files.patch [d51ad000 in 7.1.0] Signed-off-by:
Christian Ehrhardt <christian.ehrhardt@canonical.com>
-
- 03 Jul, 2021 2 commits
-
-
Andrea Bolognani authored
Update to upstream version '7.5.0' with Debian dir a825446b7a3f04924223618000cf6cdd87e488a7
-
Andrea Bolognani authored
-
- 26 Feb, 2021 3 commits
-
-
Andrea Bolognani authored
Without the "Team upload" line, Lintian flags this as an NMU and reports a few issues which do not actually exist. Gbp-Dch: Ignore
-
Andrea Bolognani authored
Starting with 2b705f6e, the libvirt-guests sysv init script is just a wrapper, and the actual functionality is implemented by a script installed under /usr/lib/libvirt which is common to both sysv and systemd. Lintian is, understandably, not aware of this, and thus flags the sysv init script as containing a number of serious mistakes. Add overrides to silence it. Gbp-Dch: Ignore
-
Andrea Bolognani authored
-
- 15 Feb, 2021 4 commits
-
-
Andrea Bolognani authored
Store the default (yes) in the sysv init script itself rather than in the default file, and turn the corresponding line in the latter into a comment; additionally, discourage users from using this option to prevent libvirtd from starting at boot and recommend disabling the sysv service instead. Gbp-Dch: Ignore
-
Andrea Bolognani authored
There are a few cases in which hardcoded values are used when a suitable variable already exists; some conditionals in the script for libvirtd are also tweaked so that a diff between the two scripts will only highlight the actual functional differences, without additional noise. This commit is better viewed with 'git show -w'. Gbp-Dch: Ignore
-
Andrea Bolognani authored
When the script was created by copying the one for libvirtd, a few references were not updated correctly.
-
Andrea Bolognani authored
Several changes: * use $LIBVIRTD_ARGS, which is consistent with upstream and other daemons, instead of $libvirtd_opts; * drop mentions of $KRB5_KTNAME, same as upstream has done with commit 68d08cf2f200; * list all sysv-only options together, and make it very clear that they don't apply when systemd is in use. Note that, unlike upstream, we don't enable a timeout for libvirtd by default: this is because we need the default file to work both for systemd, which has socket activation, and for sysv, which doesn't. During upgrades, if the default file had not been modified by the user then the transition will happen quietly; however, if local modifications had been made, then the admin will be left dealing with a nasty-looking diff: highlighting the change in a NEWS entry will hopefully mitigate the confusion.
-
- 14 Feb, 2021 5 commits
-
-
Andrea Bolognani authored
Right now we're ignoring the upstream-provided default file and installing our own that we keep in debian/ instead, but that means that a) we might not realize upstream has made some changes that our default file should adapt to and b) we have to treat this one default file differently from the other ones we install. Since we can't just install the upstream default file directly, settle for the next best thing: tweak it via a patch before the upstream build system installs it. For now, the patch replaces the upstream file completely with our version, but later we're going to aim for a more maintainable hybrid approach. Gbp-Dch: Ignore
-
Andrea Bolognani authored
Currently, we're installing the upstream-provided default files in a rather roundabout way: we copy them from the source directory to the debian/ directory, then we ask dh_installinit to to install them, and we clean up the copy at dh_auto_clean time. The upstream build system already installs all these files under $(DESTDIR), and all we need to do is rename the directory they are installed into so that it matches Debian conventions and pick up the files from there. Gbp-Dch: Ignore
-
Andrea Bolognani authored
We apply pretty much the same changes to all services, so it makes sense to have a single patch instead of three. Gbp-Dch: Ignore
-
Andrea Bolognani authored
Simple text replacement for things like @sbindir@ is already handled by the upstream build system, so we don't really need to patch the script as much as we currently do. Gbp-Dch: Ignore
-
Andrea Bolognani authored
Instead of patching the libvirt-guests.sh script to add sysv init information and then installing two copies of it, one under /usr/lib/libvirt and one under /etc/init.d, create a tiny wrapper script for the latter location. This is the same approach that was used upstream before sysv init support was dropped in commit 912fe2df9d86. We still need to patch libvirt-guest.sh to make it work on Debian. Gbp-Dch: Ignore
-
- 10 Feb, 2021 2 commits
-
-
Andrea Bolognani authored
-
Andrea Bolognani authored
No changes needed.
-
- 08 Feb, 2021 2 commits
-
-
Christian Ehrhardt authored
Sockets need to be started on install to be ready (drop --no-start), but not stopped/restarted (add --no-stop-on-upgrade, drop --no-restart-after-upgrade) later on to prevent issues on upgrade (on running services) or reinstall (breaking the .sockets state) Details: - drop --no-start: .socket removed without being stopped will enter a faulty state that can only be recovered with a restart of the socket. We restart the service (libvirtd) backing the sockets anyway, the sockets can and should stay up as-is. - drop --no-restart-after-upgrade: `--no-restart-after-upgrade` does not prevent restarts. It only controls when the restart happens, but we want no restart at-all so drop it. - add --no-stop-on-upgrade: This needs to be added to not touch the .sockets state at all on upgrades. LIBVIRT_NOSTART_UNITS nowadays only includes SOCKETS and their handling is rather special, so this changes the name to LIBVIRT_SOCKETS to be more obvious when touching d/rules Signed-off-by:
Christian Ehrhardt <christian.ehrhardt@canonical.com> -
Christian Ehrhardt authored
Due to various changes libvirt-guests.service is no more started at all. This all started when trying to not restart it on upgrades which we now do properly for LIBVIRT_SYSTEM_SERVICES, so move libvirt-guests.service to this group. Not doing so would stop and start VMs on package upgrades. Signed-off-by:
Christian Ehrhardt <christian.ehrhardt@canonical.com>
-
- 04 Feb, 2021 1 commit
-
-
Christian Ehrhardt authored
As of today `libvirt-clients` pulls in too much due to the split of `libvirt-login-shell` and the dependencies it has now. Not everyone using `libvirt-clients` (I'd think only a very small fraction) uses `libvirt-login-shell`, but it is a Recommends and therefore often installed as dependency. Further down `libvirt-login-shell` depends on `libvirt-daemon-driver-lxc` (reasonable), but than in turn depends on `libvirt-daemon`. That latter one is reasonable for `libvirt-daemon-driver-lxc` itself, but looking at the full chain it means that anyone using `libvirt-clients` (which could quite often be to manage a remote system) will also get `libvirt-daemon` installed. Cut this dependency chain by reducing `libvirt-clients` -> `libvirt-login-shell` to a suggests. Signed-off-by:
Christian Ehrhardt <christian.ehrhardt@canonical.com>
-
- 31 Jan, 2021 1 commit
-
-
Andrea Bolognani authored
dpkg-shlibdeps will figure out these dependencies exist and include them in ${shlib:Depends}, but they will look like Depends: libvirt0 (>= 7.0.0) which can sometimes end up not being strict enough. In order to ensure that all parts of libvirt that are tightly coupled are always upgraded at the same time, make these dependencies explicit.
-