nixpkgs/nixos/modules
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
..
config Merge pull request #42569 from spacefrogg/nscd-fix 2018-07-05 22:16:02 -04:00
hardware nixos/modules: users.(extraUsers|extraGroup->users|group) 2018-06-30 03:02:58 +02:00
i18n/input-method Merge pull request #42588 from laMudri/ibus-troubleshoot 2018-06-27 15:39:39 +01:00
installer nixos-generate-config.pl: users.extraUsers-> users.users 2018-06-30 02:26:47 +02:00
misc Merge pull request #42798 from flokli/users-users 2018-07-02 11:23:10 +00:00
profiles nixos/modules: users.(extraUsers|extraGroup->users|group) 2018-06-30 03:02:58 +02:00
programs nixos/modules: users.(extraUsers|extraGroup->users|group) 2018-06-30 03:02:58 +02:00
security Merge pull request #42845 from ivanbrennan/nixos-sudo-describe-rules-precedence 2018-07-02 23:55:56 +00:00
services Merge pull request #43097 from peterhoeg/m/pipewire 2018-07-06 15:26:39 +08:00
system nixos/modules: users.(extraUsers|extraGroup->users|group) 2018-06-30 03:02:58 +02:00
tasks networking: Fix timeout when lo has aliased IPs 2018-07-06 15:38:52 -04:00
testing nixos/modules: users.(extraUsers|extraGroup->users|group) 2018-06-30 03:02:58 +02:00
virtualisation nixos/modules: users.(extraUsers|extraGroup->users|group) 2018-06-30 03:02:58 +02:00
module-list.nix Merge pull request #42775 from mkaito/oauth2_proxy-virtualHosts 2018-07-05 22:15:50 +03:00
rename.nix Merge pull request #42133 from markuskowa/pgbackup 2018-06-20 22:21:52 +01:00