nixpkgs/nixos/modules/tasks
Graham Christensen 48d292e8a1
networking: Fix timeout when lo has aliased IPs
With a config like

    {
      networking.interfaces."lo".ip4 = [
        { address = "10.8.8.8"; prefixLength = 32; }
      ];
    }

a nixos-rebuild switch would take a long time, and you'd see:

    $ systemctl list-jobs
       JOB UNIT                                TYPE  STATE
    734400 network-interfaces.target           start waiting
    734450 sys-subsystem-net-devices-lo.device start running
    734449 network-link-lo.service             start waiting

and:

    systemd[1]: sys-subsystem-net-devices-lo.device: Job sys-subsystem-net-devices-lo.device/star>
    systemd[1]: sys-subsystem-net-devices-lo.device: Job sys-subsystem-net-devices-lo.device/star>
    systemd[1]: Timed out waiting for device sys-subsystem-net-devices-lo.device.

This removes the device dependency for `lo` and fixes this bug.

Closes #7227
2018-07-06 15:38:52 -04:00
..
filesystems zfs: Improve import handling 2018-07-02 21:14:45 +01:00
bcache.nix
cpu-freq.nix
encrypted-devices.nix
filesystems.nix
kbd.nix nixos: keymap: Fix cross-compilation. 2018-02-28 15:01:32 -05:00
lvm.nix
network-interfaces-scripted.nix networking.routes: static routes are proto static 2018-05-22 14:30:53 +02:00
network-interfaces-systemd.nix nixos/networking-interfaces: rename IP addresses/routes options 2018-02-17 14:01:24 +01:00
network-interfaces.nix networking: Fix timeout when lo has aliased IPs 2018-07-06 15:38:52 -04:00
powertop.nix
scsi-link-power-management.nix nixos/powerManagement: add "med_power_with_dipm" scsiLinkPolicy 2018-05-04 10:33:42 -07:00
swraid.nix nixos.modules.tasks.swraid: add raid10 module to initrd 2018-05-28 23:49:35 +03:00
trackpoint.nix
tty-backgrounds-combine.sh