Commit Graph
138543 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
Jack Kelly e1f6778e11 crip: init at 3.9 2018-04-08 20:44:05 +10:00
Jack Kelly babbf2ac5c perlPackages.CDDB_get: init at 2.28 2018-04-08 20:43:57 +10:00
Jörg Thalheim 811ff3f131 Merge pull request #38576 from ahmedtd/nomacs-3.8.1
nomacs: 3.6.1 -> 3.8.1
2018-04-08 11:36:22 +01:00
Jörg Thalheim 5484a90490 Merge pull request #33688 from concatime/patch-1
jetbrainsjdk: 1036.1 ~> 1136.20 (based on build #181.4203)
2018-04-08 11:33:37 +01:00
Jörg Thalheim 857bf71655 Merge pull request #38581 from r-ryantm/auto-update/dbus
dbus: 1.10.24 -> 1.12.6
2018-04-08 11:31:10 +01:00
Jörg Thalheim 5d332cf758 Merge pull request #38580 from r-ryantm/auto-update/containerd
containerd: 1.0.2 -> 1.0.3
2018-04-08 11:26:48 +01:00
Jörg Thalheim 86e5f2286c Merge pull request #38582 from r-ryantm/auto-update/dbus-glib
dbus-glib: 0.108 -> 0.110
2018-04-08 11:13:35 +01: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
Jörg Thalheim 66181e94a2 Merge pull request #38609 from yrashk/sit-0.2.1
sit: 0.1.3 -> 0.2.1
2018-04-08 10:58:37 +01:00
Jörg Thalheim 66ff520362 Merge pull request #38592 from r-ryantm/auto-update/automake
automake: 1.16 -> 1.16.1
2018-04-08 10:54:50 +01:00
Jörg Thalheim bcd04ee034 Merge pull request #38583 from r-ryantm/auto-update/cppcheck
cppcheck: 1.82 -> 1.83
2018-04-08 10:46:30 +01:00
Jörg Thalheim 0aeabd0fde Merge pull request #38587 from r-ryantm/auto-update/clipgrab
clipgrab: 3.6.2 -> 3.6.8
2018-04-08 10:45:53 +01:00
Jörg Thalheim 5869f4da13 Merge pull request #38596 from r-ryantm/auto-update/ceres-solver
ceres-solver: 1.12.0 -> 1.14.0
2018-04-08 10:43:06 +01:00
Jörg Thalheim 1e9e19b2aa openmvs-unstable: 2017-05-01 -> 2018-05-26
fix build
2018-04-08 10:36:25 +01:00
Robert Schütz 94f8800b67 python.pkgs.cairosvg: 2.1.2 -> 2.1.3 2018-04-08 11:36:07 +02:00
Frederik Rietdijk e450ce6b7f python.pkgs.bootstrapped-pip: pip 9.0.1 -> 9.0.3 , setuptools 38.4.1 -> 39.0.1 2018-04-08 11:36:07 +02:00
Frederik Rietdijk 58cdabf9cf python.pkgs.setuptools: 38.4.1 -> 39.0.1 2018-04-08 11:36:07 +02:00
Frederik Rietdijk 1ab32ba441 python: pip: 9.0.1 -> 9.0.3 2018-04-08 11:36:07 +02:00
Frederik Rietdijk 4421dbc217 python.pkgs.pip: move expression 2018-04-08 11:36:07 +02:00
Frederik Rietdijk d775b0350a python: diceware: 0.9.4 -> 0.9.5 2018-04-08 11:36:07 +02:00
Frederik Rietdijk a799c45192 python: buildbot-pkg: 1.1.0 -> 1.1.1 2018-04-08 11:36:07 +02:00
Frederik Rietdijk 6ea152f184 python: tqdm: 4.20.0 -> 4.21.0 2018-04-08 11:36:07 +02:00
Frederik Rietdijk 86c805fa2e python: tornado: 5.0.1 -> 5.0.2 2018-04-08 11:36:07 +02:00
Frederik Rietdijk 438355f99e python: robotframework: 3.0.2 -> 3.0.3 2018-04-08 11:36:07 +02:00
Frederik Rietdijk fae0aa6fbf python: pylint: 1.8.3 -> 1.8.4 2018-04-08 11:36:07 +02:00
Frederik Rietdijk 36f3111bda python: phonenumbers: 8.9.2 -> 8.9.3 2018-04-08 11:36:07 +02:00
Frederik Rietdijk c705acef6e python: pathspec: 0.5.5 -> 0.5.6 2018-04-08 11:36:07 +02:00
Frederik Rietdijk 50ae6e3531 python: openpyxl: 2.5.1 -> 2.5.2 2018-04-08 11:36:07 +02:00
Frederik Rietdijk 416188f8a0 python: mozrunner: 6.14 -> 6.15 2018-04-08 11:36:07 +02:00
Frederik Rietdijk f7e8cdb876 python: Jug: 1.6.5 -> 1.6.6 2018-04-08 11:36:07 +02:00
Frederik Rietdijk 989c499401 python: ipython: 6.3.0 -> 6.3.1 2018-04-08 11:36:07 +02:00
Frederik Rietdijk 09e16249c6 python: flit: 0.13 -> 1.0 2018-04-08 11:36:07 +02:00
Frederik Rietdijk af711951a1 python: dulwich: 0.19.1 -> 0.19.2 2018-04-08 11:36:07 +02:00
Frederik Rietdijk 4714de4413 python: djangorestframework: 3.8.0 -> 3.8.2 2018-04-08 11:36:07 +02:00
Frederik Rietdijk b6ce94bcb4 python: astroid: 1.6.2 -> 1.6.3 2018-04-08 11:36:07 +02:00
Robert Schütz 0fc352367a python: cmarkgfm: 0.3.0 -> 0.4.0 2018-04-08 11:36:07 +02:00
Robert Schütz 35b38b021b python.pkgs.protobuf: use 3.5 by default 2018-04-08 11:36:07 +02:00
Robert Schütz b1c6c0af87 platformio: 3.5.1 -> 3.5.2 2018-04-08 11:36:07 +02:00
Robert Schütz 579023d698 python.pkgs.click_5: uninit
Was only used by platformio, which now pins the click version using packageOverrides.
2018-04-08 11:36:07 +02:00
Robert Schütz c664dc8d19 platformio: move out of pythonPackages 2018-04-08 11:36:07 +02:00
Robert Schütz a7bcc079fa python3.pkgs.git-annex-adapter: replace eject by utillinux 2018-04-08 11:36:07 +02:00
Robert Schütz 59b5600af6 python.pkgs.progressbar: disable on python 3 2018-04-08 11:36:07 +02:00
Robert Schütz cb1c0c46d8 python.pkgs.mozterm: disable on python 3 2018-04-08 11:36:07 +02:00
Robert Schütz dc35d7bc7c python.pkgs.spacy: clean up propagatedBuildInputs 2018-04-08 11:36:06 +02:00
Robert Schütz 8dd4e0711f python.pkgs.spacy: loosen version constraints 2018-04-08 11:36:06 +02:00
Robert Schütz c9330ca79b python.pkgs.thinc: loosen version constraints 2018-04-08 11:36:06 +02:00
Robert Schütz 5600034f91 python.pkgs.redNotebook: remove alias 2018-04-08 11:36:06 +02:00
Robert Schütz 23e1cded28 python.pkgs.readme_renderer: correct dependencies 2018-04-08 11:36:06 +02:00
Robert Schütz 19945a3dfc python.pkgs.cmarkgfm: init at 0.3.0 2018-04-08 11:36:06 +02:00