guix/gnu
Ludovic Courtès 5c354c204d
services: networking: Add netmask to loopback address.
Previously, we would get a fishy 127.0.0.1/0 interface:

  $ ip a show dev lo
  1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
      link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
      inet 127.0.0.1/8 scope host lo
	 valid_lft forever preferred_lft forever
      inet 127.0.0.1/0 scope global lo
	 valid_lft forever preferred_lft forever
      inet6 ::1/128 scope host
	 valid_lft forever preferred_lft forever

With this change, we get nothing but the "/8" version:

  $ ip a show dev lo
  1: lo: <LOOPBACK,MULTICAST,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
      link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
      inet 127.0.0.1/8 scope global lo
	 valid_lft forever preferred_lft forever
      inet6 ::1/128 scope host
	 valid_lft forever preferred_lft forever

Reported by Yann Dupont <Yann.Dupont@univ-nantes.fr>.

* gnu/services/base.scm (assert-valid-address): Remove special cases for
127.0.0.1 and ::1.
(%loopback-static-networking): Add "/8".
2022-01-08 23:27:42 +01:00
..
bootloader
build linux-container: Handle CLONE_NEWCGROUP and use it by default. 2022-01-05 23:44:18 +01:00
home home: services: Make strings in Gexps translateble. 2022-01-03 19:32:07 +01:00
installer installer: Offer 'gpm-service-type' for non-graphical systems. 2021-12-28 15:26:39 -05:00
machine
packages gnu: Add python-astral. 2022-01-08 23:27:42 +01:00
platforms
services services: networking: Add netmask to loopback address. 2022-01-08 23:27:42 +01:00
system services: Consistently use SDDM rather than GDM on non-x86_64. 2022-01-06 18:54:59 -08:00
tests installer: Recommend 'ntp-service-type' for non-graphical systems. 2021-12-28 15:26:39 -05:00
artwork.scm
bootloader.scm
ci.scm ci: Add extra jobs for tunable packages. 2022-01-01 15:23:24 +01:00
home.scm
image.scm
installer.scm
local.mk gnu: ungoogled-chromium: Update to 97.0.4692.71-1. 2022-01-07 17:15:38 +01:00
machine.scm
packages.scm
platform.scm
services.scm
system.scm system: Allow 'chfn' to change the user's full name. 2022-01-01 15:10:12 +01:00
tests.scm