[Bug 1921476] [NEW] systemd-resolved error while reading 'ReadEtcHosts' config option

Thorsten 1921476 at bugs.launchpad.net
Fri Mar 26 08:48:13 UTC 2021


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
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1921476

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

Status in systemd package in Ubuntu:
  New

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.

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



More information about the foundations-bugs mailing list