{"object_kind":"push","event_name":"push","before":"e4f321c307b6d0d93faf881280977474ea5f96c3","after":"4deee49763a2c6d7f29030d4a156626e97d2e9f4","ref":"refs/heads/nm-1-54","ref_protected":false,"checkout_sha":"4deee49763a2c6d7f29030d4a156626e97d2e9f4","message":null,"user_id":1050,"user_name":"Beniamino Galvani","user_username":"bgalvani","user_email":"","user_avatar":"https://gitlab.freedesktop.org/uploads/-/system/user/avatar/1050/avatar.png","project_id":411,"project":{"id":411,"name":"NetworkManager","description":"NetworkManager — network management daemon","web_url":"https://gitlab.freedesktop.org/NetworkManager/NetworkManager","avatar_url":"https://gitlab.freedesktop.org/uploads/-/system/project/avatar/411/nm_logo.png","git_ssh_url":"git@ssh.gitlab.freedesktop.org:NetworkManager/NetworkManager.git","git_http_url":"https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git","namespace":"NetworkManager","visibility_level":20,"path_with_namespace":"NetworkManager/NetworkManager","default_branch":"main","ci_config_path":"","homepage":"https://gitlab.freedesktop.org/NetworkManager/NetworkManager","url":"git@ssh.gitlab.freedesktop.org:NetworkManager/NetworkManager.git","ssh_url":"git@ssh.gitlab.freedesktop.org:NetworkManager/NetworkManager.git","http_url":"https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git"},"commits":[{"id":"4deee49763a2c6d7f29030d4a156626e97d2e9f4","message":"core: accept hostnames longer than 64 characters from DNS lookup\n\nWhen resolving the system hostname from DNS lookup, we use\nnm_utils_validate_hostname() which checks that the result is a valid\nhostname. A valid hostname is at most 64 characters on Linux. Anything\nlonger is discarded.\n\nHowever, the reverse DNS lookup doesn't return a hostname, it returns\na DNS name. The DNS name can have multiple labels, each limited to 63\ncharacters. The maximum length of the DNS name is 253 characters.\n\nIf the result is longer than 64 characters because it has multiple\nlabels, we should still accept it, provided that it is a valid DNS\nname. Then when setting the hostname in the system, only the first\nlabel will be kept.\n\nhttps://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/2243\n\nResolves: https://issues.redhat.com/browse/RHEL-104357\n(cherry picked from commit b019883a9a001da856de9629c5d35ca4646b197c)\n","title":"core: accept hostnames longer than 64 characters from DNS lookup","timestamp":"2025-07-23T11:16:45+02:00","url":"https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/commit/4deee49763a2c6d7f29030d4a156626e97d2e9f4","author":{"name":"Beniamino Galvani","email":"bgalvani@redhat.com"},"added":[],"modified":["src/core/devices/nm-device.c"],"removed":[]}],"total_commits_count":1,"push_options":{},"repository":{"name":"NetworkManager","url":"git@ssh.gitlab.freedesktop.org:NetworkManager/NetworkManager.git","description":"NetworkManager — network management daemon","homepage":"https://gitlab.freedesktop.org/NetworkManager/NetworkManager","git_http_url":"https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git","git_ssh_url":"git@ssh.gitlab.freedesktop.org:NetworkManager/NetworkManager.git","visibility_level":20}}