-
-
Notifications
You must be signed in to change notification settings - Fork 105
Comparing changes
Open a pull request
base repository: NixOS/nixpkgs-channels
base: 25e8015fed29
head repository: NixOS/nixpkgs-channels
compare: aa364b90d4e3
- 20 commits
- 14 files changed
- 10 contributors
Commits on May 9, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 43d6898 - Browse repository at this point
Copy the full SHA 43d6898View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1e0912d - Browse repository at this point
Copy the full SHA 1e0912dView commit details
Commits on May 25, 2020
-
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>
Configuration menu - View commit details
-
Copy full SHA for 234d95a - Browse repository at this point
Copy the full SHA 234d95aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 46a1352 - Browse repository at this point
Copy the full SHA 46a1352View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3e7543a - Browse repository at this point
Copy the full SHA 3e7543aView commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 837ec31 - Browse repository at this point
Copy the full SHA 837ec31View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 993baa5 - Browse repository at this point
Copy the full SHA 993baa5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 27fbd43 - Browse repository at this point
Copy the full SHA 27fbd43View commit details -
Configuration menu - View commit details
-
Copy full SHA for a82b2dd - Browse repository at this point
Copy the full SHA a82b2ddView commit details -
Configuration menu - View commit details
-
Copy full SHA for 78e5bcf - Browse repository at this point
Copy the full SHA 78e5bcfView commit details -
Merge pull request #76542 from primeos/etc-hosts-fqdn-fix
nixos/networking: Add the FQDN and hostname to /etc/hosts
Configuration menu - View commit details
-
Copy full SHA for 921a4ec - Browse repository at this point
Copy the full SHA 921a4ecView commit details -
Configuration menu - View commit details
-
Copy full SHA for fed9824 - Browse repository at this point
Copy the full SHA fed9824View commit details -
Configuration menu - View commit details
-
Copy full SHA for 958ab0a - Browse repository at this point
Copy the full SHA 958ab0aView commit details -
Merge pull request #88879 from r-ryantm/auto-update/FlexGet
flexget: 3.1.30 -> 3.1.56
Configuration menu - View commit details
-
Copy full SHA for 5dd85bf - Browse repository at this point
Copy the full SHA 5dd85bfView commit details
Commits on May 26, 2020
-
Merge pull request #77281 from bcdarwin/python-livelossplot
python3Packages.livelossplot: init at v0.5.0
Configuration menu - View commit details
-
Copy full SHA for 77eb712 - Browse repository at this point
Copy the full SHA 77eb712View commit details -
Merge pull request #88897 from mweinelt/miniflux
miniflux: 2.0.19 -> 2.0.21
Configuration menu - View commit details
-
Copy full SHA for 032e57d - Browse repository at this point
Copy the full SHA 032e57dView commit details -
Merge pull request #87447 from bcdarwin/ocaml-torch
ocamlPackages.torch: init at 0.8
Configuration menu - View commit details
-
Copy full SHA for 5e22232 - Browse repository at this point
Copy the full SHA 5e22232View commit details -
Merge pull request #88883 from r-ryantm/auto-update/gexiv2
gexiv2: 0.12.0 -> 0.12.1
Configuration menu - View commit details
-
Copy full SHA for 1c0b497 - Browse repository at this point
Copy the full SHA 1c0b497View commit details -
Merge pull request #88890 from r-ryantm/auto-update/gnome-software
gnome3.gnome-software: 3.36.0 -> 3.36.1
Configuration menu - View commit details
-
Copy full SHA for 8a25e3d - Browse repository at this point
Copy the full SHA 8a25e3dView commit details -
Merge pull request #75237 from r-ryantm/auto-update/gmic
gmic: 2.7.5 -> 2.8.0
Configuration menu - View commit details
-
Copy full SHA for aa364b9 - Browse repository at this point
Copy the full SHA aa364b9View commit details
There are no files selected for viewing