3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/nixos
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
..
doc/manual nixos/manpages: enable linebreaking after slashes 2016-03-19 17:16:59 +01:00
lib Combine ISO generation steps 2016-03-15 14:15:12 +01:00
maintainers virtualization/azure: update the scripts for image maintenance 2016-03-13 13:57:31 +02:00
modules iodined service: wantedBy ip-up.target 2016-03-22 23:40:49 -04:00
tests remove elrangR15 and riak 1.3.0 as they're outdated 2016-03-22 21:40:07 +00:00
COPYING
default.nix Revert "Add the tool "nixos-typecheck" that can check an option declaration to:" 2016-03-01 20:52:06 +01:00
README
release-combined.nix NixOS release: Don't depend on chromium 2016-03-15 16:06:09 +01:00
release-small.nix release-small.nix: Drop the grub1 test 2015-08-11 13:51:55 +02:00
release.nix Build most ISOs/OVAs for x86_64-linux only 2016-03-15 14:15:12 +01:00

*** NixOS ***

NixOS is a Linux distribution based on the purely functional package
management system Nix.  More information can be found at
http://nixos.org/nixos and in the manual in doc/manual.