{"action":"created","issue":{"url":"https://api.github.com/repos/systemd/systemd/issues/6825","repository_url":"https://api.github.com/repos/systemd/systemd","labels_url":"https://api.github.com/repos/systemd/systemd/issues/6825/labels{/name}","comments_url":"https://api.github.com/repos/systemd/systemd/issues/6825/comments","events_url":"https://api.github.com/repos/systemd/systemd/issues/6825/events","html_url":"https://github.com/systemd/systemd/issues/6825","id":257747196,"number":6825,"title":"DNS settings applied even on a non-first match (Match=*)","user":{"login":"gintautassulskus","id":18736551,"avatar_url":"https://avatars1.githubusercontent.com/u/18736551?v=4","gravatar_id":"","url":"https://api.github.com/users/gintautassulskus","html_url":"https://github.com/gintautassulskus","followers_url":"https://api.github.com/users/gintautassulskus/followers","following_url":"https://api.github.com/users/gintautassulskus/following{/other_user}","gists_url":"https://api.github.com/users/gintautassulskus/gists{/gist_id}","starred_url":"https://api.github.com/users/gintautassulskus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gintautassulskus/subscriptions","organizations_url":"https://api.github.com/users/gintautassulskus/orgs","repos_url":"https://api.github.com/users/gintautassulskus/repos","events_url":"https://api.github.com/users/gintautassulskus/events{/privacy}","received_events_url":"https://api.github.com/users/gintautassulskus/received_events","type":"User","site_admin":false},"labels":[{"id":262810884,"url":"https://api.github.com/repos/systemd/systemd/labels/not-a-bug","name":"not-a-bug","color":"000000","default":false},{"id":219550421,"url":"https://api.github.com/repos/systemd/systemd/labels/resolve","name":"resolve","color":"d4c5f9","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-09-14T14:47:52Z","updated_at":"2017-09-14T15:11:05Z","closed_at":"2017-09-14T14:57:49Z","author_association":"NONE","body":"### Submission type\r\n\r\n<!-- Delete the inappropriate option below: -->\r\n\r\n - Bug report\r\n\r\n### systemd version the issue has been seen with\r\n\r\nsystemd 233\r\n+PAM +AUDIT +SELINUX +IMA -APPARMOR +SMACK -SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT -GNUTLS -ACL +XZ +LZ4 +SECCOMP +BLKID -ELFUTILS +KMOD -IDN default-hierarchy=legacy\r\n\r\n### Used distribution\r\n\r\nCoreOS 1465.7.0\r\n\r\n### In case of bug report: Unexpected behaviour you saw\r\n\r\nConsider three configuration files under /etc/systemctl/networkd\r\n\r\n10-eth0.network\r\n```\r\n[Match]\r\nName=eth0\r\n[Network]\r\nAddress=x.x.x.x/y\r\n```\r\n\r\n10-eth1.network\r\n```\r\n[Match]\r\nName=eth1\r\n[Network]\r\nAddress=k.k.k.k/z\r\n```\r\n\r\n80-initial.network\r\n```\r\n[Match]\r\nName=*\r\n[Network]\r\nDNS=8.8.8.8\r\nDNS=8.8.4.4\r\n```\r\n\r\nNetworkd does the following:\r\n1. eth0 IP address  (10-eth0.network)\r\n2. eth1 IP addresses  (10-eth1.network)\r\n3. **Unexpected**: sets the DNS servers; they appear in /etc/resolv.conf (80-initial.network) \r\n\r\n### In case of bug report: Steps to reproduce the problem\r\n\r\nI expected networkd to skip processing 80-initial.network.\r\nThe [docummentation](https://www.freedesktop.org/software/systemd/man/systemd.network.html) says \"The first (in lexical order) of the network files that matches a given device is applied, all later files are ignored, even if they match as well\".\r\n\r\n> …\r\n"},"comment":{"url":"https://api.github.com/repos/systemd/systemd/issues/comments/329513254","html_url":"https://github.com/systemd/systemd/issues/6825#issuecomment-329513254","issue_url":"https://api.github.com/repos/systemd/systemd/issues/6825","id":329513254,"user":{"login":"gintautassulskus","id":18736551,"avatar_url":"https://avatars1.githubusercontent.com/u/18736551?v=4","gravatar_id":"","url":"https://api.github.com/users/gintautassulskus","html_url":"https://github.com/gintautassulskus","followers_url":"https://api.github.com/users/gintautassulskus/followers","following_url":"https://api.github.com/users/gintautassulskus/following{/other_user}","gists_url":"https://api.github.com/users/gintautassulskus/gists{/gist_id}","starred_url":"https://api.github.com/users/gintautassulskus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gintautassulskus/subscriptions","organizations_url":"https://api.github.com/users/gintautassulskus/orgs","repos_url":"https://api.github.com/users/gintautassulskus/repos","events_url":"https://api.github.com/users/gintautassulskus/events{/privacy}","received_events_url":"https://api.github.com/users/gintautassulskus/received_events","type":"User","site_admin":false},"created_at":"2017-09-14T15:11:05Z","updated_at":"2017-09-14T15:11:05Z","author_association":"NONE","body":"No, that is not the case. Same if I set DNS=1.2.3.4.\r\nThis issue applies only to the DNS setting. If I add routing or Address options to \"80-initial.network\" those are ignored."}}
{"actor":{"display_login":"gintautassulskus"}}