Activity log for bug #1832672

Date Who What changed Old value New value Message
2019-06-13 06:14:37 Bruno bug added bug
2019-06-13 06:17:20 Bruno summary systemd-resolve not ignoring comments /etc/hosts systemd-resolve not ignoring comments in /etc/hosts
2019-06-18 11:48:38 Dan Streetman bug added subscriber Dan Streetman
2019-09-27 19:32:20 Dan Streetman nominated for series Ubuntu Bionic
2019-09-27 19:32:20 Dan Streetman bug task added systemd (Ubuntu Bionic)
2019-09-27 19:32:28 Dan Streetman systemd (Ubuntu): status New Fix Released
2019-09-27 19:32:30 Dan Streetman systemd (Ubuntu Bionic): assignee Dan Streetman (ddstreet)
2019-09-27 19:32:33 Dan Streetman systemd (Ubuntu Bionic): importance Undecided Medium
2019-09-27 19:32:35 Dan Streetman systemd (Ubuntu Bionic): status New In Progress
2019-09-27 19:33:09 Dan Streetman bug watch added https://github.com/systemd/systemd/issues/10779
2019-09-27 19:33:09 Dan Streetman bug task added systemd
2019-09-27 19:34:35 Dan Streetman tags hosts systemd-resolve hosts next-ddstreet systemd systemd-resolve
2019-10-02 13:11:00 Dan Streetman tags hosts next-ddstreet systemd systemd-resolve bionic ddstreet hosts systemd systemd-resolve
2019-10-18 21:46:57 Dan Streetman description $ lsb_release -rd Description: Ubuntu 18.04.2 LTS Release: 18.04 $ LANG=C apt-cache policy systemd systemd: Installed: 237-3ubuntu10.22 Candidate: 237-3ubuntu10.22 Version table: *** 237-3ubuntu10.22 500 500 http://ch.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages 100 /var/lib/dpkg/status 237-3ubuntu10.19 500 500 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages 237-3ubuntu10 500 500 http://ch.archive.ubuntu.com/ubuntu bionic/main amd64 Packages 500 http://mirrors.kernel.org/ubuntu bionic/main amd64 Packages $ head -1 /etc/hosts 127.0.2.1 foo # bar $ /usr/bin/systemd-resolve -4 bar expected ---------- bar: resolve call failed: 'bar' not found What happened instead --------------------- bar: 127.0.2.1 HOSTS(5) > Text from a "#" character until the end of the line is a comment, and is ignored. This is fixed in upstream: https://github.com/systemd/systemd/issues/10779 https://github.com/systemd/systemd/commit/bd0052777981044cf54a1e9d6e3acb1c3d813656 Please backport to current LTS version. I accidentally connected to wrong systems because of this bug. [impact] resolved does not ignore comments properly in /etc/hosts [test case] see original description below [regression potential] as this modifies resolved parsing of /etc/hosts, regressions would likely be in hostname lookups from hosts in /etc/hosts, or failure(s) to parse /etc/hosts correctly. [other info] original description: --- $ lsb_release -rd Description: Ubuntu 18.04.2 LTS Release: 18.04 $ LANG=C apt-cache policy systemd systemd:   Installed: 237-3ubuntu10.22   Candidate: 237-3ubuntu10.22   Version table:  *** 237-3ubuntu10.22 500         500 http://ch.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages         100 /var/lib/dpkg/status      237-3ubuntu10.19 500         500 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages      237-3ubuntu10 500         500 http://ch.archive.ubuntu.com/ubuntu bionic/main amd64 Packages         500 http://mirrors.kernel.org/ubuntu bionic/main amd64 Packages $ head -1 /etc/hosts 127.0.2.1 foo # bar $ /usr/bin/systemd-resolve -4 bar expected ---------- bar: resolve call failed: 'bar' not found What happened instead --------------------- bar: 127.0.2.1 HOSTS(5) > Text from a "#" character until the end of the line is a comment, and is ignored. This is fixed in upstream: https://github.com/systemd/systemd/issues/10779 https://github.com/systemd/systemd/commit/bd0052777981044cf54a1e9d6e3acb1c3d813656 Please backport to current LTS version. I accidentally connected to wrong systems because of this bug.
2019-11-14 15:00:42 Łukasz Zemczak systemd (Ubuntu Bionic): status In Progress Fix Committed
2019-11-14 15:00:44 Łukasz Zemczak bug added subscriber Ubuntu Stable Release Updates Team
2019-11-14 15:00:46 Łukasz Zemczak bug added subscriber SRU Verification
2019-11-14 15:00:50 Łukasz Zemczak tags bionic ddstreet hosts systemd systemd-resolve bionic ddstreet hosts systemd systemd-resolve verification-needed verification-needed-bionic
2019-11-15 15:38:53 Dan Streetman tags bionic ddstreet hosts systemd systemd-resolve verification-needed verification-needed-bionic bionic ddstreet hosts systemd systemd-resolve verification-done verification-done-bionic
2019-11-15 16:41:36 Steve Langasek tags bionic ddstreet hosts systemd systemd-resolve verification-done verification-done-bionic bionic ddstreet hosts systemd systemd-resolve verification-needed verification-needed-bionic
2019-11-20 06:52:14 Dan Streetman tags bionic ddstreet hosts systemd systemd-resolve verification-needed verification-needed-bionic bionic ddstreet hosts systemd systemd-resolve verification-done verification-done-bionic
2019-11-26 17:37:57 Launchpad Janitor systemd (Ubuntu Bionic): status Fix Committed Fix Released
2019-11-26 17:38:31 Steve Langasek removed subscriber Ubuntu Stable Release Updates Team