{"action":"created","issue":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/38072","repository_url":"https://api.github.com/repos/NixOS/nixpkgs","labels_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/38072/labels{/name}","comments_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/38072/comments","events_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/38072/events","html_url":"https://github.com/NixOS/nixpkgs/issues/38072","id":309892012,"number":38072,"title":"`host` fails on 18.03","user":{"login":"shosti","id":734316,"avatar_url":"https://avatars1.githubusercontent.com/u/734316?v=4","gravatar_id":"","url":"https://api.github.com/users/shosti","html_url":"https://github.com/shosti","followers_url":"https://api.github.com/users/shosti/followers","following_url":"https://api.github.com/users/shosti/following{/other_user}","gists_url":"https://api.github.com/users/shosti/gists{/gist_id}","starred_url":"https://api.github.com/users/shosti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shosti/subscriptions","organizations_url":"https://api.github.com/users/shosti/orgs","repos_url":"https://api.github.com/users/shosti/repos","events_url":"https://api.github.com/users/shosti/events{/privacy}","received_events_url":"https://api.github.com/users/shosti/received_events","type":"User","site_admin":false},"labels":[{"id":885133080,"url":"https://api.github.com/repos/NixOS/nixpkgs/labels/2.status:%20wait-for-upstream","name":"2.status: wait-for-upstream","color":"e6e6e6","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2018-03-29T20:26:04Z","updated_at":"2018-03-30T19:47:50Z","closed_at":null,"author_association":"NONE","body":"## Issue description\r\n\r\nSince upgrading to 18.03, I get the following error when I try to use the `host` command:\r\n\r\n```\r\nhost: parse of /etc/resolv.conf failed`\r\n```\r\n\r\nMy `/etc/resolv.conf` is as follows:\r\n\r\n```\r\n# Generated by resolvconf\r\nnameserver 192.168.1.1\r\nnameserver fe80::xxxx:xxff:feyy:yyyy%wlp4s0\r\noptions edns0\r\n```\r\n_EDITED by vcunat hide the mac address (xxxxxxyyyyyy)_\r\n\r\n`/etc/resolvconf.conf` is:\r\n\r\n```\r\n# This is the default, but we must set it here to prevent\r\n# a collision with an apparently unrelated environment\r\n# variable with the same name exported by dhcpcd.\r\ninterface_order='lo lo[0-9]*'\r\n# Invalidate the nscd cache whenever resolv.conf is\r\n# regenerated.\r\nlibc_restart='/nix/store/46nrl6ycwc140iqjrmk09wbnanj59nh5-systemd-238/bin/systemctl try-restart --no-block nscd.service 2> /dev/null'\r\n# Options as described in resolv.conf(5)\r\nresolv_conf_options='edns0'\r\n```\r\n\r\nRelevant lines from my configuration.nix:\r\n\r\n```\r\n  networking.networkmanager.enable = true;\r\n  networking.enableIPv6 = false;\r\n```\r\n(The issue is the same with `networking.enableIPv6` set to `false`.) My full configuration is [here](https://github.com/shosti/nixos-config/blob/master/configuration.nix).\r\n\r\n### Steps to reproduce\r\n\r\n`host -t a google.com`\r\n\r\n## Technical details\r\n\r\n - system: `\"x86_64-linux\"`\r\n - host os: `Linux 4.14.29, NixOS, 18.03pre131587.b6ddb9913f2 (Impala)`\r\n - multi-user?: `yes`\r\n - sandbox: `no`\r\n - version: `nix-env (Nix) 2.0`\r\n - channels(shosti): `\"\"`\r\n - channels(root): `\"nixos-18.03pre131587.b6ddb9913f2\"`\r\n - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs`"},"comment":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/comments/377606905","html_url":"https://github.com/NixOS/nixpkgs/issues/38072#issuecomment-377606905","issue_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/38072","id":377606905,"user":{"login":"vcunat","id":1785925,"avatar_url":"https://avatars2.githubusercontent.com/u/1785925?v=4","gravatar_id":"","url":"https://api.github.com/users/vcunat","html_url":"https://github.com/vcunat","followers_url":"https://api.github.com/users/vcunat/followers","following_url":"https://api.github.com/users/vcunat/following{/other_user}","gists_url":"https://api.github.com/users/vcunat/gists{/gist_id}","starred_url":"https://api.github.com/users/vcunat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vcunat/subscriptions","organizations_url":"https://api.github.com/users/vcunat/orgs","repos_url":"https://api.github.com/users/vcunat/repos","events_url":"https://api.github.com/users/vcunat/events{/privacy}","received_events_url":"https://api.github.com/users/vcunat/received_events","type":"User","site_admin":false},"created_at":"2018-03-30T19:47:50Z","updated_at":"2018-03-30T19:47:50Z","author_association":"MEMBER","body":"Created the label.  We can easily delete/change it later in case there's such consensus."}}
{"actor":{"display_login":"vcunat"}}