Public bug reported:

[~] # cat /etc/systemd/resolved.conf
[Resolve]
DNS=8.8.8.8 8.8.4.4 2001:4860:4860::8888
Domains=
DNSStubListener=yes
ReadEtcHosts=yes

if my configs looks like this (above) I get the following error message
at startup

systemd-resolved[21573]: /etc/systemd/resolved.conf:5: Unknown lvalue
'ReadEtcHosts' in section 'Resolve'

my systemd-version is the following

systemd-resolve --version
systemd 237

[~] # lsb_release -rd
Description:    Ubuntu 18.04.5 LTS
Release:        18.04


[~] # apt-cache policy systemd
systemd:
  Installed: 237-3ubuntu10.45
  Candidate: 237-3ubuntu10.45
  Version table:
 *** 237-3ubuntu10.45 500

All updates of Ubuntu installed.

** Affects: systemd (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1921476

Title:
  systemd-resolved error while reading 'ReadEtcHosts' config option

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1921476/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to