Commit Graph

234582 Commits

Author SHA1 Message Date
Florian Klink 12d32eefed lvm2: rename enable_{cmdlib,dmeventd} to enable{Cmdlib,Dmeventd}
Make this more consistent with how these flags look like in the rest of
nixpkgs.
2020-07-14 12:00:33 +02:00
ajs124 53a34361af nixos/tests/installer: lvm: test lvm2-pvscan@ units
Also, add some sleep statements in between, which seems to at least feel
like it causes

> WARNING: Device /dev/vda* not initialized in udev database even after waiting 10000000 microseconds.

To occur less frequently.

This eventually still succeeds after some amount of waiting, I suspect
some racyness in the way lvm's udev-triggered scripts trigger other
units.
2020-07-14 12:00:33 +02:00
ajs124 d056f6e86d nixos/test/installer: add postBootCommands 2020-07-14 12:00:33 +02:00
Florian Klink e55ef86ebd systemd_with_lvm2: remove
This is already handled by the lvm module, which now properly adds the
lvm systemd generators.

Initially introduced in c0fd88748a.
2020-07-14 12:00:33 +02:00
ajs124 1a1e7237de nixos/tasks/lvm: add dmeventd and lvmthin support
Introduce a pkgs.lvm2_dmeventd that contains dmeventd support, and
enable if services.lvm.dmeventd.enable is true.
2020-07-14 12:00:32 +02:00
Florian Klink 9f83907013 lvm2: only split bin and lib out from out if cmdlib isn't enabled 2020-07-12 23:04:33 +02:00
Florian Klink b8129312bd lvm2: fix location to systemd-run invocation 2020-07-12 23:04:33 +02:00
ajs124 e6a6846d4f lvm2: fix paths to use /run instead of /var/run.
This shuts up some warnings.
2020-07-12 23:04:33 +02:00
Florian Klink d3a991d410 lvm2: add multiple output support 2020-07-12 23:04:33 +02:00
Florian Klink df67459b89 lvm2: don't embed ./configure line in lvm2 binary 2020-07-12 23:04:33 +02:00
Florian Klink 198d1e6f5c lvm2: make --enable-cmdlib optional
This seems to be mostly used to simplify LV management tasks from a web
interface
(https://www.redhat.com/archives/linux-lvm/2008-September/msg00029.html),
and is as fat as the `lvm` binary itself
2020-07-12 23:04:33 +02:00
ajs124 3ca74a976a lvm2: 2.03.01 -> 2.03.09 2020-07-12 23:04:33 +02:00
Florian Klink fbe7027251 lvm2: fetch sources from http instead of git
Otherwise, we end up in a dependency cycle:

systemd -> cryptsetup -> lvm -> fetchgit -> git -> openssh -> libfido2 -> hidapi -> libusb -> udev=systemd
2020-07-12 23:04:33 +02:00
ajs124 33030f1bd2 lvm2: add myself as maintainer 2020-07-12 23:04:33 +02:00
Florian Klink 5e1eb7bd59 lvm2: cleanups, make udev optional
- use installTargets again ("install", and
   "install_systemd_{generators,units,configuration}" when udev is not
   null)
 - The call to the blkid binary in lvm2's 13-dm-disk.rules file
   disappeared (so we don't need to patch in blkid anymore).
   lvm seems to rely on udev's internal blkid functionality.
 - Call /run/current-system/systemd/bin/udevadm instead
   of ${systemd}/bin/udevadm in the lvm activation generator.
   This is not necessary to break the dependency cycle (as we don't use
   that file when building without udev), but a good idea anyways -
   We want to trigger the udevadm of the current system, not the one
   that lvm was built with.
2020-07-12 23:04:33 +02:00
Florian Klink 2d2b7513d9 lvm2: remove unused default.upstream file 2020-07-12 23:04:32 +02:00
Florian Klink 12834b3e87
Merge pull request #91232 from primeos/systemd-allow-transient-hostname
systemd: Allow setting the transient hostname via DHCP
2020-07-11 22:28:52 +02:00
Frederik Rietdijk a3a40ac7cc Merge staging-next into staging 2020-07-11 09:00:18 +02:00
Frederik Rietdijk ae8eee9c3f Merge master into staging-next 2020-07-11 08:59:54 +02:00
Mario Rodas c87c474b17
Merge pull request #92901 from r-ryantm/auto-update/rustup
rustup: 1.21.1 -> 1.22.1
2020-07-10 22:32:18 -05:00
R. RyanTM 0d68512749 rustup: 1.21.1 -> 1.22.1 2020-07-11 01:11:05 +00:00
Michael Weiss 483dbe9237 systemd: Allow setting the transient hostname via DHCP
This permits using method_set_hostname but still denies
method_set_static_hostname. As a result DHCP clients can now always set
the transient hostname via the SetHostname method of the D-Bus interface
of systemd-hostnamed (org.freedesktop.hostname1.set-hostname).
If the NixOS option networking.hostName is set to an empty string (or
"localhost") the static hostname (kernel.hostname but NOT /etc/hostname)
will additionally be updated (this is intended).

From "man hostnamectl": The transient hostname is a fallback value
received from network configuration. If a static hostname is set, and is
valid (something other than localhost), then the transient hostname is
not used.

Fix #74847.

Note: It's possible to restrict access to the org.freedesktop.hostname1
interface using Polkit rules.
2020-07-11 00:05:41 +02:00
Austin Seipp 57a53677b4
liburing: 0.6pre600 -> 0.7
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2020-07-10 16:54:28 -05:00
Jan Tojnar 4be4ae71aa
Merge pull request #92829 from r-ryantm/auto-update/poppler-glib
poppler: 0.89.0 -> 0.90.0
2020-07-10 23:20:42 +02:00
Ryan Mulligan fb3fd9762f
Merge pull request #92826 from r-ryantm/auto-update/pgrouting
postgresql11Packages.pgrouting: 3.0.0 -> 3.0.1
2020-07-10 11:48:36 -07:00
Benjamin Hipple 2dadcdc05b
Merge pull request #92840 from r-ryantm/auto-update/python2.7-bitarray
python27Packages.bitarray: 1.2.2 -> 1.3.0
2020-07-10 14:45:42 -04:00
Jan Tojnar a23cb68ccf
Merge pull request #92886 from jtojnar/fix/gse-sysmon 2020-07-10 20:35:40 +02:00
Jan Tojnar e96bf89d1e
gnomeExtensions.system-monitor: unbreak with newer GNOME Shell
Had to switch to master and include Clutter typelib to path since recent versions of GNOME Shell open preferences out of Shell context.
2020-07-10 20:12:34 +02:00
Emery Hemingway c960abf50f trojita: 0.7.20190618 -> 0.7.20200706
Fix #92869
2020-07-10 23:38:56 +05:30
Benjamin Hipple 01f0aef501
Merge pull request #86809 from r-ryantm/auto-update/capnproto
capnproto: 0.7.0 -> 0.8.0
2020-07-10 14:06:58 -04:00
R. RyanTM 3a32232cbf python27Packages.wasabi: 0.6.0 -> 0.7.0 2020-07-10 11:01:42 -07:00
R. RyanTM c3bbbb75a9 python27Packages.pytest-isort: 1.0.0 -> 1.1.0 2020-07-10 10:57:01 -07:00
Jan Tojnar a100503b08
gnome3.mutter: export libdir
It is needed for finding clutter & co. typelibs by extenstions.
2020-07-10 19:42:13 +02:00
Benjamin Hipple dd4a6b64f8
Merge pull request #92651 from matthuszagh/nmigen
python3Packages.nmigen: from unstable-2020-02-08 to unstable-2020-04-02
2020-07-10 12:47:09 -04:00
Silvan Mosberger 75ee18766a
yarn2nix: Don't pass yarnNix to mkDerivation (#92856)
The generated yarnNix file doesn't need to be part of the mkDerivation.
And doing so prevents other platforms from reproducibly instantiating
it. With this change you can e.g. do

  darwinPkgs.yarn2nix.mkYarnPackage {
    # ...
    yarnNix = pkgs.yarn2nix.mkYarnNix {
      yarnLock = ./yarn.lock;
    };
  }

Which is a darwin derivation, but can still be instantiated reproducibly on Linux.
2020-07-10 16:24:03 +00:00
Tim Steinbach 0416089dc6
linux: 5.8-rc2 -> 5.8-rc4 2020-07-10 10:23:46 -04:00
Tim Steinbach af5accfa96
linux/hardened/patches/5.7: 5.7.7.a -> 5.7.8.a 2020-07-10 09:37:28 -04:00
Tim Steinbach cda9153727
linux/hardened/patches/5.4: 5.4.48.a -> 5.4.49.a 2020-07-10 09:37:28 -04:00
Tim Steinbach 4be3ad84d2
linux/hardened/patches/4.19: 4.19.131.a -> 4.19.132.a 2020-07-10 09:37:27 -04:00
Tim Steinbach 2371cb620a
linux/hardened/patches/4.14: 4.14.187.a -> 4.14.188.a 2020-07-10 09:37:27 -04:00
Tim Steinbach 21ed6c8546
linux_latest-libre: 17537 -> 17559 2020-07-10 09:37:27 -04:00
Maximilian Bosch e43685ef7d
mautrix-whatsapp: 0.1.2 -> 0.1.3
https://github.com/tulir/mautrix-whatsapp/releases/tag/v0.1.3
2020-07-10 15:31:31 +02:00
Daniël de Kok e4600a8dc8
Merge pull request #92824 from r-ryantm/auto-update/pcsc-tools
pcsctools: 1.5.6 -> 1.5.7
2020-07-10 14:33:53 +02:00
Daniël de Kok 8095d0b885 pcsctools: add missing dependencies for gscriptor 2020-07-10 14:08:14 +02:00
Aaron Andersen b34f5396fd
Merge pull request #84562 from deshaw/contrib/perl-authen-krb5-admin
perlPackages.AuthenKrb5Admin and dep
2020-07-10 07:39:40 -04:00
Herwig Hochleitner c255b0fa45 Revert "webtorrent_desktop: 0.20.0 -> 0.21.0"
This reverts commit 428b4353ce.

Build error

unpacking sources
tar: ./usr/lib/webtorrent-desktop/chrome-sandbox: Cannot change mode to rwsr-xr-x: Operation not permitted
tar: Exiting with failure status due to previous errors
dpkg-deb: error: tar subprocess returned error exit status 2
b
2020-07-10 13:38:10 +02:00
Herwig Hochleitner 428b4353ce webtorrent_desktop: 0.20.0 -> 0.21.0 2020-07-10 13:33:24 +02:00
zimbatm f0fb57a079
terraform_0_13: init at 0.13.0-beta3 2020-07-10 13:20:40 +02:00
Francesco Gazzetta 77d5b41b05 castor: 0.8.15 -> 0.8.16 2020-07-10 16:10:35 +05:30
Maximilian Bosch cf47c64ee7
Merge pull request #92788 from lukebfox/colorls
colorls: 1.3.3 -> 1.4.2
2020-07-10 11:55:43 +02:00