[Nix-dev] multi-user.target must not be After network.target

2015-06-30 Thread Luca Bruno
The multi-user.target must be kept slim, network should not be a prerequisite. I find my server system to have systemctl show multi-user.target|grep After: After=nix-daemon.socket basic.target rescue.service rescue.target swap.target nss-user-lookup.target nss-lookup.target network.target

Re: [Nix-dev] multi-user.target must not be After network.target

2015-06-30 Thread Eelco Dolstra
Hi, On 30/06/15 18:02, Luca Bruno wrote: The multi-user.target must be kept slim, network should not be a prerequisite. +1 on removing. This dependency was apparently added without much thought here: https://github.com/NixOS/nixpkgs/commit/d18c2afc6fa6076274aa8334f8b58e1f4e1cdc8a -- Eelco

Re: [Nix-dev] multi-user.target must not be After network.target

2015-06-30 Thread Mathijs Kwik
I agree. But please note that network.target doesn't do much and probably cannot fail. It basically _starts_ networking, but does not wait for anything to come up. Either a static ip address for an interface or _starting_ dhcpcd (without waiting for it to acquire a lease or whatever) is enough to