Commit Graph

158 Commits

Author SHA1 Message Date
Sandro Jäckel
9378fdf87e
iproute: deprecate alias 2021-04-04 01:43:46 +02:00
ajs124
cba2f940f3 libvirt: python2 -> python3 2021-02-13 19:04:48 +01:00
Robert Schütz
4a11da4ae3
libvirt_5_9_0: mark as insecure (#111322) 2021-02-07 10:38:08 +01:00
Izorkin
c699a6a855 libvirt: removed unknown options 2021-01-27 13:27:25 -08:00
Izorkin
7c90be596b libvirt: 6.8.0 -> 7.0.0 2021-01-27 13:27:25 -08:00
Ben Siraphob
2f78ee7e81 pkgs/development: stdenv.lib -> lib 2021-01-24 00:16:29 +07:00
Euan Kemp
f0b1cdb189 libvirt: don't use iptables-nftables
Per a comment on the PR that made this change, it turns out to cause
issues in some cases: https://github.com/NixOS/nixpkgs/pull/109332#issuecomment-762005163

For now, let's revert back. Presumably the issues derive from the system
iptables not matching libvirt's iptables.

In the future, #81172 should move us back into the future, and I'm
perfectly fine waiting for that PR to handle this separately.
2021-01-22 22:44:20 +00:00
Ben Siraphob
66e44425c6 pkgs/development/libraries: stdenv.lib -> lib 2021-01-21 19:11:02 -08:00
Jonathan Ringer
9bb3fccb5b treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nix
continuation of #109595

pkgconfig was aliased in 2018, however, it remained in
all-packages.nix due to its wide usage. This cleans
up the remaining references to pkgs.pkgsconfig and
moves the entry to aliases.nix.

python3Packages.pkgconfig remained unchanged because
it's the canonical name of the upstream package
on pypi.
2021-01-19 01:16:25 -08:00
Euan Kemp
145cf67bbb
libvirt: correct localstatedir (#109415)
It was supposed to be '/var' rather than '/var/lib'. This fixes an issue
where some tools don't connect to the right socket (because they were
connecting to '$localstatedir/run/libvirt...' instead of
'$runstatedir/libvirt...').

Also change runstatedir to just be '/run' since it avoids a log line
complaining about that.
2021-01-16 22:44:42 +01:00
Euan Kemp
5ecaaf1ba8 libvirt: fixups for meson build
The previous commit updates to a newer libvirt with a newer build setup.

This commit carries forward that work into a mergeable state.

Based on the suggestion in
https://github.com/NixOS/nixpkgs/pull/103309#issuecomment-724958608, I
did a fwupd-like patch for the various meson.build files.
2021-01-14 07:57:14 -08:00
Matthieu Coudron
cc29c62867 libvirt: 6.6.0 -> 6.8.0 2021-01-14 07:57:14 -08:00
Graham Christensen
bc49a0815a
utillinux: rename to util-linux 2020-11-24 12:42:06 -05:00
Mario Rodas
981e163aa3 nixops: fix build on darwin 2020-11-05 04:20:00 +00:00
Bas van Dijk
af8409fc0a libvirt: fetch sources from gitlab
That seems to be the official repository now.
2020-10-01 10:55:56 +02:00
Bas van Dijk
3acb90e7dd libvirt: update source URLs to https 2020-09-29 10:09:09 +02:00
Bas van Dijk
8d995c440d libvirt: remove -fno-stack-protector because it builds without it 2020-09-29 10:03:36 +02:00
Bas van Dijk
de15287183 libvirt: update autoconf 1.70 comment to 2.70 2020-09-29 09:58:48 +02:00
Bas van Dijk
4606528fcb libvirt: update homepage to https URL 2020-09-29 09:45:13 +02:00
Bas van Dijk
d5b0c8bcdf libvirt: 6.3.0 -> 6.6.0
Also upgrades `python3Packages.libvirt`
and patches the `rpcgen` tool from Apple's `developer_cmds` package.
2020-09-29 00:18:24 +02:00
Maximilian Bosch
698461394c
libvirt_5_9_0: fix build w/glibc-2.32 2020-09-12 23:04:50 +02:00
Maximilian Bosch
24fd601640
libvirt: fix build w/glibc-2.32 2020-09-12 23:04:48 +02:00
Jan Tojnar
1837136c7b libvirt: use /run for runstatedir
systemd complains:

	Jul 08 12:43:59 kaiser systemd[1]: /nix/store/bvfikb8v9m646m23fqm0rfnnsj6plc2k-libvirt-6.2.0/lib/systemd/system/libvirtd-admin.socket:11: ListenStream= references a path below legacy directory /var/run/, updating /var/run/libvirt/libvirt-admin-sock → /run/libvirt/libvirt-admin-sock; please update the unit file accordingly.
	Jul 08 12:43:59 kaiser systemd[1]: /nix/store/bvfikb8v9m646m23fqm0rfnnsj6plc2k-libvirt-6.2.0/lib/systemd/system/libvirtd-ro.socket:11: ListenStream= references a path below legacy directory /var/run/, updating /var/run/libvirt/libvirt-sock-ro → /run/libvirt/libvirt-sock-ro; please update the unit file accordingly.
	Jul 08 12:43:59 kaiser systemd[1]: /nix/store/bvfikb8v9m646m23fqm0rfnnsj6plc2k-libvirt-6.2.0/lib/systemd/system/libvirtd.socket:9: ListenStream= references a path below legacy directory /var/run/, updating /var/run/libvirt/libvirt-sock → /run/libvirt/libvirt-sock; please update the unit file accordingly.

Let's just set it correctly manually, that is what Red Hat does:

ba7592f6c1

See also:

390997925a
2020-07-08 18:56:01 +02:00
Edmund Wu
2913697d6d
libvirt: 6.2.0 -> 6.3.0 2020-05-28 23:42:04 -04:00
Jaka Hudoklin
741c8c24e1 libvirt: enable polkit support 2020-05-13 21:00:04 +07:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Piotr Bogdan
bc66b77de9 libvirt: 6.1.0 -> 6.2.0 2020-04-09 10:30:14 +01:00
Izorkin
9336b15a88 libvirt: 5.4.0 -> 5.9.0 2020-03-15 15:13:03 +07:00
volth
d8664c78b1 libvirt: 6.0.0 -> 6.1.0, fix module 2020-03-15 11:29:04 +07:00
wedens
24c8d75874 libvirt: 5.4.0 -> 6.0.0 2020-03-15 11:28:54 +07:00
Andreas Rammhold
22388a56c2
libvirtd: fix path to ebtables
With the bump of iptables (#75026) ebtables was renamed from `ebtables`
to `ebtables-legacy`. libvirtd requires this binary to be availabe to
configure the host networking.

fixes #75878
2020-01-12 23:28:15 +01:00
Vladimír Čunát
985d1ac425
Merge branch 'master' into staging-next
There were several more conflicts from name -> pname+version;
all auto-solved by kdiff3, hopefully OK.

Hydra nixpkgs: ?compare=1538611
2019-08-25 14:57:11 +02:00
Vladimír Čunát
2e6bf42a22
Merge branch 'master' into staging-next
There ver very many conflicts, basically all due to
name -> pname+version.  Fortunately, almost everything was auto-resolved
by kdiff3, and for now I just fixed up a couple evaluation problems,
as verified by the tarball job.  There might be some fallback to these
conflicts, but I believe it should be minimal.

Hydra nixpkgs: ?compare=1538299
2019-08-24 08:55:37 +02:00
Alexander Bakker
d20022018e libvirtd: add onBoot option
This adds a new ``onBoot`` option that allows specifying the action taken on
guests when the host boots. Specifying "start" ensures all guests that were
running prior to shutdown are started, regardless of their autostart settings.
Specifying "ignore" will make libvirtd ignore such guests. Any guest marked as
autostart will still be automatically started by libvirtd.
2019-08-23 17:52:12 +02:00
Robin Gloster
4e60b0efae
treewide: update globin's maintained drvs 2019-08-20 19:36:05 +02:00
volth
46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
Robert Scott
8ac0f575d9 libvirt: 5.3.0 -> 5.4.0
including parallel bumps of pythonPackages.libvirt and perlPackages.SysVirt

also include patches for CVE-2019-10161, CVE-2019-10166, CVE-2019-10167
and CVE-2019-10168
2019-06-29 11:59:48 +01:00
Graham Christensen
cc588bd420
Merge pull request #61011 from volth/libvirt-5.3.0
libvirt: 4.10.0 -> 5.3.0
2019-06-28 16:06:17 -04:00
Peter Hoeg
67cca52fd9
Merge pull request #53204 from peterhoeg/m/libvirt
libvirt: support proper networking in user session
2019-06-27 11:39:48 +08:00
volth
8da1da9d74 libvirt: 4.10.0 -> 5.3.0 2019-05-05 21:58:11 +00:00
Daniel Kuehn
b32491fd3c libvirt: Add argument to enable support for ceph rbd storage 2019-02-06 19:52:42 +01:00
Peter Hoeg
38798eefc7 libvirtd: pass proper paths to qemu helpers 2019-01-07 12:09:34 +08:00
volth
0ab6572324 libvirt: 4.7.0 -> 4.10.0 2018-12-17 23:12:44 +00:00
volth
0a784c094f libvirt: 4.5.0 -> 4.7.0 (#46502) 2018-09-29 22:33:38 +02:00
Uli Baum
ebac61b0d0 libvirt: explicitly configure qemu support
it is enabled by default in 4.5.0 but conditional in 4.6.0 so
let's already put it in here to avoid issues on the next bump.
2018-08-21 22:54:54 +02:00
Uli Baum
6b5b7d96fb Revert "libvirt: 4.5.0 -> 4.6.0 (#44566)"
This reverts commit 8835240895.

4.6.0 is quite broken. Let's wait for the next release.
2018-08-21 22:08:21 +02:00
Uli Baum
528f4a2d1f Revert "libvirt: jansson required for qemu suppport"
This reverts commit df05344d96.

Upstream has reverted their move from yajl to jansson after 4.6.0
because of major issues.
Let's revert to libvirt 4.5.0 and wait for the next upstream release.
2018-08-21 22:07:05 +02:00
Uli Baum
4ad233e518 Revert "libvirt: fix dlopen("libjansson.so.4")"
This reverts commit 929a53f281.

Upstream has reverted their move from yajl to jansson after 4.6.0
because of major issues. No point in trying to fix it.
Let's revert to libvirt 4.5.0 and wait for the next upstream release.
2018-08-21 22:03:58 +02:00
Matthieu Coudron
929a53f281 libvirt: fix dlopen("libjansson.so.4")
Commit 59027e2 broke libvirt broke libvirt/nixops on linux.
Use ${targetPlatform.extensions.sharedLibrary} to accomodate both linux and darwin.
2018-08-19 22:33:06 +09:00
Jude Taylor
59027e2880 Revert "libvirt: fix dlopen("libjansson.so.4")"
This reverts commit d46cfd2ff0, which
broke libvirt + some dependent packages (notably nixops) on Darwin
2018-08-15 12:07:03 -07:00