[Bug 1976133] [NEW] resolvectl omits domains when mixing search and route params
IRNPS
1976133 at bugs.launchpad.net
Fri May 27 23:16:25 UTC 2022
Public bug reported:
Distributor ID: Ubuntu
Description: Ubuntu 20.04.4 LTS
Release: 20.04
Codename: focal
systemd 245 (245.4-4ubuntu3.16)
+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN2 -IDN +PCRE2 default-hierarchy=hybrid
When I execute:
sudo resolvectl domain neth0 ~example.com example.com
I expect:
Link 17 (neth0): ~example.com example.com
As per man:
"domain [LINK [DOMAIN...]] - The domain command expects valid DNS domains, possibly prefixed with "~", and configures a per-interface search or route-only domain."
What I get instead is:
sudo resolvectl domain neth0 ~example.com example.com
/etc/resolv.conf -> /run/systemd/resolve/stub-resolv.conf
contains search example.com
resolvectl domain neth0
Link 17 (neth0): example.com
And:
sudo resolvectl domain neth0 example.com ~example.com
/etc/resolv.conf -> /run/systemd/resolve/stub-resolv.conf
contains no search line
resolvectl domain neth0
Link 17 (neth0): ~example.com
** Affects: systemd (Ubuntu)
Importance: Undecided
Status: New
** Summary changed:
- resolvectl truncates domains when mixing search and route params
+ resolvectl omits domains when mixing search and route params
--
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/1976133
Title:
resolvectl omits domains when mixing search and route params
Status in systemd package in Ubuntu:
New
Bug description:
Distributor ID: Ubuntu
Description: Ubuntu 20.04.4 LTS
Release: 20.04
Codename: focal
systemd 245 (245.4-4ubuntu3.16)
+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN2 -IDN +PCRE2 default-hierarchy=hybrid
When I execute:
sudo resolvectl domain neth0 ~example.com example.com
I expect:
Link 17 (neth0): ~example.com example.com
As per man:
"domain [LINK [DOMAIN...]] - The domain command expects valid DNS domains, possibly prefixed with "~", and configures a per-interface search or route-only domain."
What I get instead is:
sudo resolvectl domain neth0 ~example.com example.com
/etc/resolv.conf -> /run/systemd/resolve/stub-resolv.conf
contains search example.com
resolvectl domain neth0
Link 17 (neth0): example.com
And:
sudo resolvectl domain neth0 example.com ~example.com
/etc/resolv.conf -> /run/systemd/resolve/stub-resolv.conf
contains no search line
resolvectl domain neth0
Link 17 (neth0): ~example.com
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1976133/+subscriptions
More information about the foundations-bugs
mailing list