Commit graph

8092 commits

Author SHA1 Message Date
aszlig 99ba1cb424
Increase max group name length to 32 characters
With #36556, a check was introduced to make sure the user and group
names do not exceed their respective maximum length. This is in part
because systemd also enforces that length, but only at runtime.

So in general it's a good idea to catch as much as we can during
evaluation time, however the maximum length of the group name was set to
16 characters according groupadd(8).

The maximum length of the group names however is a compile-time option
and even systemd allows more than 16 characters. In the mentioned pull
request (#36556) there was already a report that this has broken
evaluation for people out there.

I have also checked what other distributions are doing and they set the
length to either 31 characters or 32 characters, the latter being more
common.

Unfortunately there is a difference between the maximum length enforced
by the shadow package and systemd, both for user name lengths and group
name lengths. However, systemd enforces both length to have a maximum of
31 characters and I'm not sure if this is intended or just a off-by-one
error in systemd.

Nevertheless, I choose 32 characters simply to bring it in par with the
maximum user name length.

For the NixOS assertion however, I use a maximum length of 31 to make
sure that nobody accidentally creates services that contain group names
that systemd considers invalid because of a length of 32 characters.

Signed-off-by: aszlig <aszlig@nix.build>
Closes: #38548
Cc: @vcunat, @fpletz, @qknight
2018-04-08 12:51:33 +02:00
Jörg Thalheim 217bba3d3c
Merge pull request #38591 from r-ryantm/auto-update/alsa-lib
alsaLib: 1.1.5 -> 1.1.6
2018-04-08 11:00:33 +01:00
Frederik Rietdijk 595a72589f Merge master into staging 2018-04-08 10:54:17 +02:00
R. RyanTM b3cbb2414b alsaLib: 1.1.5 -> 1.1.6
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/alsa-lib/versions.

These checks were done:

- built on NixOS
- ran ‘/nix/store/37xgjr2ij3mvfrncywd23q2csnpbc1id-alsa-lib-1.1.6/bin/aserver -h’ got 0 exit code
- ran ‘/nix/store/37xgjr2ij3mvfrncywd23q2csnpbc1id-alsa-lib-1.1.6/bin/aserver --help’ got 0 exit code
- found 1.1.6 with grep in /nix/store/37xgjr2ij3mvfrncywd23q2csnpbc1id-alsa-lib-1.1.6
- directory tree listing: https://gist.github.com/9d2e30dc8cb0e3b643b48b4ddbe3a418
2018-04-07 19:34:21 -07:00
Robert Hensing 7f25b26511 linuxPackages_custom: fix missing argument and add test
The required argument 'hostPlatform' was missing from linuxPackages_custom's
call to linuxManualConfig.

In order to prevent this in the future, this commit adds
linuxPackages_custom_tinyconfig_kernel so linuxPackages_custom gets tested.

This also adds linuxConfig, to derivate default linux configurations
via make defconfig, make tinyconfig, etc.

Closes #38034.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
2018-04-07 16:40:25 -05:00
Jörg Thalheim 0af5b254ab zfsUnstable: fix evaluation of error message 2018-04-06 16:18:26 +01:00
Jörg Thalheim e7f2b7692b zfsUnstable: mark correct zfs version as incompatible 2018-04-06 12:10:11 +01:00
Jörg Thalheim 6c87fbb620 zfsUnstable: mark linux 4.16 as broken 2018-04-06 12:07:34 +01:00
Will Dietz 8c2b80290a
Merge pull request #38482 from dtzWill/update/procps-ng-3.3.13
procps-ng: 3.3.12 -> 3.3.13
2018-04-05 13:39:00 -05:00
Will Dietz 62c35fd1c0
Merge pull request #38480 from dtzWill/update/busybox-1.28.3
busybox: 1.28.2 -> 1.28.3
2018-04-05 12:42:25 -05:00
Will Dietz c95720ca14 procps-ng: 3.3.12 -> 3.3.13
https://gitlab.com/procps-ng/procps/tags/v3.3.13

Patch to fix new version w/musl.
2018-04-05 12:40:27 -05:00
Frederik Rietdijk a9f37d1c25 Merge master into staging 2018-04-05 19:25:05 +02:00
Will Dietz ce4a423499 busybox: 1.28.2 -> 1.28.3 2018-04-05 12:00:51 -05:00
Bastian Köcher 72f3e417ac raspberrypifw: 1.20171029 -> 1.20180328 2018-04-05 02:42:12 +03:00
Frederik Rietdijk 23741692fa Merge master into staging 2018-04-04 19:36:39 +02:00
Jörg Thalheim b2851676c3
Merge pull request #38434 from Mic92/zfs-unstable
linuxPackages.zfsUnstable: 2018-02-02 -> 2018-04-04
2018-04-04 16:50:47 +01:00
Corey O'Connor fccddb2556 firmware-linux-nonfree: Update SHA and add rev to prevent breakage on future commits. 2018-04-04 07:41:56 -07:00
Jörg Thalheim 41958e5d2b linuxPackages.zfsUnstable: 2018-02-02 -> 2018-04-04 2018-04-04 15:27:25 +01:00
Jörg Thalheim 28ba64c433 linuxPackages.splUnstable: 2018-01-24 -> 2018-03-09 2018-04-04 15:27:19 +01:00
Daniel Peebles fcbe4afe18
Merge pull request #36441 from LnL7/darwin-cleanup-frameworks
darwin-frameworks: cleanup
2018-04-04 09:38:27 -04:00
John Ericson e4e0cd66fe
Merge pull request #38399 from obsidiansystems/binutils-is-binutils
binutils: No more darwin conditionals
2018-04-03 21:28:11 -04:00
Ryan Mulligan b705ac629f sysvinit: 2.88dsf -> 2.89
Semi-automatic update generated by https://github.com/ryantm/nix-update tools.

This update was made based on information from https://repology.org/metapackage/sysvinit/versions.

These checks were done:

- built on NixOS
- ran `/nix/store/n54idc6ddkgkwnbbg8y6avb5wvzb5s34-sysvinit-2.89/bin/last help` got 0 exit code
- ran `/nix/store/n54idc6ddkgkwnbbg8y6avb5wvzb5s34-sysvinit-2.89/bin/utmpdump -h` got 0 exit code
- ran `/nix/store/n54idc6ddkgkwnbbg8y6avb5wvzb5s34-sysvinit-2.89/bin/wall help` got 0 exit code
- found 2.89 with grep in /nix/store/n54idc6ddkgkwnbbg8y6avb5wvzb5s34-sysvinit-2.89
- directory tree listing: https://gist.github.com/6fdc40b90f12b6caa767385d367da4d9
2018-04-03 16:03:43 -05:00
Will Dietz 8422a14493
Merge pull request #37810 from dtzWill/update/udisks2-2.1.8
udisks2: 2.1.6 -> 2.1.8, extend workaround to include musl
2018-04-03 13:20:09 -05:00
John Ericson adaa110a72 binutils: No more darwin conditionals
Since at least d7bddc27b2, we've had a
situation where one should depend on:

 - `stdenv.cc.bintools`: for executables at build time
 - `libbfd` or `libiberty`: for those libraries
 - `targetPackages.cc.bintools`: for exectuables at *run* time
 - `binutils`: only for specifically GNU Binutils's executables,
   regardless of the host platform, at run time.

and that commit cleaned up this usage to reflect that. This PR flips the
switch so that:

 - `binutils` is indeed unconditionally GNU Binutils
 - `binutils-raw`, which previously served that role, is gone.

so that the correct usage will be enforced going forward and everything
is simple.

N.B. In a few cases `binutils-unwrapped` (which before and now was
unconditionally actual GNU binutils), rather than `binutils` was used to
replace old `binutils-raw` as it is friendly towards some cross
compilation usage by avoiding a reference to the next bootstrapping
change.
2018-04-03 13:34:52 -04:00
adisbladis 57ce94c971
Merge pull request #38350 from r-ryantm/auto-update/criu
criu: 3.8 -> 3.8.1
2018-04-03 19:57:19 +08:00
Tuomas Tynkkynen 747ebe3f66 Merge remote-tracking branch 'upstream/master' into staging
Conflicts:
	pkgs/top-level/all-packages.nix
2018-04-03 02:22:54 +03:00
Tuomas Tynkkynen b59f9497aa raspberrypifw: Drop all non-firmware parts
They are now built from source in raspberrypi-tools.
2018-04-02 23:46:18 +03:00
Tuomas Tynkkynen 434722ba62 raspberrypi-tools: Init at 2018-02-05 2018-04-02 23:46:18 +03:00
R. RyanTM cd43915ce0 criu: 3.8 -> 3.8.1
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/criu/versions.

These checks were done:

- built on NixOS
- ran `/nix/store/yqfshz1c0qp2h8vdcswiaknxb6ibxfsl-criu-3.8.1/bin/compel -h` got 0 exit code
- ran `/nix/store/yqfshz1c0qp2h8vdcswiaknxb6ibxfsl-criu-3.8.1/bin/compel --help` got 0 exit code
- ran `/nix/store/yqfshz1c0qp2h8vdcswiaknxb6ibxfsl-criu-3.8.1/bin/criu -h` got 0 exit code
- ran `/nix/store/yqfshz1c0qp2h8vdcswiaknxb6ibxfsl-criu-3.8.1/bin/criu --help` got 0 exit code
- ran `/nix/store/yqfshz1c0qp2h8vdcswiaknxb6ibxfsl-criu-3.8.1/bin/criu -V` and found version 3.8.1
- ran `/nix/store/yqfshz1c0qp2h8vdcswiaknxb6ibxfsl-criu-3.8.1/bin/criu --version` and found version 3.8.1
- found 3.8.1 with grep in /nix/store/yqfshz1c0qp2h8vdcswiaknxb6ibxfsl-criu-3.8.1
- directory tree listing: https://gist.github.com/4324a1815464a7da41c4b8cd5056b1b7
2018-04-02 12:13:32 -07:00
xeji a7435092c0 ixgbevf: 4.3.3 -> 4.3.4
4.3.3 didn't build with linux 4.15
2018-04-02 03:42:25 -05:00
Tim Steinbach 71f28a2ca0
linux: Add 4.16 2018-04-01 22:44:23 -04:00
Michael Raskin 085eab7ef6 fuse3: install fuse.conf without execute bit 2018-04-01 23:02:25 +02:00
Michael Raskin 652bcb3447
Merge pull request #38281 from r-ryantm/auto-update/sysdig
linuxPackages.sysdig: 0.20.0 -> 0.21.0
2018-04-01 11:45:55 +00:00
Mathis Antony 25b3d27257 nmon: init at 16g 2018-04-01 00:45:56 -05:00
R. RyanTM af0415089d linuxPackages.sysdig: 0.20.0 -> 0.21.0
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/sysdig/versions.

These checks were done:

- built on NixOS
- ran `/nix/store/q46s7qx6pq8wlwqgi6dcdjcb41qc0zn9-sysdig-0.21.0/bin/sysdig -h` got 0 exit code
- ran `/nix/store/q46s7qx6pq8wlwqgi6dcdjcb41qc0zn9-sysdig-0.21.0/bin/sysdig --help` got 0 exit code
- ran `/nix/store/q46s7qx6pq8wlwqgi6dcdjcb41qc0zn9-sysdig-0.21.0/bin/sysdig help` got 0 exit code
- ran `/nix/store/q46s7qx6pq8wlwqgi6dcdjcb41qc0zn9-sysdig-0.21.0/bin/sysdig --version` and found version 0.21.0
- ran `/nix/store/q46s7qx6pq8wlwqgi6dcdjcb41qc0zn9-sysdig-0.21.0/bin/sysdig -h` and found version 0.21.0
- ran `/nix/store/q46s7qx6pq8wlwqgi6dcdjcb41qc0zn9-sysdig-0.21.0/bin/sysdig --help` and found version 0.21.0
- ran `/nix/store/q46s7qx6pq8wlwqgi6dcdjcb41qc0zn9-sysdig-0.21.0/bin/csysdig -h` got 0 exit code
- ran `/nix/store/q46s7qx6pq8wlwqgi6dcdjcb41qc0zn9-sysdig-0.21.0/bin/csysdig --help` got 0 exit code
- ran `/nix/store/q46s7qx6pq8wlwqgi6dcdjcb41qc0zn9-sysdig-0.21.0/bin/csysdig help` got 0 exit code
- ran `/nix/store/q46s7qx6pq8wlwqgi6dcdjcb41qc0zn9-sysdig-0.21.0/bin/csysdig -V` and found version 0.21.0
- ran `/nix/store/q46s7qx6pq8wlwqgi6dcdjcb41qc0zn9-sysdig-0.21.0/bin/csysdig -v` and found version 0.21.0
- ran `/nix/store/q46s7qx6pq8wlwqgi6dcdjcb41qc0zn9-sysdig-0.21.0/bin/csysdig --version` and found version 0.21.0
- ran `/nix/store/q46s7qx6pq8wlwqgi6dcdjcb41qc0zn9-sysdig-0.21.0/bin/csysdig -h` and found version 0.21.0
- ran `/nix/store/q46s7qx6pq8wlwqgi6dcdjcb41qc0zn9-sysdig-0.21.0/bin/csysdig --help` and found version 0.21.0
- found 0.21.0 with grep in /nix/store/q46s7qx6pq8wlwqgi6dcdjcb41qc0zn9-sysdig-0.21.0
- directory tree listing: https://gist.github.com/90f767f238a59aa31ac34058784510d7
2018-03-31 21:48:42 -07:00
Matthew Justin Bauer 3f47ee271b
Merge pull request #37654 from ryantm/auto-update/jfbview
jfbview: 0.5.4 -> 0.5.5
2018-03-31 19:19:36 -05:00
Michael Weiss c00b5bf6a2 fuse3: 3.2.1 -> 3.2.2
Stop using bin/mount.fuse from fuse3 for fuse2 (mount.fuse from fuse3
isn't guaranteed to remain backwards compatible).
2018-04-01 01:55:14 +02:00
Tim Steinbach 2dfaf6992c
linux-copperhead: 4.15.14.a -> 4.15.15.a 2018-03-31 17:16:41 -04:00
Tim Steinbach 32e47b19f2
linux: 4.15.14 -> 4.15.15 2018-03-31 17:12:51 -04:00
Tim Steinbach c8e2312c88
linux: 4.14.31 -> 4.14.32 2018-03-31 17:12:31 -04:00
Tim Steinbach 804789e49b
linux: 4.9.91 -> 4.9.92 2018-03-31 17:12:17 -04:00
Tim Steinbach b9bde5bc03
linux: 4.4.125 -> 4.4.126 2018-03-31 17:12:02 -04:00
R. RyanTM 57be746d5c fwts: 18.02.00 -> 18.03.00
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/fwts/versions.

These checks were done:

- built on NixOS
- ran `/nix/store/vvq9vagwr2qzs3xg1ssrkpbiwk6ayq2c-fwts-18.03.00/bin/fwts -h` got 0 exit code
- ran `/nix/store/vvq9vagwr2qzs3xg1ssrkpbiwk6ayq2c-fwts-18.03.00/bin/fwts --help` got 0 exit code
- ran `/nix/store/vvq9vagwr2qzs3xg1ssrkpbiwk6ayq2c-fwts-18.03.00/bin/fwts -V` and found version 18.03.00
- ran `/nix/store/vvq9vagwr2qzs3xg1ssrkpbiwk6ayq2c-fwts-18.03.00/bin/fwts -v` and found version 18.03.00
- ran `/nix/store/vvq9vagwr2qzs3xg1ssrkpbiwk6ayq2c-fwts-18.03.00/bin/fwts --version` and found version 18.03.00
- ran `/nix/store/vvq9vagwr2qzs3xg1ssrkpbiwk6ayq2c-fwts-18.03.00/bin/fwts -h` and found version 18.03.00
- ran `/nix/store/vvq9vagwr2qzs3xg1ssrkpbiwk6ayq2c-fwts-18.03.00/bin/fwts --help` and found version 18.03.00
- found 18.03.00 with grep in /nix/store/vvq9vagwr2qzs3xg1ssrkpbiwk6ayq2c-fwts-18.03.00
- directory tree listing: https://gist.github.com/cf8ebe142dd89bc324517d19193e70f4
2018-03-31 20:23:42 +01:00
R. RyanTM 09049153e5 hdparm: 9.55 -> 9.56
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/hdparm/versions.

These checks were done:

- built on NixOS
- ran `/nix/store/c646kg7w31rm3rz30n145jf77kjw2dmg-hdparm-9.56/bin/hdparm -h` got 0 exit code
- ran `/nix/store/c646kg7w31rm3rz30n145jf77kjw2dmg-hdparm-9.56/bin/hdparm -V` and found version 9.56
- ran `/nix/store/c646kg7w31rm3rz30n145jf77kjw2dmg-hdparm-9.56/bin/hdparm -h` and found version 9.56
- found 9.56 with grep in /nix/store/c646kg7w31rm3rz30n145jf77kjw2dmg-hdparm-9.56
- directory tree listing: https://gist.github.com/288d8bff26d3af52b38fbd8055ee2aac
2018-03-31 17:11:27 +02:00
Will Dietz a3df96b381 powertop: patch for musl 2018-03-31 00:11:11 -05:00
Léo Gaspard ec9a51d0cc mdadm: allow sending mail when using opensmtpd
OpenSMTPD does not require the setuid bit for its `sendmail`. This works
around it by wrapping the called `sendmail` so that the wrapper falls
back on either the setuid `sendmail` or the non-setuid `sendmail`
depending on what's available.

The solution of relying on `$PATH` to be set is unfortunately
unreliable, as `mdadm --monitor` will likely be executed from a
`systemd` unit, that runs with a clean `$PATH`.
2018-03-30 16:16:31 +02:00
Ryan Mulligan 5d9e0dcc0a i2c-tools: 3.1.2 -> 4.0
Semi-automatic update generated by https://github.com/ryantm/nix-update tools.

This update was made based on information from https://repology.org/metapackage/i2c-tools/versions.

These checks were done:

- built on NixOS
- ran `/nix/store/01psgfkqwlff69addbhp08xi5z2p3y7w-i2c-tools-4.0/bin/decode-dimms -h` got 0 exit code
- ran `/nix/store/01psgfkqwlff69addbhp08xi5z2p3y7w-i2c-tools-4.0/bin/decode-dimms --help` got 0 exit code
- ran `/nix/store/01psgfkqwlff69addbhp08xi5z2p3y7w-i2c-tools-4.0/bin/decode-dimms help` got 0 exit code
- ran `/nix/store/01psgfkqwlff69addbhp08xi5z2p3y7w-i2c-tools-4.0/bin/decode-dimms -h` and found version 4.0
- ran `/nix/store/01psgfkqwlff69addbhp08xi5z2p3y7w-i2c-tools-4.0/bin/decode-dimms --help` and found version 4.0
- ran `/nix/store/01psgfkqwlff69addbhp08xi5z2p3y7w-i2c-tools-4.0/bin/decode-vaio -h` got 0 exit code
- ran `/nix/store/01psgfkqwlff69addbhp08xi5z2p3y7w-i2c-tools-4.0/bin/decode-vaio --help` got 0 exit code
- ran `/nix/store/01psgfkqwlff69addbhp08xi5z2p3y7w-i2c-tools-4.0/bin/decode-vaio help` got 0 exit code
- ran `/nix/store/01psgfkqwlff69addbhp08xi5z2p3y7w-i2c-tools-4.0/bin/decode-edid -h` got 0 exit code
- ran `/nix/store/01psgfkqwlff69addbhp08xi5z2p3y7w-i2c-tools-4.0/bin/decode-edid --help` got 0 exit code
- ran `/nix/store/01psgfkqwlff69addbhp08xi5z2p3y7w-i2c-tools-4.0/bin/decode-edid help` got 0 exit code
- ran `/nix/store/01psgfkqwlff69addbhp08xi5z2p3y7w-i2c-tools-4.0/bin/decode-edid -V` and found version 4.0
- ran `/nix/store/01psgfkqwlff69addbhp08xi5z2p3y7w-i2c-tools-4.0/bin/decode-edid -v` and found version 4.0
- ran `/nix/store/01psgfkqwlff69addbhp08xi5z2p3y7w-i2c-tools-4.0/bin/decode-edid --version` and found version 4.0
- ran `/nix/store/01psgfkqwlff69addbhp08xi5z2p3y7w-i2c-tools-4.0/bin/decode-edid version` and found version 4.0
- ran `/nix/store/01psgfkqwlff69addbhp08xi5z2p3y7w-i2c-tools-4.0/bin/decode-edid -h` and found version 4.0
- ran `/nix/store/01psgfkqwlff69addbhp08xi5z2p3y7w-i2c-tools-4.0/bin/decode-edid --help` and found version 4.0
- ran `/nix/store/01psgfkqwlff69addbhp08xi5z2p3y7w-i2c-tools-4.0/bin/decode-edid help` and found version 4.0
- ran `/nix/store/01psgfkqwlff69addbhp08xi5z2p3y7w-i2c-tools-4.0/bin/i2cdetect -V` and found version 4.0
- ran `/nix/store/01psgfkqwlff69addbhp08xi5z2p3y7w-i2c-tools-4.0/bin/i2cdump -V` and found version 4.0
- ran `/nix/store/01psgfkqwlff69addbhp08xi5z2p3y7w-i2c-tools-4.0/bin/i2cget -V` and found version 4.0
- ran `/nix/store/01psgfkqwlff69addbhp08xi5z2p3y7w-i2c-tools-4.0/bin/i2cset -V` and found version 4.0
- ran `/nix/store/01psgfkqwlff69addbhp08xi5z2p3y7w-i2c-tools-4.0/bin/i2ctransfer -V` and found version 4.0
- found 4.0 with grep in /nix/store/01psgfkqwlff69addbhp08xi5z2p3y7w-i2c-tools-4.0
- directory tree listing: https://gist.github.com/7e7d303f66bb0a865a35ab286258a07e
2018-03-30 10:21:42 +01:00
Frederik Rietdijk 9d2ff98571 Merge remote-tracking branch 'upstream/master' into HEAD 2018-03-30 08:14:35 +02:00
Ryan Mulligan f91893ea80 fatrace: 0.12 -> 0.13
Semi-automatic update generated by https://github.com/ryantm/nix-update tools.

This update was made based on information from https://repology.org/metapackage/fatrace/versions.

These checks were done:

- built on NixOS
- ran `/nix/store/6qkvyq8dkw4g27id4gz509wixsvz5786-fatrace-0.13/bin/fatrace -h` got 0 exit code
- ran `/nix/store/6qkvyq8dkw4g27id4gz509wixsvz5786-fatrace-0.13/bin/fatrace --help` got 0 exit code
- directory tree listing: https://gist.github.com/621ef8c6e91074c88839f359832f776e
2018-03-28 23:51:02 +01:00
Will Dietz e022366fb7 busybox: 1.28.1 -> 1.28.2 2018-03-28 23:47:13 +01:00