Project

General

Profile

Actions

Bug #23035

open

“DNS Settings” built-in technique doesn't work with systemd-resolved (notably Ubuntu 22.04 LTS)

Added by Michel BOUISSOU over 1 year ago. Updated 6 months ago.

Status:
New
Priority:
N/A
Assignee:
-
Category:
Techniques
Target version:
Severity:
Major - prevents use of part of Rudder | no simple workaround
UX impact:
User visibility:
Getting started - demo | first install | Technique editor and level 1 Techniques
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
No

Description

The “DNS Settings” built-in technique doesn't work for distros using systemd-resolved, which means a number of recent distros including Ubuntu 22.04 LTS.

root@lab_test_2_zgent7:/etc# lsb_release -d
Description: Ubuntu 22.04.2 LTS

When using systemd-resolved, resolv.conf is a symlink to a tmpfs file :

root@lab_test_2_zgent7:/etc# ll resolv.conf
lrwxrwxrwx 1 root root 39 Jun 16 02:07 resolv.conf -> ../run/systemd/resolve/stub-resolv.conf

This makes a directive based upon the “DNS Settings” built-in technique to fail.

With systemd-resolved, the DNS settings are supposed to be in
- /etc/systemd/resolved.conf
- /etc/systemd/resolved.conf.d/dns_servers.conf
etc.

It is also quite probable that the “DNS Settings” built-in technique wouldn't work properly along with other common DNS helper programs such as dsnmasq or resolvconf, that either manipulate the resolv.conf file or symlink it to virtual/temporary files under their own control.

The resolv.conf file is also frequently edited / modified by NetworkManager, common on RedHat like distros and default on many others.

Actions #1

Updated by Vincent MEMBRÉ over 1 year ago

  • Target version changed from 7.3.4 to 7.3.5
Actions #2

Updated by Alexis Mousset over 1 year ago

  • Target version changed from 7.3.5 to 7.3.6
Actions #3

Updated by Vincent MEMBRÉ over 1 year ago

  • Target version changed from 7.3.6 to 7.3.7
Actions #4

Updated by Vincent MEMBRÉ over 1 year ago

  • Target version changed from 7.3.7 to 7.3.8
Actions #5

Updated by Vincent MEMBRÉ about 1 year ago

  • Target version changed from 7.3.8 to 7.3.9
Actions #6

Updated by Vincent MEMBRÉ about 1 year ago

  • Target version changed from 7.3.9 to 7.3.10
Actions #7

Updated by Vincent MEMBRÉ about 1 year ago

  • Target version changed from 7.3.10 to 7.3.11
Actions #8

Updated by Vincent MEMBRÉ 11 months ago

  • Target version changed from 7.3.11 to 7.3.12
Actions #9

Updated by Vincent MEMBRÉ 10 months ago

  • Target version changed from 7.3.12 to 7.3.13
Actions #10

Updated by Vincent MEMBRÉ 10 months ago

  • Target version changed from 7.3.13 to 7.3.14
Actions #11

Updated by Vincent MEMBRÉ 8 months ago

  • Target version changed from 7.3.14 to 7.3.15
Actions #12

Updated by Vincent MEMBRÉ 7 months ago

  • Target version changed from 7.3.15 to 7.3.16
Actions #13

Updated by Vincent MEMBRÉ 6 months ago

  • Target version changed from 7.3.16 to 7.3.17
Actions

Also available in: Atom PDF