nixpkgs/nixos/modules/tasks
rnhmjoj cdc24ab409
nixos/networking-interfaces: fix rootless ping
In 759ec111 the ping setuid wrapper was removed in favour of giving
permissions to perform ICMP echo requests to all users.
The problem is that the systemd file that was supposed to change the
`net.ipv4.ping_group_range` sysctl is not always installed, specifically
only if systemd.coredump.enable.
In that case the range is "0 1", which is effectively restricts ping to
only root.

This change explicitely sets the range to "0 2^31-1", as systemd does.
2023-12-11 13:22:26 +01:00
..
filesystems nixos/clevis: skip filesystem with null devices 2023-12-04 15:21:16 +00:00
auto-upgrade.nix nixos/*: automatically convert option docs 2022-08-19 22:40:58 +02:00
bcache.nix nixos/bcache: add a boot.bcache.enable kill switch 2023-09-10 14:26:53 +01:00
cpu-freq.nix treewide: automatically md-convert option descriptions 2022-07-30 15:16:34 +02:00
encrypted-devices.nix systemd-stage-1: Add assertions for unsupported options. 2023-10-30 12:15:58 +01:00
filesystems.nix nixos/stage-1-systemd: makeFstabEntries: drop rootPrefix parameter 2023-09-27 18:31:56 -04:00
lvm.nix Merge pull request #240600 from lilyinstarlight/fix/luksroot-lvm-default-off 2023-07-05 12:42:45 -04:00
network-interfaces-scripted.nix nixos: fix iproute2 invocations (#263976) 2023-10-29 18:27:16 +01:00
network-interfaces-systemd.nix nixos: fix iproute2 invocations (#263976) 2023-10-29 18:27:16 +01:00
network-interfaces.nix nixos/networking-interfaces: fix rootless ping 2023-12-11 13:22:26 +01:00
powertop.nix nixos/*: automatically convert option descriptions 2022-08-31 16:32:53 +02:00
scsi-link-power-management.nix nixos/*: automatically convert option docs to MD 2022-08-03 22:46:41 +02:00
snapraid.nix snapraid: fix split parity files 2023-11-29 20:10:29 -05:00
stratis.nix nixos/stratis: init 2022-09-12 15:19:36 +08:00
swraid.nix systemd-stage-1: Add assertions for unsupported options. 2023-10-30 12:15:58 +01:00
trackpoint.nix treewide: automatically md-convert option descriptions 2022-07-30 15:16:34 +02:00
tty-backgrounds-combine.sh