Bug 2090946
| Summary: | Cannot remove static hostname | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 9 | Reporter: | Gris Ge <fge> | 
| Component: | NetworkManager | Assignee: | Thomas Haller <thaller> | 
| Status: | CLOSED ERRATA | QA Contact: | Matej Berezny <mberezny> | 
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 9.1 | CC: | acabral, bgalvani, lrintel, mberezny, rkhan, sukulkar, thaller, till, vbenes | 
| Target Milestone: | rc | Keywords: | Triaged | 
| Target Release: | --- | Flags: | pm-rhel:
                mirror+
                 | 
  
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | NetworkManager-1.39.10-1.el9 | Doc Type: | If docs needed, set a value | 
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-11-15 10:49:42 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: | |||
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (NetworkManager bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2022:8265  | 
Description of problem: Cannot remove static hostname via this command: sudo nmcli general hostname '' Version-Release number of selected component (if applicable): NetworkManager-1.39.5-1.el9.x86_64 How reproducible: 100% Steps to Reproduce: 1. sudo nmcli general hostname example.org 2. sudo nmcli general hostname '' 3. Actual results: Error: failed to set hostname: The hostname was too long or contained invalid characters Expected results: /etc/hostname been removed. Additional info: