mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-15 13:37:21 +03:00
927aaecbcb
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. |
||
---|---|---|
.. | ||
doc/manual | ||
lib | ||
maintainers | ||
modules | ||
tests | ||
COPYING | ||
default.nix | ||
README | ||
release-combined.nix | ||
release-small.nix | ||
release.nix |
*** 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.