Commit Graph
229478 Commits
Author SHA1 Message Date
Michael Weissandzimbatm 993baa587c nixos: Require networking.hostName to be a valid DNS label
This also means that the hostname must not contain the domain name part
anymore (i.e. must not be a FQDN).
See RFC 1035 [0], "man 5 hostname", or the kernel documentation [1].
Note: For legacy reasons we also allow underscores inside of the label
but this is not recommended and intentionally left undocumented.

[0]: https://tools.ietf.org/html/rfc1035
[1]: https://www.kernel.org/doc/html/latest/admin-guide/sysctl/kernel.html#domainname-hostname

Co-authored-by: zimbatm <zimbatm@zimbatm.com>
2020-05-25 18:13:39 +02:00
Julian StecklinaandMichael Weiss 837ec31493 nixos/tests/hostname: init (check system's host name)
NixOS currently has issues with setting the FQDN of a system in a way
where standard tools work. In order to help with experimentation and
avoid regressions, add a test that checks that the hostname is
reported as the user wanted it to be.

Co-authored-by: Michael Weiss <dev.primeos@gmail.com>
2020-05-25 18:13:14 +02:00
R. RyanTM 3e7543a74e flexget: 3.1.30 -> 3.1.56 2020-05-25 15:42:51 +00:00
Jan Tojnar 46a135217e gmic: 2.7.5 -> 2.9.0
* https://discuss.pixls.us/t/release-of-gmic-2-8/14644
* https://discuss.pixls.us/t/release-of-gmic-2-9/16755
2020-05-25 16:11:30 +02:00
Michael WeissandFlorian Klink 234d95a6fc nixos/networking: Add the FQDN and hostname to /etc/hosts
This fixes the output of "hostname --fqdn" (previously the domain name
was not appended). Additionally it's now possible to use the FQDN.

This works by unconditionally adding two entries to /etc/hosts:
127.0.0.1 localhost
::1 localhost

These are the first two entries and therefore gethostbyaddr() will
always resolve "127.0.0.1" and "::1" back to "localhost" [0].
This works because nscd (or rather the nss-files module) returns the
first matching row from /etc/hosts (and ignores the rest).

The FQDN and hostname entries are appended later to /etc/hosts, e.g.:
127.0.0.2 nixos-unstable.test.tld nixos-unstable
::1 nixos-unstable.test.tld nixos-unstable
Note: We use 127.0.0.2 here to follow nss-myhostname (systemd) as close
as possible. This has the advantage that 127.0.0.2 can be resolved back
to the FQDN but also the drawback that applications that only listen to
127.0.0.1 (and not additionally ::1) cannot be reached via the FQDN.
If you would like this to work you can use the following configuration:
```nix
networking.hosts."127.0.0.1" = [
  "${config.networking.hostName}.${config.networking.domain}"
  config.networking.hostName
];
```

Therefore gethostbyname() resolves "nixos-unstable" to the FQDN
(canonical name): "nixos-unstable.test.tld".

Advantages over the previous behaviour:
- The FQDN will now also be resolved correctly (the entry was missing).
- E.g. the command "hostname --fqdn" will now work as expected.
Drawbacks:
- Overrides entries form the DNS (an issue if e.g. $FQDN should resolve
  to the public IP address instead of 127.0.0.1)
  - Note: This was already partly an issue as there's an entry for
    $HOSTNAME (without the domain part) that resolves to
    127.0.1.1 (!= 127.0.0.1).
- Unknown (could potentially cause other unexpected issues, but special
  care was taken).

[0]: Some applications do apparently depend on this behaviour (see
c578924) and this is typically the expected behaviour.

Co-authored-by: Florian Klink <flokli@flokli.de>
2020-05-25 14:06:25 +02:00
Mario Rodas 3b9ebb8b8c gitAndTools.git-absorb: 0.6.0 -> 0.6.2 2020-05-25 04:20:00 -05:00
Mario Rodas 074ab51316 biblesync: update homepage 2020-05-25 04:20:00 -05:00
R. RyanTM a7232067e7 btfs: 2.20 -> 2.21 2020-05-25 09:13:22 +00:00
Michael Raskin 99226ad149 Merge pull request #88528 from r-ryantm/auto-update/glib
glib: 2.64.1 -> 2.64.3
2020-05-25 08:57:50 +00:00
Vladimír Čunát da752902c1 knot-dns: 2.9.4 -> 2.9.5
There's a bugfix important for some auto-signer setups.
https://gitlab.labs.nic.cz/knot/knot-dns/-/tags/v2.9.5

$ nix build -f nixos/release-combined.nix nixos.tests.knot.x86_64-linux
2020-05-25 10:56:49 +02:00
R. RyanTM f43066934d calls: 0.1.4 -> 0.1.5 2020-05-25 08:48:26 +00:00
Domen Kožar c969647e50 Merge pull request #86456 from kraem/kraem/picom-v8
picom: 7.5 -> 8
2020-05-25 10:33:51 +02:00
R. RyanTM 2a754d6313 biblesync: 2.0.1 -> 2.1.0 2020-05-25 08:31:33 +00:00
adisbladis d8b6e82126 Merge pull request #88856 from zowoq/prefetch-docker
dockerTools: fix skopeo commands
2020-05-25 09:52:09 +02:00
Michele Guerini Rocco 379690ba90 Merge pull request #85539 from rnhmjoj/breezy
treewide: replace bazaar with breezy
2020-05-25 09:37:14 +02:00
Lassulus e7e4a23044 Merge pull request #87827 from mweinelt/activemq
activemq: 5.14.5 → 5.15.12
2020-05-25 09:36:10 +02:00
rnhmjoj 201bf4bfb8 nixos/release-notes: document bazaar removal 2020-05-25 09:28:48 +02:00
rnhmjoj aee614c996 treewide: replace bazaar with breezy 2020-05-25 09:22:54 +02:00
rnhmjoj 6a13fe4ece bazaar: remove
Bazaar is deprecated in favour of Breezy, which is backward compatible
Python 3 fork of the original VCS.
2020-05-25 09:22:53 +02:00
rnhmjoj cb8975f5b0 nixos/tests/dnscrypt-wrapper: init 2020-05-25 09:16:23 +02:00
rnhmjoj 743eea4c5f nixos/dnscrypt-wrapper: make provider keys configurable 2020-05-25 09:16:23 +02:00
rnhmjoj fd3727a313 nixos/dnscrypt-wrapper: use dnscrypt-proxy1 2020-05-25 09:16:23 +02:00
R. RyanTM 1f4b3801b4 xmrig-proxy: 5.10.0 -> 5.10.2 2020-05-25 05:23:47 +00:00
R. RyanTM 9fe237f880 xmrig: 5.11.1 -> 5.11.2 2020-05-25 05:19:34 +00:00
Dmitry Kalinkin 475d5df12a mcgrid: drop 2020-05-25 01:01:32 -04:00
Dmitry Kalinkin 9a2182eef6 rivet: 2.7.2 -> 3.1.1 2020-05-25 01:01:22 -04:00
R. RyanTM a0ca71d772 uhubctl: 2.1.0 -> 2.2.0 2020-05-25 04:43:39 +00:00
zowoq 365d07cea0 dockerTools: fix skopeo commands 2020-05-25 14:29:54 +10:00
Mario Rodas 3a3cbfd12b monolith: enable on darwin 2020-05-24 23:23:23 -05:00
R. RyanTM 07178d7972 telegraf: 1.14.2 -> 1.14.3 2020-05-25 04:10:50 +00:00
Mario Rodas 2892a24695 Merge pull request #88820 from r-ryantm/auto-update/just
just: 0.5.10 -> 0.5.11
2020-05-24 22:52:43 -05:00
Mario Rodas 3c1273fdb8 Merge pull request #88848 from r-ryantm/auto-update/sensu-go-agent
sensu-go-agent: 5.20.0 -> 5.20.1
2020-05-24 22:51:05 -05:00
Mario Rodas 9751b67df8 Merge pull request #88826 from cole-h/zoxide
zoxide: 0.4.0 -> 0.4.1
2020-05-24 22:49:57 -05:00
Mario Rodas bc4469005e Merge pull request #88824 from r-ryantm/auto-update/lean
lean: 3.13.1 -> 3.14.0
2020-05-24 22:49:35 -05:00
Mario Rodas 06d6c42255 Merge pull request #88819 from r-ryantm/auto-update/jsonnet
jsonnet: 0.15.0 -> 0.16.0
2020-05-24 22:48:18 -05:00
R. RyanTM ba6a893218 sngrep: 1.4.6 -> 1.4.7 2020-05-25 03:39:15 +00:00
R. RyanTM 39da9b721d signal-cli: 0.6.7 -> 0.6.8 2020-05-25 03:28:20 +00:00
R. RyanTM b9a82df839 sensu-go-agent: 5.20.0 -> 5.20.1 2020-05-25 03:19:26 +00:00
Dmitry Kalinkin 7a2307dc4b Merge pull request #84523 from erictapen/factorio-18.17
factorio-{,headless}-experimental: 17.79 -> 18.26
2020-05-24 22:47:14 -04:00
R. RyanTM a60a040236 picard-tools: 2.22.7 -> 2.22.8 2020-05-25 01:25:17 +00:00
Tim Steinbach 89998eb8da oh-my-zsh: 2020-05-21 -> 2020-05-24 2020-05-24 20:51:34 -04:00
Michael Raskin 71231b6407 Merge pull request #88839 from 7c6f434c/fix-lazarus
lazarus: fix linking by the IDE;
2020-05-25 00:32:22 +00:00
Sascha Grunert 6653328aef cri-o: update module configuration
- Update the default pause image
- Set the cgroup manager to systemd
- Enable `manage_ns_lifecycle` instead of the deprecated
  `manage_network_ns_lifecycle` option

Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2020-05-25 02:24:57 +02:00
Michael Raskin d201270d0f lazarus: fix linking by the IDE; using the results of an investigation by @deliciouslytyped 2020-05-25 02:21:51 +02:00
R. RyanTM 8198d23ed7 monolith: 2.2.5 -> 2.2.6 2020-05-25 00:08:48 +00:00
R. RyanTM 39aaed823f mkp224o: 1.4.0 -> 1.5.0 2020-05-24 23:55:18 +00:00
Benjamin Asbach ae7b57c8ca postfix: 3.4.10 -> 3.4.12
`0001-Fix-build-with-glibx-2.30` was removed since the patch is already applied to upstream source.
2020-05-25 01:44:21 +02:00
Gregor Pogačnik 4c1bab5057 sleepyhead: use qt5.makeDerivation and fix for Darwin (#88806) 2020-05-24 19:35:40 -04:00
Ryan Mulligan 08b229bde0 Merge pull request #88815 from r-ryantm/auto-update/hcxdumptool
hcxdumptool: 6.0.5 -> 6.0.6
2020-05-24 16:27:06 -07:00
Ryan Mulligan 51029c708d Merge pull request #88699 from r-ryantm/auto-update/python3.7-opt_einsum
python37Packages.opt-einsum: 3.1.0 -> 3.2.1
2020-05-24 16:22:42 -07:00