nixpkgs-suyu/nixos/modules
Mitchell Pleune 927aaecbcb iodined service: wantedBy ip-up.target
When iodined tries to start before any interface other than loopback has an ip, iodined fails.
Wait for ip-up.target

The above is because of the following:
in iodined's code: src/common.c line 157
	the flag AI_ADDRCONFIG is passed as a flag to getaddrinfo.
	Iodine uses the function

		get_addr(char *host,
			int port,
			int addr_family,
			int flags,
			struct sockaddr_storage *out);

	to get address information via getaddrinfo().

	Within get_addr, the flag AI_ADDRCONFIG is forced.

	What this flag does, is cause getaddrinfo to return
	"Name or service not known" as an error explicitly if no ip
	has been assigned to the computer.
	see getaddrinfo(3)

Wait for an ip before starting iodined.
2016-03-22 23:40:49 -04:00
..
config services.xserver.startGnuPGAgent: remove obsolete NixOS option 2016-03-18 11:06:31 +01:00
hardware nvidia: allow using the beta driver, mainly in future 2016-03-07 23:33:17 +01:00
i18n/inputMethod fcitx: show available engines in module description 2016-02-28 07:12:55 -06:00
installer Revert "Add the tool "nixos-typecheck" that can check an option declaration to:" 2016-03-01 20:52:06 +01:00
misc radicale service: run with dedicated user 2016-03-20 15:50:14 +01:00
profiles Remove which -> type -P alias. 2016-03-03 16:15:25 +00:00
programs Remove which -> type -P alias. 2016-03-03 16:15:25 +00:00
security fix installer tests #13559 2016-03-12 20:19:40 +00:00
services iodined service: wantedBy ip-up.target 2016-03-22 23:40:49 -04:00
system sw-raid: make mdmon start from initrd 2016-03-09 21:03:49 +03:00
tasks Remove setting non-existent sysctl options 2016-03-15 17:44:30 +01:00
testing test-instrumentation.nix: Only clear $PAGER in the backdoor shell 2016-02-23 11:56:09 +01:00
virtualisation Combine OVA generation steps 2016-03-15 14:15:12 +01:00
module-list.nix mjpg-streamer service: init 2016-03-12 18:53:02 +03:00
rename.nix services.xserver.startGnuPGAgent: remove obsolete NixOS option 2016-03-18 11:06:31 +01:00