guix/gnu/services
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
..
admin.scm
audio.scm
auditd.scm
authentication.scm
avahi.scm
base.scm services: networking: Add netmask to loopback address. 2022-01-08 23:27:42 +01:00
certbot.scm
cgit.scm
ci.scm
configuration.scm
cuirass.scm services: cuirass: Remove the default database host. 2021-12-15 14:41:42 +01:00
cups.scm
databases.scm
dbus.scm services: dbus: Wait 1 minute for elogind to get ready. 2021-12-22 18:33:07 -05:00
desktop.scm services: gnome: Add udev rules. 2022-01-06 09:26:39 +01:00
dict.scm
dns.scm
docker.scm
file-sharing.scm
games.scm
ganeti.scm
getmail.scm
guix.scm services: guix-build-coordinator: Fix variable name in agent config. 2022-01-02 17:47:36 +00:00
herd.scm
hurd.scm
kerberos.scm
linux.scm
lirc.scm
mail.scm
mcron.scm
messaging.scm
monitoring.scm
networking.scm services: Document the full list of available NTP URLs. 2022-01-06 01:30:27 -05:00
nfs.scm services: nfs: Fix statd and mountd ports. 2021-12-23 10:54:01 +01:00
nix.scm
pam-mount.scm
pm.scm
rsync.scm services: rsync: Allow configuring several rsync "modules". 2021-12-21 15:47:03 +01:00
science.scm
sddm.scm
security-token.scm
shepherd.scm
sound.scm
spice.scm
ssh.scm
syncthing.scm
sysctl.scm
telephony.scm
version-control.scm
virtualization.scm services: secret-service: Turn into a Shepherd service. 2021-12-12 23:20:49 +01:00
vpn.scm services: wireguard: Add DNS config field. 2021-12-22 09:07:39 +01:00
web.scm
xorg.scm services: Consistently use SDDM rather than GDM on non-x86_64. 2022-01-06 18:54:59 -08:00