Bug 1777873
Summary: | libvirt_guest NSS module should also map lowercase VM name | ||
---|---|---|---|
Product: | [Community] Virtualization Tools | Reporter: | Pieter Hollants <pieter> |
Component: | libvirt | Assignee: | Michal Privoznik <mprivozn> |
Status: | CLOSED NEXTRELEASE | QA Contact: | |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | unspecified | CC: | drjones, libvirt-maint, mprivozn |
Target Milestone: | --- | Keywords: | Upstream |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | libvirt-8.4.0 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2022-05-27 12:44:50 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Pieter Hollants
2019-11-28 14:43:56 UTC
Patch posted on the list: https://listman.redhat.com/archives/libvir-list/2022-May/231871.html Merged as: commit 7f463b4c0d9c7f07c335b44fc47432414222f209 Author: Michal Prívozník <mprivozn> AuthorDate: Fri May 27 09:00:59 2022 +0200 Commit: Michal Prívozník <mprivozn> CommitDate: Fri May 27 13:43:14 2022 +0200 nss: Compare hostname case insensitive There are some tools that convert hostname to lowercase before resolving it (e.g. ssh). In a way it makes sense because DNS is case insensitive and in case of ssh the lowercase version is then used to find matching record in its config file. However, our NSS module performs case sensitive comparison, which makes it useless with ssh. Just consider a machine named FooBar. Therefore, switch to case insensitive string comparison. Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1777873 Signed-off-by: Michal Privoznik <mprivozn> Reviewed-by: Martin Kletzander <mkletzan> v8.4.0-rc1-11-g7f463b4c0d |