It is not uncommon for systems to have a generic default hostname such as "localhost.localdomain" (Fedora, RHEL, CentOS, etc.) If a user has not explicitly chosen their hostname before running realmd, the following should happen: * realmd should offer a command-line flag (and D-BUS option) to set the hostname explicitly during enrollment * If no hostname is provided and the machine's current name matches a whitelist of known default names, realmd should either refuse to enroll or else generate a unique default hostname (including the domain name being joined). Note that there is an open RFE with systemd for generating repeatable unique strings from the machine-id for this purpose: https://github.com/systemd/systemd/issues/4667
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/realmd/realmd/issues/12.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.