systemd-resolved error while reading 'ReadEtcHosts' config option

Bug #1921476 reported by Thorsten

This bug report was converted into a question: question #696259: systemd-resolved error while reading 'ReadEtcHosts' config option.

6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
systemd (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

[~] # 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.

Revision history for this message
Thorsten (thomic) wrote :

I guess this config option is not available in 18.04. can be closed.

Changed in systemd (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.